node package manager

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.