From 53e0c4cae7f7516fcd82a90d3fa82d248ee5da9c Mon Sep 17 00:00:00 2001 From: Nicolas Stremsdoerfer <46815579+nstremsd@users.noreply.github.com> Date: Sun, 21 Jul 2024 21:49:26 +0200 Subject: [PATCH] Update 19.0.0-20.0.0.sql (#30429) table name error => index llx_c_holiday_types not created with Erreur DB_ERROR_1072 (Req 265): ALTER TABLE llx_c_holiday_types ADD UNIQUE INDEX uk_c_holiday_types (entity, code); Key column 'entity' doesn't exist in table --- htdocs/install/mysql/migration/19.0.0-20.0.0.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/install/mysql/migration/19.0.0-20.0.0.sql b/htdocs/install/mysql/migration/19.0.0-20.0.0.sql index 62e6e4399d7..4abde7d2f3e 100644 --- a/htdocs/install/mysql/migration/19.0.0-20.0.0.sql +++ b/htdocs/install/mysql/migration/19.0.0-20.0.0.sql @@ -407,6 +407,6 @@ UPDATE llx_c_units SET short_label = 'mn' WHERE short_label = 'i' AND code = 'MI -- missing entity field ALTER TABLE llx_c_holiday_types DROP INDEX uk_c_holiday_types; -ALTER TABLE llx_socpeople ADD COLUMN entity integer DEFAULT 1 NOT NULL AFTER rowid; +ALTER TABLE llx_c_holiday_types ADD COLUMN entity integer DEFAULT 1 NOT NULL AFTER rowid; ALTER TABLE llx_c_holiday_types ADD UNIQUE INDEX uk_c_holiday_types (entity, code);