node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org »

migration-framework

migration-framework

A barebones, generic migration framework

usage

$ npm i --save migration-framework

config/default.json:

{
  "migrationFramework": {
    "migrationDir": "/path/to/project/migrations",
    "migrationFilename": ".migrate"
  }
}

Gruntfile.js

module.exports = function (grunt) {
  require('migration-framework/Gruntfile')(grunt);
};

Add the migration file to .gitignore.