Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
ISPConfig 3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Webslice
ISPConfig 3
Commits
c8f8fee6
Commit
c8f8fee6
authored
7 years ago
by
Marius Burkard
Browse files
Options
Downloads
Patches
Plain Diff
- manually ported MR !679, fixes #4856
parent
437fa5b4
No related branches found
Branches containing commit
Tags
3.1.9
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
install/sql/incremental/upd_0085.sql
+1
-1
1 addition, 1 deletion
install/sql/incremental/upd_0085.sql
with
1 addition
and
1 deletion
install/sql/incremental/upd_0085.sql
+
1
−
1
View file @
c8f8fee6
...
@@ -18,4 +18,4 @@ ALTER TABLE `dns_rr` CHANGE `data` `data` TEXT NOT NULL;
...
@@ -18,4 +18,4 @@ ALTER TABLE `dns_rr` CHANGE `data` `data` TEXT NOT NULL;
ALTER
TABLE
`web_database`
CHANGE
`database_quota`
`database_quota`
INT
(
11
)
NULL
DEFAULT
NULL
;
ALTER
TABLE
`web_database`
CHANGE
`database_quota`
`database_quota`
INT
(
11
)
NULL
DEFAULT
NULL
;
ALTER
TABLE
`web_domain`
ADD
`log_retention`
INT
NOT
NULL
DEFAULT
'30'
;
ALTER
TABLE
`web_domain`
ADD
`log_retention`
INT
NOT
NULL
DEFAULT
'30'
;
ALTER
TABLE
spamfilter_policy
CHANGE
spam_tag_level
spam_tag_level
DECIMAL
(
5
,
2
)
NULL
DEFAULT
NULL
,
CHANGE
spam_tag2_level
spam_tag2_level
DECIMAL
(
5
,
2
)
NULL
DEFAULT
NULL
,
CHANGE
spam_kill_level
spam_kill_level
DECIMAL
(
5
,
2
)
NULL
DEFAULT
NULL
,
CHANGE
spam_dsn_cutoff_level
spam_dsn_cutoff_level
DECIMAL
(
5
,
2
)
NULL
DEFAULT
NULL
,
CHANGE
spam_quarantine_cutoff_level
spam_quarantine_cutoff_level
DECIMAL
(
5
,
2
)
NULL
DEFAULT
NULL
;
ALTER
TABLE
spamfilter_policy
CHANGE
spam_tag_level
spam_tag_level
DECIMAL
(
5
,
2
)
NULL
DEFAULT
NULL
,
CHANGE
spam_tag2_level
spam_tag2_level
DECIMAL
(
5
,
2
)
NULL
DEFAULT
NULL
,
CHANGE
spam_kill_level
spam_kill_level
DECIMAL
(
5
,
2
)
NULL
DEFAULT
NULL
,
CHANGE
spam_dsn_cutoff_level
spam_dsn_cutoff_level
DECIMAL
(
5
,
2
)
NULL
DEFAULT
NULL
,
CHANGE
spam_quarantine_cutoff_level
spam_quarantine_cutoff_level
DECIMAL
(
5
,
2
)
NULL
DEFAULT
NULL
;
UPDATE
`web_database`
as
d
LEFT
JOIN
`web_domain`
as
w
ON
(
w
.
domain_id
=
d
.
parent_domain_id
)
SET
d
.
parent_domain_id
=
0
WHERE
w
.
domain_id
IS
NULL
AND
d
.
parent_domain_id
!=
0
;
UPDATE
`web_database`
as
d
LEFT
JOIN
`web_domain`
as
w
ON
(
w
.
domain_id
=
d
.
parent_domain_id
)
SET
d
.
parent_domain_id
=
0
WHERE
w
.
domain_id
IS
NULL
AND
d
.
parent_domain_id
!=
0
AND
(
SELECT
EXISTS
(
SELECT
*
FROM
web_domain
));
\ No newline at end of file
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment