From 3ab773c510c5a1e7a79c3abd437f814e0b1d6bf8 Mon Sep 17 00:00:00 2001 From: lmarcouiller Date: Thu, 21 Jan 2021 10:51:14 +0100 Subject: [PATCH] Fix #16036 Mysql syntax error --- htdocs/install/mysql/migration/13.0.0-14.0.0.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/install/mysql/migration/13.0.0-14.0.0.sql b/htdocs/install/mysql/migration/13.0.0-14.0.0.sql index b26ac99ad1d..559721da393 100644 --- a/htdocs/install/mysql/migration/13.0.0-14.0.0.sql +++ b/htdocs/install/mysql/migration/13.0.0-14.0.0.sql @@ -57,8 +57,8 @@ ALTER TABLE llx_website ADD COLUMN pageviews_total BIGINT UNSIGNED DEFAULT 0; -- Drop foreign key with bad name or not required -ALTER TABLE DROP FOREIGN KEY llx_workstation_workstation_fk_user_creat; -ALTER TABLE DROP FOREIGN KEY llx_propal_fk_warehouse; +ALTER TABLE llx_workstation_workstation DROP FOREIGN KEY fk_user_creat; +ALTER TABLE llx_propal DROP FOREIGN KEY fk_warehouse; CREATE TABLE llx_workstation_workstation(