Permalink
Browse files

Added migation to generator command list

  • Loading branch information...
1 parent f3070da commit b75cecc5e2bc054063397626adc8cce5e3bd63c4 @mde mde committed Jul 9, 2013
Showing with 2 additions and 0 deletions.
  1. +1 −0 docs/guide/CLI.md
  2. +1 −0 usage.txt
View
@@ -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).
View
@@ -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

0 comments on commit b75cecc

Please sign in to comment.