2019-09-05 11:14:54 +02:00
|
|
|
"use strict";
|
2019-06-25 17:06:07 +02:00
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
|
up: (queryInterface, Sequelize) => {
|
2019-09-05 11:14:54 +02:00
|
|
|
return queryInterface.addColumn("MarketAlerts", "notified", {
|
|
|
|
|
type: Sequelize.BOOLEAN
|
|
|
|
|
});
|
2019-06-25 17:06:07 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
|
|
down: (queryInterface, Sequelize) => {
|
2019-09-05 11:14:54 +02:00
|
|
|
return queryInterface.removeColumn("MarketAlerts", "notified");
|
2019-06-25 17:06:07 +02:00
|
|
|
}
|
|
|
|
|
};
|