未验证 提交 42f56c56 编写于 作者: D Dzianis Dashkevich 提交者: GitHub

feat(rails): Add `rdmd` and `rdmu` aliases to Rails plugin (#6126)

* `rdmd` is aliased to `rake db:migrate:down`
* `rdmu` is aliased to `rake db:migrate:up`
* These tasks allow you to run a specific migration up or down by
specifying the appropriate `VERSION` env variable, which contains
the numerical prefix of the migration's filename
上级 580c28de
......@@ -56,7 +56,9 @@ alias rsb='rails server --bind'
# Rake aliases
alias rdm='rake db:migrate'
alias rdmd='rake db:migrate:down'
alias rdms='rake db:migrate:status'
alias rdmu='rake db:migrate:up'
alias rdr='rake db:rollback'
alias rdc='rake db:create'
alias rds='rake db:seed'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册