Skip to content

Commit

Permalink
Added migation to generator command list
Browse files Browse the repository at this point in the history
  • Loading branch information
mde committed Jul 9, 2013
1 parent f3070da commit b75cecc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/guide/CLI.md
Expand Up @@ -64,6 +64,7 @@ scaffolds, or bare models and controllers.
- `gen controller <name>`: Generate a new controller including an index view and and a route
- `gen model <name> [attrs]`: Generate a new model
- `gen auth[:update]`: Creates user authentication for you, using Passport.
- `gen migration <name>`: Generate an empty migration for SQL databases

For all of these commands, `[attrs]` is a list of attributes for the model, in
the format of 'name:datatype' (e.g., foo:int).
Expand Down
1 change: 1 addition & 0 deletions usage.txt
Expand Up @@ -61,6 +61,7 @@
and and a route
gen model <name> [attrs] Generate a new model
gen auth[:update] Creates user authentication for you, using Passport.
gen migration <name> Generate an empty migration file for SQL databases

Generator options:
--trace, -t Output detailed error information for failures
Expand Down

0 comments on commit b75cecc

Please sign in to comment.