add title column to the RealEstates table

This commit is contained in:
Bilal Catic
2019-09-16 16:08:29 +02:00
parent 76a989fa37
commit 25faf75d6f

View File

@@ -0,0 +1,13 @@
"use strict";
module.exports = {
up: (queryInterface, Sequelize) => {
return queryInterface.addColumn("RealEstates", "title", {
type: Sequelize.STRING
});
},
down: (queryInterface, Sequelize) => {
return queryInterface.removeColumn("RealEstates", "title");
}
};