From d1bcef4df719cb3d46a76ac36a682190ac52edba Mon Sep 17 00:00:00 2001 From: FreeScout Date: Wed, 1 Dec 2021 06:08:21 -0800 Subject: [PATCH] Update rollback for remove_unique_index_in_folders_table --- .../2021_11_30_010101_remove_unique_index_in_folders_table.php | 1 + 1 file changed, 1 insertion(+) diff --git a/database/migrations/2021_11_30_010101_remove_unique_index_in_folders_table.php b/database/migrations/2021_11_30_010101_remove_unique_index_in_folders_table.php index 42c32a08..c3d188aa 100644 --- a/database/migrations/2021_11_30_010101_remove_unique_index_in_folders_table.php +++ b/database/migrations/2021_11_30_010101_remove_unique_index_in_folders_table.php @@ -27,6 +27,7 @@ class RemoveUniqueIndexInFoldersTable extends Migration public function down() { Schema::table('folders', function (Blueprint $table) { + $table->dropIndex(['mailbox_id', 'user_id', 'type']); $table->unique(['mailbox_id', 'user_id', 'type']); }); }