detect and save unscheduled and unlocked incidents

This commit is contained in:
Bilal Catic
2019-06-14 08:05:24 +02:00
parent 07061d3d19
commit 596336c41b
19 changed files with 929 additions and 78 deletions

View File

@@ -0,0 +1,11 @@
'use strict';
module.exports = {
up: (queryInterface, Sequelize) => {
return queryInterface.renameTable('doorLockIncidents', 'unscheduledIncidents');
},
down: (queryInterface, Sequelize) => {
return queryInterface.renameTable('unscheduledIncidents', 'doorLockIncidents');
}
};