Oups, manquait un morceau pour gérer les domaines hyper long

This commit is contained in:
Alan Garcia 2013-02-06 15:22:34 +00:00
parent b64e1ff141
commit b6fe519ace
3 changed files with 3 additions and 2 deletions

2
.gitattributes vendored
View File

@ -541,8 +541,8 @@ install/upgrades/1.0.4.sh -text
install/upgrades/1.0.sql -text install/upgrades/1.0.sql -text
install/upgrades/1.1.php -text install/upgrades/1.1.php -text
install/upgrades/1.1.sh -text install/upgrades/1.1.sh -text
install/upgrades/1.1.sql -text
install/upgrades/3.0.sh -text install/upgrades/3.0.sh -text
install/upgrades/3.0.sql -text
install/upgrades/README -text install/upgrades/README -text
lang/.svnignore -text lang/.svnignore -text
lang/README -text lang/README -text

View File

@ -212,7 +212,7 @@ CREATE TABLE IF NOT EXISTS sessions (
CREATE TABLE IF NOT EXISTS sub_domaines ( CREATE TABLE IF NOT EXISTS sub_domaines (
id bigint(20) unsigned NOT NULL AUTO_INCREMENT, id bigint(20) unsigned NOT NULL AUTO_INCREMENT,
compte int(10) unsigned NOT NULL default '0', 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 '', sub varchar(100) NOT NULL default '',
valeur varchar(255) default NULL, valeur varchar(255) default NULL,
type varchar(30) NOT NULL default 'LOCAL', type varchar(30) NOT NULL default 'LOCAL',

View File

@ -202,6 +202,7 @@ UPDATE domaines_type SET create_tmpdir=true, create_targetdir=true WHERE target=
-- Allow 255 caracters in the tld -- Allow 255 caracters in the tld
ALTER IGNORE TABLE domaines MODIFY domaine VARCHAR(255); 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 -- Defaults subdomains to create when a domain is added
CREATE TABLE IF NOT EXISTS `default_subdomains` ( CREATE TABLE IF NOT EXISTS `default_subdomains` (