Files
old-crm-integration/migrations/20190612123751-rename-door-lock-incidents-table.js

12 lines
295 B
JavaScript
Raw Normal View History

2019-06-14 17:41:09 +02:00
'use strict';
module.exports = {
up: (queryInterface, Sequelize) => {
return queryInterface.renameTable('doorLockIncidents', 'unscheduledIncidents');
},
down: (queryInterface, Sequelize) => {
return queryInterface.renameTable('unscheduledIncidents', 'doorLockIncidents');
}
};