-
-
Notifications
You must be signed in to change notification settings - Fork 359
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add init optionality #339
Labels
Comments
This was referenced Jan 17, 2016
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Current behavior
If db-migrate tries to connect to a database that does not yet exists it is going to throw an error. The user needs to create the database with fitting permissions first.
Proposed solution
Add a command line option
--init
which tells db-migrate to first check if the database exists and then tries to execute a database execution. This tasks has items listed below.Affected drivers
All: New method
showDatabases
is neededItems:
API extensions
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: