mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 23:36:11 +08:00
Oopps. Regis doesn't know how to count
This commit is contained in:
@ -73,7 +73,7 @@ unless Rails.env == "profile"
|
|||||||
end
|
end
|
||||||
|
|
||||||
# by default, Discourse has a "system" account
|
# by default, Discourse has a "system" account
|
||||||
if User.count > 0
|
if User.count > 1
|
||||||
puts "Only run this script against an empty DB"
|
puts "Only run this script against an empty DB"
|
||||||
exit
|
exit
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user