jets db:generate


jets db:generate


Creates a migration to change a db table.

Generates migration in db/migrate


jets db:generate create_articles title:string user_id:integer
jets db:generate AddTitleBodyToPost title:string body:text published:boolean

This task delegates to Rails rails generate migration. For more examples, refer to the Active Record Migrations Rails Guide.

Edit this page

See a typo or an error? You can improve this page. This website is available on GitHub, and contributions are encouraged and welcomed. We love pull requests from you!