We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent daa41db commit 4637b53Copy full SHA for 4637b53
install/sql/powerdns.sql
@@ -48,7 +48,7 @@ CREATE TABLE IF NOT EXISTS `domainmetadata` (
48
SET @dbname = DATABASE();
49
50
SELECT count(*) INTO @exist FROM `information_schema`.`columns` WHERE `table_schema` = @dbname AND `column_name` = 'auth' AND `table_name` = 'records' LIMIT 1;
51
-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');
52
PREPARE stmt FROM @query;
53
EXECUTE stmt;
54
0 commit comments