Renamed Document#atlasId finally

This commit is contained in:
Jori Lallo
2018-02-07 00:04:39 -08:00
parent 5588897271
commit f08b3e0ac5
8 changed files with 29 additions and 20 deletions

View File

@@ -0,0 +1,9 @@
module.exports = {
up: async (queryInterface, Sequelize) => {
await queryInterface.renameColumn('documents', 'atlasId', 'collectionId');
},
down: async (queryInterface, Sequelize) => {
await queryInterface.renameColumn('documents', 'collectionId', 'atlasId');
},
};