Skip to content

Instantly share code, notes, and snippets.

Paul Mowat paulmowat

Block or report user

Report or block paulmowat

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
paulmowat / sequelize-schema-file-generator.js
Last active Dec 21, 2018
Sequelize Migration Generator from Models
View sequelize-schema-file-generator.js
// ////////////////////////////////
// How to use?
// 1. Make sure you've ran the `sequelize init` before (It should create `config`,`seeders`,`migrations` folders).
// 2. Run it with `node sequelize-schema-file-generator.js`
// 3. Review the generated migrations inside of the `migrations` folder.
// ////////////////////////////////
/* jscs:disable */
/* jshint ignore:start */
var path = require('path')
You can’t perform that action at this time.