Skip to content

Commit bb5ccb0

Browse files
author
Florian Schaal
committed
moved inc-sql-updates to upd_dev_collection.sql
1 parent e422602 commit bb5ccb0

File tree

3 files changed

+24
-21
lines changed

3 files changed

+24
-21
lines changed

install/sql/incremental/upd_0081.sql

Lines changed: 0 additions & 19 deletions
This file was deleted.

install/sql/incremental/upd_0082.sql

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,34 @@
11
ALTER TABLE `mail_user`
22
CHANGE `uid` `uid` int(11) NOT NULL DEFAULT '5000',
33
CHANGE `gid` `gid` int(11) NOT NULL DEFAULT '5000';
4-
ADD COLUMN `sender_cc` varchar(255) NOT NULL default '' AFTER `cc`;
4+
5+
ALTER TABLE `mail_user`
6+
ADD COLUMN `sender_cc` varchar(255) NOT NULL DEFAULT '' AFTER `cc`;
57

68
ALTER TABLE `client_template` ADD `default_mailserver` INT(11) NOT NULL DEFAULT 1;
79
ALTER TABLE `client_template` ADD `default_webserver` INT(11) NOT NULL DEFAULT 1;
810
ALTER TABLE `client_template` ADD `default_dnsserver` INT(11) NOT NULL DEFAULT 1;
911
ALTER TABLE `client_template` ADD `default_slave_dnsserver` INT(11) NOT NULL DEFAULT 1;
1012
ALTER TABLE `client_template` ADD `default_dbserver` INT(11) NOT NULL DEFAULT 1;
1113
ALTER TABLE `client` ADD `contact_firstname` VARCHAR( 64 ) NOT NULL DEFAULT '' AFTER `gender`;
14+
15+
UPDATE `dns_template` SET `fields` = 'DOMAIN,IP,NS1,NS2,EMAIL,DKIM' WHERE `dns_template`.`template_id` =1;
16+
UPDATE `dns_template` SET `template` = '[ZONE]
17+
origin={DOMAIN}.
18+
ns={NS1}.
19+
mbox={EMAIL}.
20+
refresh=7200
21+
retry=540
22+
expire=604800
23+
minimum=86400
24+
ttl=3600
25+
26+
[DNS_RECORDS]
27+
A|{DOMAIN}.|{IP}|0|3600
28+
A|www|{IP}|0|3600
29+
A|mail|{IP}|0|3600
30+
NS|{DOMAIN}.|{NS1}.|0|3600
31+
NS|{DOMAIN}.|{NS2}.|0|3600
32+
MX|{DOMAIN}.|mail.{DOMAIN}.|10|3600
33+
TXT|{DOMAIN}.|v=spf1 mx a ~all|0|3600' WHERE `dns_template`.`template_id` = 1;
34+

0 commit comments

Comments
 (0)