dynamodb-migrations-tool
Advanced tools
Comparing version
import { DocumentClient } from 'aws-sdk/clients/dynamodb'; | ||
import * as Umzug from 'umzug'; | ||
export declare type Migrator = Umzug.Umzug; | ||
interface MigratorOptions { | ||
@@ -13,7 +14,7 @@ dynamodb?: DocumentClient; | ||
*/ | ||
export declare function migratorFactory({ dynamodb, migrationTable }?: MigratorOptions): Umzug.Umzug; | ||
export declare function migratorFactory({ dynamodb, migrationTable }?: MigratorOptions): Migrator; | ||
/** | ||
* Migrator instance with options by default. | ||
*/ | ||
export declare const defaultMigrator: Umzug.Umzug; | ||
export declare const defaultMigrator: Migrator; | ||
export {}; |
{ | ||
"name": "dynamodb-migrations-tool", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -1,4 +0,3 @@ | ||
# dynamodb-migrations-tool [](https://travis-ci.org/floydspace/dynamodb-migrations-tool) [](https://coveralls.io/github/floydspace/dynamodb-migrations-tool?branch=master) [](https://badge.fury.io/js/%40floydspace%2Fdynamodb-migrations-tool) [](https://www.npmjs.com/package/dynamodb-migrations-tool) | ||
# dynamodb-migrations-tool [](https://travis-ci.org/floydspace/dynamodb-migrations-tool) [](https://coveralls.io/github/floydspace/dynamodb-migrations-tool?branch=master) [](https://badge.fury.io/js/dynamodb-migrations-tool) | ||
The *dynamodb-migrations-tool* is a DynamoDB storage based migrator implemented on top of the relyable and well tested framework agnostic migration tool **[umzug](https://github.com/sequelize/umzug)**. | ||
@@ -5,0 +4,0 @@ |
10947
-26.85%8
-20%175
-33.46%52
-1.89%