Files
old-web/app/migrations/20190710141356-add-has-location-to-marketalerts.js

14 lines
305 B
JavaScript
Raw Normal View History

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