summaryrefslogtreecommitdiff
path: root/lib/migrations/20161009040430-support-delete-note.js
blob: f478b6fefa53040e8c065a1af85ae1f46554083f (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', Sequelize.DATE);
  }
};