Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
f7fc1643
Commit
f7fc1643
authored
Dec 05, 2012
by
Timothy Andrew
Browse files
Added a `migrate` alias.
It migrates the DB and prepares the test DB.
parent
178bce28
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/rails/rails.plugin.zsh
View file @
f7fc1643
...
@@ -6,6 +6,7 @@ alias sr='ruby script/runner'
...
@@ -6,6 +6,7 @@ alias sr='ruby script/runner'
alias
ssp
=
'ruby script/spec'
alias
ssp
=
'ruby script/spec'
alias
rdbm
=
'rake db:migrate'
alias
rdbm
=
'rake db:migrate'
alias
rdbtp
=
'rake db:test:prepare'
alias
rdbtp
=
'rake db:test:prepare'
alias
migrate
=
'rake db:migrate && rake db:test:prepare'
alias
sc
=
'ruby script/console'
alias
sc
=
'ruby script/console'
alias
sd
=
'ruby script/server --debugger'
alias
sd
=
'ruby script/server --debugger'
alias
devlog
=
'tail -f log/development.log'
alias
devlog
=
'tail -f log/development.log'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment