Skip to content

Commit

Permalink
fix seeding
Browse files Browse the repository at this point in the history
commit 31241cd37 (PR ManageIQ/manageiq#14207 )
no longer seeds the remaining data.

swapped the if to seed it by default
(transferred from ManageIQ/manageiq@37c433d)
  • Loading branch information
kbrock committed Mar 16, 2017
1 parent 4617b69 commit b11d32c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/evm_database.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def self.seed_primordial
end

def self.seed_last
if ENV['SKIP_SEEDING'] && MiqDatabase.count > 0
unless ENV['SKIP_SEEDING'] && MiqDatabase.count > 0
seed(seedable_model_class_names - PRIMORDIAL_CLASSES)
end
end
Expand Down

0 comments on commit b11d32c

Please sign in to comment.