Migrations fix

This commit is contained in:
Tom Moor
2017-08-31 19:41:10 -07:00
parent 66aaee26da
commit 41f47f3f2f

View File

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