2019-03-18 01:42:42 +01:00
|
|
|
module.exports = {
|
|
|
|
|
up: (queryInterface, Sequelize) => {
|
2019-03-21 22:20:30 +01:00
|
|
|
// return queryInterface.addColumn('EventNotifications', 'status',
|
|
|
|
|
// { type: Sequelize.ENUM, values: ['new', 'sent', 'error'], index: true, defaultValue: 'new' })
|
2019-03-18 01:42:42 +01:00
|
|
|
},
|
|
|
|
|
|
|
|
|
|
down: (queryInterface, Sequelize) => {
|
|
|
|
|
return queryInterface.removeColumn('EventNotifications', 'status')
|
|
|
|
|
}
|
2019-03-21 22:20:30 +01:00
|
|
|
}
|