City is now saved

This commit is contained in:
Senad Uka
2019-04-27 07:08:36 +02:00
parent 298c901759
commit 17492eb52c
7 changed files with 115 additions and 5 deletions

View File

@@ -0,0 +1,18 @@
'use strict';
module.exports = {
up: (queryInterface, Sequelize) => {
return queryInterface.addColumn(
'RealEstateRequests',
'city',
Sequelize.STRING
);
},
down: (queryInterface, Sequelize) => {
return queryInterface.removeColumn(
'RealEstateRequests',
'city'
);
}
};