From b6fe519ace56b18102d48a1ffb23d44bf01639cd Mon Sep 17 00:00:00 2001 From: Alan Garcia Date: Wed, 6 Feb 2013 15:22:34 +0000 Subject: [PATCH] =?UTF-8?q?Oups,=20manquait=20un=20morceau=20pour=20g?= =?UTF-8?q?=C3=A9rer=20les=20domaines=20hyper=20long?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitattributes | 2 +- install/mysql.sql | 2 +- install/upgrades/{1.1.sql => 3.0.sql} | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) rename install/upgrades/{1.1.sql => 3.0.sql} (99%) diff --git a/.gitattributes b/.gitattributes index 7b17a439..1626d777 100644 --- a/.gitattributes +++ b/.gitattributes @@ -541,8 +541,8 @@ install/upgrades/1.0.4.sh -text install/upgrades/1.0.sql -text install/upgrades/1.1.php -text install/upgrades/1.1.sh -text -install/upgrades/1.1.sql -text install/upgrades/3.0.sh -text +install/upgrades/3.0.sql -text install/upgrades/README -text lang/.svnignore -text lang/README -text diff --git a/install/mysql.sql b/install/mysql.sql index c40f4e18..a446bc80 100644 --- a/install/mysql.sql +++ b/install/mysql.sql @@ -212,7 +212,7 @@ CREATE TABLE IF NOT EXISTS sessions ( CREATE TABLE IF NOT EXISTS sub_domaines ( id bigint(20) unsigned NOT NULL AUTO_INCREMENT, compte int(10) unsigned NOT NULL default '0', - domaine varchar(64) NOT NULL default '', + domaine varchar(255) NOT NULL default '', sub varchar(100) NOT NULL default '', valeur varchar(255) default NULL, type varchar(30) NOT NULL default 'LOCAL', diff --git a/install/upgrades/1.1.sql b/install/upgrades/3.0.sql similarity index 99% rename from install/upgrades/1.1.sql rename to install/upgrades/3.0.sql index 843b0263..5f1e541d 100644 --- a/install/upgrades/1.1.sql +++ b/install/upgrades/3.0.sql @@ -202,6 +202,7 @@ UPDATE domaines_type SET create_tmpdir=true, create_targetdir=true WHERE target= -- Allow 255 caracters in the tld ALTER IGNORE TABLE domaines MODIFY domaine VARCHAR(255); +ALTER IGNORE TABLE sub_domaines MODIFY domaine VARCHAR(255); -- Defaults subdomains to create when a domain is added CREATE TABLE IF NOT EXISTS `default_subdomains` (