add migration
This commit is contained in:
@@ -0,0 +1,13 @@
|
|||||||
|
"use strict";
|
||||||
|
|
||||||
|
module.exports = {
|
||||||
|
up: (queryInterface, Sequelize) => {
|
||||||
|
return queryInterface.addColumn("RealEstateRequests", "locationInput", {
|
||||||
|
type: Sequelize.STRING
|
||||||
|
});
|
||||||
|
},
|
||||||
|
|
||||||
|
down: (queryInterface, Sequelize) => {
|
||||||
|
return queryInterface.removeColumn("RealEstateRequests", "locationInput");
|
||||||
|
}
|
||||||
|
};
|
||||||
Reference in New Issue
Block a user