Skip to content

Commit d882492

Browse files
committed
add XMPP fields in client template database table
1 parent 8938c85 commit d882492

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

install/sql/incremental/upd_dev_collection.sql

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,19 @@ ALTER TABLE `client_template` ADD `default_webserver` INT(11) NOT NULL DEFAULT 1
1010
ALTER TABLE `client_template` ADD `default_dnsserver` INT(11) NOT NULL DEFAULT 1;
1111
ALTER TABLE `client_template` ADD `default_slave_dnsserver` INT(11) NOT NULL DEFAULT 1;
1212
ALTER TABLE `client_template` ADD `default_dbserver` INT(11) NOT NULL DEFAULT 1;
13+
ALTER TABLE `client_template`
14+
ADD COLUMN `default_xmppserver` int(11) unsigned NOT NULL DEFAULT '1',
15+
ADD COLUMN `xmpp_servers` blob,
16+
ADD COLUMN `limit_xmpp_domain` int(11) NOT NULL DEFAULT '-1',
17+
ADD COLUMN `limit_xmpp_user` int(11) NOT NULL DEFAULT '-1',
18+
ADD COLUMN `limit_xmpp_muc` ENUM( 'n', 'y' ) NOT NULL default 'n',
19+
ADD COLUMN `limit_xmpp_anon` ENUM( 'n', 'y' ) NOT NULL default 'n',
20+
ADD COLUMN `limit_xmpp_vjud` ENUM( 'n', 'y' ) NOT NULL default 'n',
21+
ADD COLUMN `limit_xmpp_proxy` ENUM( 'n', 'y' ) NOT NULL default 'n',
22+
ADD COLUMN `limit_xmpp_status` ENUM( 'n', 'y' ) NOT NULL default 'n',
23+
ADD COLUMN `limit_xmpp_pastebin` ENUM( 'n', 'y' ) NOT NULL default 'n',
24+
ADD COLUMN `limit_xmpp_httparchive` ENUM( 'n', 'y' ) NOT NULL default 'n';
25+
1326
ALTER TABLE `client` ADD `contact_firstname` VARCHAR( 64 ) NOT NULL DEFAULT '' AFTER `gender`;
1427

1528
UPDATE `dns_template` SET `fields` = 'DOMAIN,IP,NS1,NS2,EMAIL,DKIM' WHERE `dns_template`.`template_id` =1;

install/sql/ispconfig3.sql

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,17 @@ CREATE TABLE `client_template` (
308308
`limit_spamfilter_wblist` int(11) NOT NULL default '0',
309309
`limit_spamfilter_user` int(11) NOT NULL default '0',
310310
`limit_spamfilter_policy` int(11) NOT NULL default '0',
311+
`default_xmppserver` int(11) unsigned NOT NULL DEFAULT '1',
312+
`xmpp_servers` blob,
313+
`limit_xmpp_domain` int(11) NOT NULL DEFAULT '-1',
314+
`limit_xmpp_user` int(11) NOT NULL DEFAULT '-1',
315+
`limit_xmpp_muc` ENUM( 'n', 'y' ) NOT NULL default 'n',
316+
`limit_xmpp_anon` ENUM( 'n', 'y' ) NOT NULL default 'n',
317+
`limit_xmpp_vjud` ENUM( 'n', 'y' ) NOT NULL default 'n',
318+
`limit_xmpp_proxy` ENUM( 'n', 'y' ) NOT NULL default 'n',
319+
`limit_xmpp_status` ENUM( 'n', 'y' ) NOT NULL default 'n',
320+
`limit_xmpp_pastebin` ENUM( 'n', 'y' ) NOT NULL default 'n',
321+
`limit_xmpp_httparchive` ENUM( 'n', 'y' ) NOT NULL default 'n',
311322
`limit_web_ip` text,
312323
`limit_web_domain` int(11) NOT NULL default '-1',
313324
`limit_web_quota` int(11) NOT NULL default '-1',

0 commit comments

Comments
 (0)