Skip to content

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

Description

@yangzhichina

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions