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` (