On retente le #1576
This commit is contained in:
parent
3f1b9e34c5
commit
d9e24d9703
|
@ -216,14 +216,13 @@ 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(255) NOT NULL default '',
|
domaine varchar(255) NOT NULL default '',
|
||||||
sub varchar(100) NOT NULL default '',
|
sub varchar(255) 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',
|
||||||
web_action enum ('OK','UPDATE','DELETE') NOT NULL default 'UPDATE',
|
web_action enum ('OK','UPDATE','DELETE') NOT NULL default 'UPDATE',
|
||||||
web_result varchar(255) not null default '',
|
web_result varchar(255) not null default '',
|
||||||
enable enum ('ENABLED', 'ENABLE', 'DISABLED', 'DISABLE') NOT NULL DEFAULT 'ENABLED',
|
enable enum ('ENABLED', 'ENABLE', 'DISABLED', 'DISABLE') NOT NULL DEFAULT 'ENABLED',
|
||||||
PRIMARY KEY (id),
|
PRIMARY KEY (id)
|
||||||
UNIQUE (compte,domaine,sub,type,valeur)
|
|
||||||
-- ,FOREIGN KEY (type) REFERENCES (domaines_type)
|
-- ,FOREIGN KEY (type) REFERENCES (domaines_type)
|
||||||
) ENGINE=MyISAM;
|
) ENGINE=MyISAM;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue