mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-02-17 04:01:29 -05:00
Oopps. Regis doesn't know how to count
This commit is contained in:
parent
abe4a19824
commit
42d9b0ca46
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue