Merge pull request #194 from jorilallo/migration-fixes

migration-fixes
This commit is contained in:
Tom Moor
2017-09-01 08:56:53 -07:00
committed by GitHub

View File

@@ -1,6 +1,5 @@
module.exports = {
up: async function(queryInterface, Sequelize) {
await queryInterface.removeIndex('documents', 'atlasId_foreign_idx');
await queryInterface.changeColumn('documents', 'atlasId', {
type: Sequelize.UUID,
allowNull: true,