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