fix: remove redundant FK indexes from product_integration_translations migration

This commit is contained in:
2026-02-27 18:11:16 +01:00
parent e1f25bbc8f
commit bf71b01419

View File

@@ -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,