Description
I've been playing around for most of the morning with db-migrate and getting myself familiar with the ins and outs. One thing I have noticed is that the db:create command doesn't seem to work as I would have expected it.
For example in my database.json
I have configuration for a test database and a dev database. Now, when I run the db-migrate db:create myapptest
I would expect to see that it creates a database to run my tests against. instead I get the following error:
[ERROR] Error: ER_BAD_DB_ERROR: Unknown database 'myapptest'
the whole reason for running the db:create
command is because that database doesn't exist and I want to create it.
Yet if I create the database and then run the command passing a a random name it will happily create any database I want. It will also claim that I have created the same database multiple times even when it has in fact created it once.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.