Merge pull request #4518 from betagouv/4482-echec-initilaisation-env-dev
Fixes missing database on initialization: closes #4482.
This commit is contained in:
commit
1083a756c9
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