fix: remove redundant FK indexes from product_integration_translations migration
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user