Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 490 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 490 Bytes

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();