Add cancelation charges

This commit is contained in:
Senad Uka
2019-07-08 20:37:14 +02:00
parent 1e1c61882f
commit 9d96ac4772
21 changed files with 575 additions and 64 deletions

View File

@@ -0,0 +1,14 @@
'use strict';
module.exports = {
up: (queryInterface, Sequelize) => {
return queryInterface.removeConstraint('bookingReservations', 'bookingReservations_pkey');
},
down: (queryInterface, Sequelize) => {
return queryInterface.addConstraint('bookingReservations', ['id'], {
name: 'bookingReservations_pkey',
type: 'PRIMARY KEY',
});
}
};