2017-03-14 13:02:43 +08:00
|
|
|
'use strict'
|
2016-10-10 21:04:24 +08:00
|
|
|
module.exports = {
|
|
|
|
up: function (queryInterface, Sequelize) {
|
2017-03-24 11:24:44 +08:00
|
|
|
return queryInterface.addColumn('Notes', 'deletedAt', Sequelize.DATE)
|
2016-10-10 21:04:24 +08:00
|
|
|
},
|
|
|
|
|
|
|
|
down: function (queryInterface, Sequelize) {
|
2017-03-24 11:24:44 +08:00
|
|
|
return queryInterface.removeColumn('Notes', 'deletedAt')
|
2016-10-10 21:04:24 +08:00
|
|
|
}
|
2017-03-08 18:45:51 +08:00
|
|
|
}
|