From f52169f619e89931e6595c165af26d07f2d58ba2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Hal=C3=A1sz?= Date: Thu, 19 Dec 2024 16:45:47 +0100 Subject: [PATCH] dev(seeds): adjust table name for inventory in development for seeding --- test/factories/host.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/factories/host.rb b/test/factories/host.rb index 375d4c19f..f533e98b9 100644 --- a/test/factories/host.rb +++ b/test/factories/host.rb @@ -18,7 +18,7 @@ class WHost < Host if Rails.env.test? self.table_name = 'inventory.hosts_v1_1' elsif Rails.env.development? - self.table_name = 'hosts' + self.table_name = 'hbi.hosts' establish_connection( Rails.configuration.database_configuration[Rails.env].merge(