Fixes missing database on initialization: closes #4482.
This commit is contained in:
parent
40af20b733
commit
d9680252b0
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ features = [
|
|||
def database_exists?
|
||||
ActiveRecord::Base.connection
|
||||
true
|
||||
rescue ActiveRecord::NoDatabaseError
|
||||
rescue ActiveRecord::NoDatabaseError, PG::ConnectionBad
|
||||
false
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue