diff --git a/script/profile_db_generator.rb b/script/profile_db_generator.rb index 14bbe63a266..19718f35ff4 100644 --- a/script/profile_db_generator.rb +++ b/script/profile_db_generator.rb @@ -73,7 +73,7 @@ unless Rails.env == "profile" end # by default, Discourse has a "system" account -if User.count > 0 +if User.count > 1 puts "Only run this script against an empty DB" exit end