Skip to content

Commit ed1a300

Browse files
committed
fixed sql for dns_caa
1 parent 96b7094 commit ed1a300

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

install/sql/incremental/upd_dev_collection.sql

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ CHANGE `warnbannedrecip` `warnbannedrecip` ENUM('N','Y') CHARACTER SET utf8 COLL
3131
CHANGE `warnbadhrecip` `warnbadhrecip` ENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N';
3232

3333
CREATE TABLE IF NOT EXISTS `dns_ssl_ca` (
34-
`id` int(10) unsigned NOT AUTO_INCREMENT,
34+
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
3535
`sys_userid` int(11) unsigned NOT NULL DEFAULT '0',
3636
`sys_groupid` int(11) unsigned NOT NULL DEFAULT '0',
3737
`sys_perm_user` varchar(5) NOT NULL DEFAULT '',
@@ -42,8 +42,9 @@ CREATE TABLE IF NOT EXISTS `dns_ssl_ca` (
4242
`ca_issue` varchar(255) NOT NULL DEFAULT '',
4343
`ca_wildcard` enum('Y','N') NOT NULL DEFAULT 'N',
4444
`ca_iodef` text NOT NULL,
45-
`ca_critical` tinyint(1) NOT NULL DEFAULT '0'
46-
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
45+
`ca_critical` tinyint(1) NOT NULL DEFAULT '0',
46+
PRIMARY KEY (`id`)
47+
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
4748

4849
INSERT INTO `dns_ssl_ca` (`id`, `sys_userid`, `sys_groupid`, `sys_perm_user`, `sys_perm_group`, `sys_perm_other`, `active`, `ca_name`, `ca_issue`, `ca_wildcard`, `ca_iodef`, `ca_critical`) VALUES
4950
(NULL, 1, 1, 'riud', 'riud', '', 'Y', 'Comodo', 'comodoca.com', 'Y', '', 0),

install/sql/ispconfig3.sql

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ CREATE TABLE `dns_rr` (
507507
--
508508

509509
CREATE TABLE IF NOT EXISTS `dns_ssl_ca` (
510-
`id` int(10) unsigned NOT AUTO_INCREMENT,
510+
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
511511
`sys_userid` int(11) unsigned NOT NULL DEFAULT '0',
512512
`sys_groupid` int(11) unsigned NOT NULL DEFAULT '0',
513513
`sys_perm_user` varchar(5) NOT NULL DEFAULT '',
@@ -518,8 +518,9 @@ CREATE TABLE IF NOT EXISTS `dns_ssl_ca` (
518518
`ca_issue` varchar(255) NOT NULL DEFAULT '',
519519
`ca_wildcard` enum('Y','N') NOT NULL DEFAULT 'N',
520520
`ca_iodef` text NOT NULL,
521-
`ca_critical` tinyint(1) NOT NULL DEFAULT '0'
522-
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
521+
`ca_critical` tinyint(1) NOT NULL DEFAULT '0',
522+
PRIMARY KEY (`id`)
523+
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
523524

524525
INSERT INTO `dns_ssl_ca` (`id`, `sys_userid`, `sys_groupid`, `sys_perm_user`, `sys_perm_group`, `sys_perm_other`, `active`, `ca_name`, `ca_issue`, `ca_wildcard`, `ca_iodef`, `ca_critical`) VALUES
525526
(NULL, 1, 1, 'riud', 'riud', '', 'Y', 'Comodo', 'comodoca.com', 'Y', '', 0),

0 commit comments

Comments
 (0)