Files
old-web/app/migrations/20190517092716-add-price-to-real-estate-request.js

14 lines
304 B
JavaScript
Raw Normal View History

2019-09-05 11:14:54 +02:00
"use strict";
2019-05-17 11:32:41 +02:00
module.exports = {
up: (queryInterface, Sequelize) => {
2019-09-05 11:14:54 +02:00
return queryInterface.addColumn("RealEstateRequests", "price", {
type: Sequelize.STRING
});
2019-05-17 11:32:41 +02:00
},
down: (queryInterface, Sequelize) => {
2019-09-05 11:14:54 +02:00
return queryInterface.removeColumn("RealEstateRequests", "price");
2019-05-17 11:32:41 +02:00
}
};