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

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