Database DynamoDB

Jets supports DynamoDB via Dynomite.

Migrations

Here’s an example of creating migrations:

jets dynamodb:generate create_posts # generates migration
jets dynamodb:migrate dynamodb/migrate/20171112194549-create_posts_migration.rb # run migration. replace with your timestamp

If you are using DynamoDB it can be useful to use DynamoDB Local, just like you would use a local SQL server. It’s simply a jar file you download and run. Here’s a DynamoDB Local Setup Walkthrough that takes about 5 minutes.

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!