summaryrefslogtreecommitdiff
path: root/lib/migrations/20161009040430-support-delete-note.js
blob: 92ff6f7b9e6d06fa839fe739c0f8ccfbb4566804 (plain)
1
2
3
4
5
6
7
8
9
10
11
'use strict';

module.exports = {
  up: function (queryInterface, Sequelize) {
    queryInterface.addColumn('Notes', 'deletedAt', Sequelize.DATE);
  },

  down: function (queryInterface, Sequelize) {
    queryInterface.removeColumn('Notes', 'deletedAt');
  }
};