Database ActiveRecord

Jets also supports ActiveRecord and currently the PostgreSQL and MySQL. This is configured with your Gemfile and config/database.yml.

Migrations

Here’s an example of creating migrations:

jets db:generate create_posts # generates migration
jets db:migrate

Both can DynamoDB and ActiveRecord can coexist in the same application.

Pro tip: Use the <- and -> arrow keys to move back and forward.

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!