• Kassio Borges's avatar
    Fix `rails db:*` when the database does not exist · 5a007a8a
    Kassio Borges authored
    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.
    5a007a8a
console_message.rb 706 Bytes