From 42d9b0ca46be30a35961966361a8d658d98aea7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Mon, 30 Sep 2013 15:12:46 +0200 Subject: [PATCH] Oopps. Regis doesn't know how to count --- script/profile_db_generator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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