{"id":19968355,"url":"https://github.com/floydspace/dynamodb-migrations-tool","last_synced_at":"2025-07-24T15:17:08.715Z","repository":{"id":38174410,"uuid":"249161014","full_name":"floydspace/dynamodb-migrations-tool","owner":"floydspace","description":"🧨 The DynamoDB Migrations Tool Command Line Interface (dynamit-cli)","archived":false,"fork":false,"pushed_at":"2023-01-05T16:46:26.000Z","size":2526,"stargazers_count":19,"open_issues_count":14,"forks_count":9,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-29T22:24:23.296Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/floydspace.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"floydspace","patreon":"floydspace","issuehunt":"floydspace","ko_fi":"floydspace"}},"created_at":"2020-03-22T10:37:05.000Z","updated_at":"2024-11-29T21:53:09.000Z","dependencies_parsed_at":"2023-02-04T07:32:15.517Z","dependency_job_id":null,"html_url":"https://github.com/floydspace/dynamodb-migrations-tool","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/floydspace%2Fdynamodb-migrations-tool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/floydspace%2Fdynamodb-migrations-tool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/floydspace%2Fdynamodb-migrations-tool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/floydspace%2Fdynamodb-migrations-tool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/floydspace","download_url":"https://codeload.github.com/floydspace/dynamodb-migrations-tool/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252162930,"owners_count":21704361,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T02:45:34.597Z","updated_at":"2025-05-04T01:30:24.247Z","avatar_url":"https://github.com/floydspace.png","language":"TypeScript","funding_links":["https://github.com/sponsors/floydspace","https://patreon.com/floydspace","https://issuehunt.io/r/floydspace","https://ko-fi.com/floydspace"],"categories":[],"sub_categories":[],"readme":"🧨 dynamit-cli\n==============\n\nThe DynamoDB Migrations Tool Command Line Interface (CLI).\n\n[![Build Status](https://img.shields.io/github/workflow/status/floydspace/dynamodb-migrations-tool/release)](https://github.com/floydspace/dynamodb-migrations-tool/actions)\n[![Coverage Status](https://coveralls.io/repos/github/floydspace/dynamodb-migrations-tool/badge.svg?branch=master)](https://coveralls.io/github/floydspace/dynamodb-migrations-tool?branch=master)\n[![npm version](https://badge.fury.io/js/dynamit-cli.svg)](https://badge.fury.io/js/dynamit-cli)\n[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)\n\n\nTable of Contents\n-----------------\n- [Installation](#installation)\n- [Documentation](#documentation)\n\n\nInstallation\n------------\n\nMake sure you have [AWS-SDK](https://aws.amazon.com/sdk-for-node-js/) installed and configured properly. Then install the Dynamit CLI to be used in your project with\n\n```bash\n$ npm install --save-dev dynamit-cli\n```\n\nAnd then you should be able to run the CLI with\n\n```bash\n$ npx dynamit --help\n```\n\nMigration records are supposed to be stored in the DynamoDB table with the `table-name` (`\"migrations\"` by default) and primary key `attribute-name` (`\"name\"` by default) defined as optional cli options. The tool cannot create the table for you yet, so make sure you created it properly. See [Creating a Table Developer Guide](https://docs.amazonaws.cn/en_us/amazondynamodb/latest/developerguide/WorkingWithTables.Basics.html#WorkingWithTables.Basics.CreateTable)\n\n\nUsage\n-----\n\n```\nnpx dynamit [command]\n\nCommands:\n  dynamit migrate                        Run pending migrations\n  dynamit migrate:status                 List the status of all migrations\n  dynamit migrate:undo                   Reverts a migration\n  dynamit migrate:undo:all               Revert all migrations ran\n  dynamit migration:generate             Generates a new migration file       [aliases: migration:create]\n\nOptions:\n  --version  Show version number                                         [boolean]\n  --help     Show help                                                   [boolean]\n```\n\n\nDocumentation\n-------------\n\n- [CLI Options](docs/README.md)\n- [Frequently Asked Questions](docs/FAQ.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffloydspace%2Fdynamodb-migrations-tool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffloydspace%2Fdynamodb-migrations-tool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffloydspace%2Fdynamodb-migrations-tool/lists"}