From 432f32d98a90db01bad1efe48b53a491f3e93bdd Mon Sep 17 00:00:00 2001 From: Camille Lafitte Date: Thu, 2 Nov 2023 18:48:27 +0100 Subject: [PATCH] Fix about #337 * sql update was missing during backport action * close #337 --- install/mysql.sql | 2 +- install/upgrades/3.5.0.3.sql | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/install/mysql.sql b/install/mysql.sql index d3dda01f..97801116 100644 --- a/install/mysql.sql +++ b/install/mysql.sql @@ -217,7 +217,7 @@ CREATE TABLE IF NOT EXISTS sub_domaines ( compte int(10) unsigned NOT NULL default '0', domaine varchar(255) NOT NULL default '', sub varchar(255) NOT NULL default '', - valeur varchar(255) default NULL, + valeur varchar(1024) default NULL, type varchar(30) NOT NULL default 'LOCAL', web_action enum ('OK','UPDATE','DELETE') NOT NULL default 'UPDATE', web_result varchar(255) not null default '', diff --git a/install/upgrades/3.5.0.3.sql b/install/upgrades/3.5.0.3.sql index 93d06e46..5c23ff30 100644 --- a/install/upgrades/3.5.0.3.sql +++ b/install/upgrades/3.5.0.3.sql @@ -1 +1,3 @@ +-- Increase size of sub_domaines valeur column. @see GH#337 +ALTER TABLE sub_domaines MODIFY COLUMN valeur VARCHAR(1024); DROP INDEX IF EXISTS compte on `sub_domaines`;