Le type des domaines passent en chaine de caracteres
* Permettre de nommer clairement les types independamment d'un ordre numerique non g\303\251rable depuis un plugin
This commit is contained in:
parent
9fb4e1a884
commit
a55106e0e5
|
@ -266,7 +266,7 @@ CREATE TABLE IF NOT EXISTS sub_domaines (
|
||||||
domaine varchar(64) NOT NULL default '',
|
domaine varchar(64) 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 int(1) NOT NULL default '0',
|
type varchar(30) NOT NULL default '0',
|
||||||
PRIMARY KEY (compte,domaine,sub,type)
|
PRIMARY KEY (compte,domaine,sub,type)
|
||||||
) TYPE=MyISAM;
|
) TYPE=MyISAM;
|
||||||
|
|
||||||
|
@ -280,7 +280,7 @@ CREATE TABLE IF NOT EXISTS sub_domaines_standby (
|
||||||
domaine varchar(64) NOT NULL default '',
|
domaine varchar(64) 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 int(1) NOT NULL default '0',
|
type varchar(30) NOT NULL default '0',
|
||||||
action int(1) NOT NULL default '0',
|
action int(1) NOT NULL default '0',
|
||||||
PRIMARY KEY (compte,domaine,sub,action,type)
|
PRIMARY KEY (compte,domaine,sub,action,type)
|
||||||
) TYPE=MyISAM;
|
) TYPE=MyISAM;
|
||||||
|
|
|
@ -42,4 +42,7 @@ CREATE TABLE IF NOT EXISTS `size_mailman` (
|
||||||
ALTER TABLE `slaveip` CHANGE `ip` `ip` VARCHAR(40);
|
ALTER TABLE `slaveip` CHANGE `ip` `ip` VARCHAR(40);
|
||||||
ALTER TABLE `sessions` CHANGE `ip` `ip` VARCHAR( 40 ) NULL;
|
ALTER TABLE `sessions` CHANGE `ip` `ip` VARCHAR( 40 ) NULL;
|
||||||
|
|
||||||
|
--- type subdomain evolution
|
||||||
|
ALTER TABLE `sub_domaines` CHANGE `type` `type` VARCHAR(30);
|
||||||
|
ALTER TABLE `sub_domaines_standby` CHANGE `type` `type` VARCHAR(30);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue