Skip to content

arvindkumarc/dynamodb-migrate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dynamodb-migrate

Migration framework for dynamodb

Setup

Assign AWS_DYNAMODB_ENDPOINT with DynamoDB url. For local, set http://localhost:8000

Test

  • start running local dynamo-db
  • npm test

Usage

  • Create dynamo-migrations folder in project root.
  • place the migrations prefixed by numbers, or any other identifier for it to be lined up properly, you can use timestamps like in a rails project.
var dynmigrate = require('dynamodb-migrate');
dynmigrate.migrate();

About

Migration framework for dynamodb

Resources

License

Stars

Watchers

Forks

Packages

No packages published