Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wurde/g-migration
Generate a migration file.
https://github.com/wurde/g-migration
Last synced: 5 days ago
JSON representation
Generate a migration file.
- Host: GitHub
- URL: https://github.com/wurde/g-migration
- Owner: wurde
- License: mit
- Created: 2017-11-19T16:32:14.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-09T19:04:38.000Z (over 6 years ago)
- Last Synced: 2024-11-01T15:37:43.591Z (15 days ago)
- Language: JavaScript
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# g-migration
Generate a migration file.
## Getting started
Add the following to your `package.json` file to download the binary and
setup an npm script to run the task.```json
./package.json
"scripts": {
"g:migration": "./node_modules/.bin/g_migration"
},
```Now run the commands:
```bash
$ npm install g-migration --save-dev
$ mkdir ./db/migrations
$ npm run g:migration create_table_users
```## Changelog
Get the project's history in [CHANGELOG.md](CHANGELOG.md).
## Maintainer
Andy Bettisworth https://andybettisworth.com
## License
This project is released under the [MIT License](LICENSE.txt).