Fix `rails db:*` when the database does not exist
Currently tasks like `rails db:drop && rails db:create` fails due to the console message that tries to show the database version and since the database was just dropped it fails. This fix just verify if the database exists before printing messages that depends on the database.
Showing
Please register or sign in to comment