| | 149 | === Options === |
| | 150 | |
| | 151 | * `--model`: Generates a creation migration for the given `modelname`. Can be used more than once. |
| | 152 | * `--add-field`: Generates an add-column migration for `modelname.field`. |
| | 153 | * `--add-index`: Generates an add-index migration for `modelname.field`. |
| | 154 | * `--initial`: Like having --model for every model in your app. You should use this for your first migration. |
| | 155 | * `--auto`: Generates a migration with automatically-detected actions. Relies on having a previous migration with history information attached. |
| | 156 | * `--freeze`: Use `appname` or `appname.modelname` to freeze additional models into the app. |
| | 157 | * `--stdout`: Writes the migration to stdout instead of a file. |