Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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).