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
Tommaso Perondi
ISPConfig 3
Commits
33019cd9
Commit
33019cd9
authored
Mar 11, 2021
by
Marius Burkard
Browse files
- added sql update file
parent
4191a7d7
Changes
1
Show whitespace changes
Inline
Side-by-side
install/sql/incremental/upd_0093.sql
0 → 100644
View file @
33019cd9
ALTER
TABLE
`remote_user`
MODIFY
`remote_password`
VARCHAR
(
200
)
NOT
NULL
DEFAULT
''
;
ALTER
TABLE
`client`
ADD
COLUMN
`limit_mail_wblist`
INT
(
11
)
NOT
NULL
DEFAULT
'0'
AFTER
`limit_mailrouting`
;
ALTER
TABLE
`client_template`
ADD
COLUMN
`limit_mail_wblist`
INT
(
11
)
NOT
NULL
DEFAULT
'0'
AFTER
`limit_mailrouting`
;
ALTER
TABLE
mail_access
DROP
CONSTRAINT
`server_id`
;
SET
SESSION
old_alter_table
=
1
;
ALTER
IGNORE
TABLE
mail_access
ADD
UNIQUE
KEY
`unique_source`
(
`server_id`
,
`source`
,
`type`
);
SET
SESSION
old_alter_table
=
0
;
ALTER
TABLE
mail_domain
ADD
COLUMN
`relay_host`
varchar
(
255
)
NOT
NULL
default
''
AFTER
`dkim_public`
,
ADD
COLUMN
`relay_user`
varchar
(
255
)
NOT
NULL
default
''
AFTER
`relay_host`
,
ADD
COLUMN
`relay_pass`
varchar
(
255
)
NOT
NULL
default
''
AFTER
`relay_user`
;
-- Purge apps & addons installer (#5795)
DROP
TABLE
'software_package'
;
DROP
TABLE
'software_repo'
;
DROP
TABLE
'software_update'
;
DROP
TABLE
'software_update_inst'
;
-- Brexit
UPDATE
`country`
SET
`eu`
=
'n'
WHERE
`iso`
=
'GB'
;
-- Add limit for per domain relaying
ALTER
TABLE
`client`
ADD
`limit_relayhost`
ENUM
(
'n'
,
'y'
)
NOT
NULL
DEFAULT
'n'
AFTER
`limit_spamfilter_policy`
;
ALTER
TABLE
`client_template`
ADD
`limit_relayhost`
ENUM
(
'n'
,
'y'
)
NOT
NULL
DEFAULT
'n'
AFTER
`limit_spamfilter_policy`
;
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