A Node.js DynamoDB migration tool (v2.2.5) that tracks applied migrations in a DynamoDB table and supports directory-based or function-based migrations, retry logic via the tri module, and a CLI for generating migration files. Extended from the original dynograte package, it offers retry configurations and automatic retry on failure. Release cadence is sporadic; last update 2019. Differentiators include lightweight design and DynamoDB-native tracking.
npm install dynograte-v2No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to run migrations from a directory using Dynograte-V2.
Use dynograte-v2 with updated import paths and method signatures.
Consider implementing custom retry logic or switch to another migration tool.
Ensure each migration file has exports.up = (dynamodb) => { ... };Run: npm install dynograte-v2
Use default import: import dynograte from 'dynograte-v2'
Export retry as true or an object: exports.retry = { maxAttempts: 3 };