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

21 lines
364 B
JavaScript
Raw Normal View History

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