mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-29 00:10:12 +08:00
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
This commit is contained in:
parent
580c28dedd
commit
42f56c5601
@ -56,7 +56,9 @@ alias rsb='rails server --bind'
|
|||||||
|
|
||||||
# Rake aliases
|
# Rake aliases
|
||||||
alias rdm='rake db:migrate'
|
alias rdm='rake db:migrate'
|
||||||
|
alias rdmd='rake db:migrate:down'
|
||||||
alias rdms='rake db:migrate:status'
|
alias rdms='rake db:migrate:status'
|
||||||
|
alias rdmu='rake db:migrate:up'
|
||||||
alias rdr='rake db:rollback'
|
alias rdr='rake db:rollback'
|
||||||
alias rdc='rake db:create'
|
alias rdc='rake db:create'
|
||||||
alias rds='rake db:seed'
|
alias rds='rake db:seed'
|
||||||
|
Loading…
Reference in New Issue
Block a user