From bf71b01419dfb1ad128902c85e07e1aae2cf03ae Mon Sep 17 00:00:00 2001 From: Jacek Pyziak Date: Fri, 27 Feb 2026 18:11:16 +0100 Subject: [PATCH] fix: remove redundant FK indexes from product_integration_translations migration --- .../20260227_000014_create_product_integration_translations.sql | 2 -- 1 file changed, 2 deletions(-) diff --git a/database/migrations/20260227_000014_create_product_integration_translations.sql b/database/migrations/20260227_000014_create_product_integration_translations.sql index 621e112..5dd27fa 100644 --- a/database/migrations/20260227_000014_create_product_integration_translations.sql +++ b/database/migrations/20260227_000014_create_product_integration_translations.sql @@ -8,8 +8,6 @@ CREATE TABLE IF NOT EXISTS product_integration_translations ( created_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP, updated_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, UNIQUE KEY pit_product_integration_unique (product_id, integration_id), - KEY pit_product_idx (product_id), - KEY pit_integration_idx (integration_id), CONSTRAINT pit_product_fk FOREIGN KEY (product_id) REFERENCES products(id) ON DELETE CASCADE ON UPDATE CASCADE,