From db1cbb21b6ab90d53588cb4e0b42e3cc7a409e7a Mon Sep 17 00:00:00 2001 From: Alec Smecher Date: Tue, 30 Apr 2024 12:52:48 -0700 Subject: [PATCH] Remove unnecessary index creation --- classes/migration/upgrade/v3_4_0/I6093_AddForeignKeys.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/classes/migration/upgrade/v3_4_0/I6093_AddForeignKeys.php b/classes/migration/upgrade/v3_4_0/I6093_AddForeignKeys.php index 4265b7e4890..4b9982a42e2 100644 --- a/classes/migration/upgrade/v3_4_0/I6093_AddForeignKeys.php +++ b/classes/migration/upgrade/v3_4_0/I6093_AddForeignKeys.php @@ -41,8 +41,6 @@ public function up(): void Schema::table('sections', function (Blueprint $table) { $table->foreign('review_form_id', 'sections_review_form_id')->references('review_form_id')->on('review_forms')->onDelete('set null'); - $table->index(['review_form_id'], 'sections_review_form_id'); - $table->foreign('journal_id', 'sections_journal_id')->references('journal_id')->on('journals')->onDelete('cascade'); });