Skip to content

Commit

Permalink
dev(seeds): adjust table name for inventory in development for seeding
Browse files Browse the repository at this point in the history
  • Loading branch information
skateman authored and RoamingNoMaD committed Dec 30, 2024
1 parent cadb689 commit f52169f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/factories/host.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit f52169f

Please sign in to comment.