summaryrefslogtreecommitdiff
path: root/lib/migrations/20161009040430-support-delete-note.js
blob: 6e6fa20e7d3e527f9eec582eb8d1e66c670a7d81 (plain)
1
2
3
4
5
6
7
8
9
10
'use strict'
module.exports = {
  up: function (queryInterface, Sequelize) {
    queryInterface.addColumn('Notes', 'deletedAt', Sequelize.DATE)
  },

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