Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alfarih31/db-migration-tmplt
Database Migration Tool template by utilizing Sequelize & Migrate Mongo
https://github.com/alfarih31/db-migration-tmplt
Last synced: 8 days ago
JSON representation
Database Migration Tool template by utilizing Sequelize & Migrate Mongo
- Host: GitHub
- URL: https://github.com/alfarih31/db-migration-tmplt
- Owner: alfarih31
- Created: 2021-10-11T07:40:27.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-05-25T05:13:23.000Z (over 2 years ago)
- Last Synced: 2024-05-16T23:55:16.797Z (6 months ago)
- Language: JavaScript
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DB Migration Template
## Prerequisites
1. Node `v12`
## Configuration
1. SQL Migration
Copy [migration.example.json](sql/migration.example.json) as [migration.json](migration.json)
Follow [Sequelize migrations configuration](https://sequelize.org/docs/v6/other-topics/migrations/#configuration)
2. NoSQL Migration
Copy [migrate-mongo-config.example.js](nosql/migrate-mongo-config.example.js) as [migrate-mongo-config.js](migrate-mongo-config.js)
Follow [Migrate Mongo basic user](https://github.com/seppevs/migrate-mongo#basic-usage)
## Install Dependencies
```bash
npm install
```## Start migrating
1. Please follow [sql/README](sql/README.md) for `SQL` migration
2. Please follow [nosql/README](nosql/README.md) for `NoSQL` migration
3. See [package.json/scripts](package.json) for available scripts
4. Add more scripts at [package.json/scripts](package.json) to fulfill your needs### Contributors ###
- Alfarih Faza