Skip to content
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

How can I append options to "rake db:migrate"? #464

Closed
yangzhichina opened this issue Oct 20, 2016 · 1 comment
Closed

How can I append options to "rake db:migrate"? #464

yangzhichina opened this issue Oct 20, 2016 · 1 comment

Comments

@yangzhichina
Copy link

Hi, Guys,

I was deploying a project to my server with Mina, but it failed to migrate DB. The output on screen told me to add --trace to check what was going on. After checking the source code, I was not able to know how to add an option such as --trace to rake db:migrate (the final command will be rake db:migrate --trace).

Should I add a new var via set, then append the new var to #{echo_cmd("#{fetch(:rake)} db:migrate")}}, or write a new task in my own config/deploy.rb?

Thanks.

@yangzhichina
Copy link
Author

Sorry, I found there is a doc for my question. Write your own task

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant