Correction du bug qui créait des doublons pour la table default_subdomaines
This commit is contained in:
parent
1be16853e7
commit
f7b4037649
|
@ -689,7 +689,7 @@ CREATE TABLE IF NOT EXISTS `default_subdomains` (
|
||||||
PRIMARY KEY (`id`)
|
PRIMARY KEY (`id`)
|
||||||
) COMMENT='Contains the defaults subdomains created on domains creation';
|
) COMMENT='Contains the defaults subdomains created on domains creation';
|
||||||
|
|
||||||
INSERT INTO `default_subdomains` (`sub`, `domain_type`, `domain_type_parameter`, `concerned`) VALUES
|
INSERT IGNORE INTO `default_subdomains` (`sub`, `domain_type`, `domain_type_parameter`, `concerned`) VALUES
|
||||||
('www', 'VHOST', '%%DOMAINDIR%%', 'MAIN'),
|
('www', 'VHOST', '%%DOMAINDIR%%', 'MAIN'),
|
||||||
('mail', 'WEBMAIL', '', 'MAIN'),
|
('mail', 'WEBMAIL', '', 'MAIN'),
|
||||||
('', 'URL', 'http://www.%%DOMAIN%%', 'MAIN'),
|
('', 'URL', 'http://www.%%DOMAIN%%', 'MAIN'),
|
||||||
|
|
|
@ -211,7 +211,7 @@ CREATE TABLE IF NOT EXISTS `default_subdomains` (
|
||||||
PRIMARY KEY (`id`)
|
PRIMARY KEY (`id`)
|
||||||
) COMMENT='Contains the defaults subdomains created on domains creation';
|
) COMMENT='Contains the defaults subdomains created on domains creation';
|
||||||
|
|
||||||
INSERT INTO `default_subdomains` (`sub`, `domain_type`, `domain_type_parameter`, `concerned`) VALUES
|
INSERT IGNORE INTO `default_subdomains` (`sub`, `domain_type`, `domain_type_parameter`, `concerned`) VALUES
|
||||||
('www', 'VHOST', '%%DOMAINDIR%%', 'MAIN'),
|
('www', 'VHOST', '%%DOMAINDIR%%', 'MAIN'),
|
||||||
('mail', 'WEBMAIL', '', 'MAIN'),
|
('mail', 'WEBMAIL', '', 'MAIN'),
|
||||||
('', 'URL', 'http://www.%%DOMAIN%%', 'MAIN'),
|
('', 'URL', 'http://www.%%DOMAIN%%', 'MAIN'),
|
||||||
|
|
Loading…
Reference in New Issue