Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
d8824923
Commit
d8824923
authored
Nov 26, 2015
by
Jan-Claas Dirks
Browse files
add XMPP fields in client template database table
parent
8938c852
Changes
2
Show whitespace changes
Inline
Side-by-side
install/sql/incremental/upd_dev_collection.sql
View file @
d8824923
...
...
@@ -10,6 +10,19 @@ ALTER TABLE `client_template` ADD `default_webserver` INT(11) NOT NULL DEFAULT 1
ALTER
TABLE
`client_template`
ADD
`default_dnsserver`
INT
(
11
)
NOT
NULL
DEFAULT
1
;
ALTER
TABLE
`client_template`
ADD
`default_slave_dnsserver`
INT
(
11
)
NOT
NULL
DEFAULT
1
;
ALTER
TABLE
`client_template`
ADD
`default_dbserver`
INT
(
11
)
NOT
NULL
DEFAULT
1
;
ALTER
TABLE
`client_template`
ADD
COLUMN
`default_xmppserver`
int
(
11
)
unsigned
NOT
NULL
DEFAULT
'1'
,
ADD
COLUMN
`xmpp_servers`
blob
,
ADD
COLUMN
`limit_xmpp_domain`
int
(
11
)
NOT
NULL
DEFAULT
'-1'
,
ADD
COLUMN
`limit_xmpp_user`
int
(
11
)
NOT
NULL
DEFAULT
'-1'
,
ADD
COLUMN
`limit_xmpp_muc`
ENUM
(
'n'
,
'y'
)
NOT
NULL
default
'n'
,
ADD
COLUMN
`limit_xmpp_anon`
ENUM
(
'n'
,
'y'
)
NOT
NULL
default
'n'
,
ADD
COLUMN
`limit_xmpp_vjud`
ENUM
(
'n'
,
'y'
)
NOT
NULL
default
'n'
,
ADD
COLUMN
`limit_xmpp_proxy`
ENUM
(
'n'
,
'y'
)
NOT
NULL
default
'n'
,
ADD
COLUMN
`limit_xmpp_status`
ENUM
(
'n'
,
'y'
)
NOT
NULL
default
'n'
,
ADD
COLUMN
`limit_xmpp_pastebin`
ENUM
(
'n'
,
'y'
)
NOT
NULL
default
'n'
,
ADD
COLUMN
`limit_xmpp_httparchive`
ENUM
(
'n'
,
'y'
)
NOT
NULL
default
'n'
;
ALTER
TABLE
`client`
ADD
`contact_firstname`
VARCHAR
(
64
)
NOT
NULL
DEFAULT
''
AFTER
`gender`
;
UPDATE
`dns_template`
SET
`fields`
=
'DOMAIN,IP,NS1,NS2,EMAIL,DKIM'
WHERE
`dns_template`
.
`template_id`
=
1
;
...
...
install/sql/ispconfig3.sql
View file @
d8824923
...
...
@@ -308,6 +308,17 @@ CREATE TABLE `client_template` (
`limit_spamfilter_wblist`
int
(
11
)
NOT
NULL
default
'0'
,
`limit_spamfilter_user`
int
(
11
)
NOT
NULL
default
'0'
,
`limit_spamfilter_policy`
int
(
11
)
NOT
NULL
default
'0'
,
`default_xmppserver`
int
(
11
)
unsigned
NOT
NULL
DEFAULT
'1'
,
`xmpp_servers`
blob
,
`limit_xmpp_domain`
int
(
11
)
NOT
NULL
DEFAULT
'-1'
,
`limit_xmpp_user`
int
(
11
)
NOT
NULL
DEFAULT
'-1'
,
`limit_xmpp_muc`
ENUM
(
'n'
,
'y'
)
NOT
NULL
default
'n'
,
`limit_xmpp_anon`
ENUM
(
'n'
,
'y'
)
NOT
NULL
default
'n'
,
`limit_xmpp_vjud`
ENUM
(
'n'
,
'y'
)
NOT
NULL
default
'n'
,
`limit_xmpp_proxy`
ENUM
(
'n'
,
'y'
)
NOT
NULL
default
'n'
,
`limit_xmpp_status`
ENUM
(
'n'
,
'y'
)
NOT
NULL
default
'n'
,
`limit_xmpp_pastebin`
ENUM
(
'n'
,
'y'
)
NOT
NULL
default
'n'
,
`limit_xmpp_httparchive`
ENUM
(
'n'
,
'y'
)
NOT
NULL
default
'n'
,
`limit_web_ip`
text
,
`limit_web_domain`
int
(
11
)
NOT
NULL
default
'-1'
,
`limit_web_quota`
int
(
11
)
NOT
NULL
default
'-1'
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment