Migrations fix
This commit is contained in:
@ -1,5 +1,6 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
up: async function(queryInterface, Sequelize) {
|
up: async function(queryInterface, Sequelize) {
|
||||||
|
await queryInterface.removeIndex('documents', 'atlasId_foreign_idx');
|
||||||
await queryInterface.changeColumn('documents', 'atlasId', {
|
await queryInterface.changeColumn('documents', 'atlasId', {
|
||||||
type: Sequelize.UUID,
|
type: Sequelize.UUID,
|
||||||
allowNull: true,
|
allowNull: true,
|
||||||
|
Reference in New Issue
Block a user