add migration; insert 'deleted' column in booking change incidents table
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
up: (queryInterface, Sequelize) => {
|
||||
return queryInterface.addColumn('bookingChangeIncidents', 'deleted', {
|
||||
type: Sequelize.BOOLEAN,
|
||||
defaultValue: false,
|
||||
after: 'chargeFee',
|
||||
});
|
||||
},
|
||||
|
||||
down: (queryInterface, Sequelize) => {
|
||||
return queryInterface.removeColumn('bookingChangeIncidents', 'deleted');
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user