-
-
Notifications
You must be signed in to change notification settings - Fork 167
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
Consider Add ability to pass args to command warden db connect and import #22
Comments
I'm not sure exactly when this was addressed TBH, but it was at some point as it is possible with Warden 0.5.3 to pass arguments to db sub-commands:
|
…ss arguments to 'db import' Related to #22 Example usage: $ warden db connect -e 'select * from theme' --skip-column-names -A OR $ warden db import -A --init-command="SET SESSION FOREIGN_KEY_CHECKS=0;"
Actually my bad, this hadn't been implemented, just partially so (you could pass args to db connect, but you could not pass them to db import and you certainly could not override the db name). It has been addressed in a556fd7. All of the following scenarios function:
|
Since we added the ability to have split databases or have multiple ones on the same project for various reason, would be useful to pass the service name to the
import/connect
command in order to select the destination databaseThe text was updated successfully, but these errors were encountered: