Files
old-crm-integration/migrations/20190705054346-add-door-lock-entry-column-to-the-unlockedIncidents-table.js

15 lines
347 B
JavaScript
Raw Normal View History

2019-07-07 07:02:42 +02:00
'use strict';
module.exports = {
up: (queryInterface, Sequelize) => {
return queryInterface.addColumn('unlockedIncidents', 'unlockTimestamp', {
type: Sequelize.DATE,
after: 'bookingEnd'
});
},
down: (queryInterface, Sequelize) => {
return queryInterface.removeColumn('unlockedIncidents', 'unlockTimestamp');
}
};