Correction du bug qui créait des doublons pour la table default_subdomaines

This commit is contained in:
Axel ROGER 2012-10-17 12:37:48 +00:00
parent 1be16853e7
commit f7b4037649
2 changed files with 2 additions and 2 deletions

View File

@ -689,7 +689,7 @@ CREATE TABLE IF NOT EXISTS `default_subdomains` (
PRIMARY KEY (`id`)
) 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'),
('mail', 'WEBMAIL', '', 'MAIN'),
('', 'URL', 'http://www.%%DOMAIN%%', 'MAIN'),

View File

@ -211,7 +211,7 @@ CREATE TABLE IF NOT EXISTS `default_subdomains` (
PRIMARY KEY (`id`)
) 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'),
('mail', 'WEBMAIL', '', 'MAIN'),
('', 'URL', 'http://www.%%DOMAIN%%', 'MAIN'),