service -> serviceId
This commit is contained in:
10
server/migrations/20180528233910-rename-serviceid.js
Normal file
10
server/migrations/20180528233910-rename-serviceid.js
Normal file
@ -0,0 +1,10 @@
|
||||
module.exports = {
|
||||
up: async (queryInterface, Sequelize) => {
|
||||
await queryInterface.renameColumn('authentications', 'serviceId', 'service');
|
||||
await queryInterface.renameColumn('integrations', 'serviceId', 'service');
|
||||
},
|
||||
down: async (queryInterface, Sequelize) => {
|
||||
await queryInterface.renameColumn('authentications', 'service', 'serviceId');
|
||||
await queryInterface.renameColumn('integrations', 'service', 'serviceId');
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user