Added migration and model change for searchReq table.

This commit is contained in:
Naida Vatric
2020-01-23 10:12:56 +01:00
parent d117383802
commit 5b3491fdba
5 changed files with 41 additions and 3 deletions

View File

@@ -0,0 +1,14 @@
"use strict";
module.exports = {
up: (queryInterface, Sequelize) => {
return queryInterface.addColumn("SearchRequests", "includeWithoutPrice", {
type: Sequelize.BOOLEAN,
defaultValue: false
});
},
down: (queryInterface, Sequelize) => {
return queryInterface.removeColumn("SearchRequests", "includeWithoutPrice");
}
};