From 9af5292cc3cb1eadea7f168709d48d396dbe4e01 Mon Sep 17 00:00:00 2001 From: ldestailleur Date: Mon, 17 Feb 2025 13:58:47 +0100 Subject: [PATCH] Standardize category tables --- htdocs/install/mysql/migration/21.0.0-22.0.0.sql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/install/mysql/migration/21.0.0-22.0.0.sql b/htdocs/install/mysql/migration/21.0.0-22.0.0.sql index 7764d425405..51cdda10be8 100644 --- a/htdocs/install/mysql/migration/21.0.0-22.0.0.sql +++ b/htdocs/install/mysql/migration/21.0.0-22.0.0.sql @@ -71,7 +71,8 @@ create table llx_categorie_order import_key varchar(14) )ENGINE=innodb; -ALTER TABLE llx_categorie_order ADD PRIMARY KEY pk_categorie_order (fk_categorie, fk_order); +ALTER TABLE llx_categorie_order ADD PRIMARY KEY pk_categorie_order (fk_categorie, fk_order); -- noqa: PRS + ALTER TABLE llx_categorie_order ADD INDEX idx_categorie_order_fk_categorie (fk_categorie); ALTER TABLE llx_categorie_order ADD INDEX idx_categorie_order_fk_order (fk_order);