Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
ISPConfig 3
Manage
Activity
Members
Labels
Plan
Issues
654
Issue boards
Milestones
Wiki
Code
Merge requests
57
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
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
ISPConfig
ISPConfig 3
Commits
4637b536
Commit
4637b536
authored
3 years ago
by
Marius Burkard
Browse files
Options
Downloads
Patches
Plain Diff
- fixed wrong default value for auth
parent
daa41dbb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1463
Resolve "PowerDNS of Debian Buster not working with Ispconfig >=3.2.2"
Pipeline
#8247
passed with stage
in 7 minutes and 37 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
install/sql/powerdns.sql
+1
-1
1 addition, 1 deletion
install/sql/powerdns.sql
with
1 addition
and
1 deletion
install/sql/powerdns.sql
+
1
−
1
View file @
4637b536
...
...
@@ -48,7 +48,7 @@ CREATE TABLE IF NOT EXISTS `domainmetadata` (
SET
@
dbname
=
DATABASE
();
SELECT
count
(
*
)
INTO
@
exist
FROM
`information_schema`
.
`columns`
WHERE
`table_schema`
=
@
dbname
AND
`column_name`
=
'auth'
AND
`table_name`
=
'records'
LIMIT
1
;
SET
@
query
=
IF
(
@
exist
<=
0
,
'ALTER TABLE `records` ADD COLUMN `auth` tinyint(1) default
0
AFTER `change_date`'
,
'SELECT
\'
Column Exists
\'
STATUS'
);
SET
@
query
=
IF
(
@
exist
<=
0
,
'ALTER TABLE `records` ADD COLUMN `auth` tinyint(1) default
1
AFTER `change_date`'
,
'SELECT
\'
Column Exists
\'
STATUS'
);
PREPARE
stmt
FROM
@
query
;
EXECUTE
stmt
;
...
...
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