Merge pull request #1082 from sfossen/patch-7

defaults for servers table.
pull/1092/head
Andras Iklody 2016-04-14 08:50:02 +02:00
commit 9a7950f65c
1 changed files with 2 additions and 2 deletions

View File

@ -323,7 +323,7 @@ CREATE TABLE IF NOT EXISTS `servers` (
`org_id` int(11) NOT NULL,
`push` tinyint(1) NOT NULL,
`pull` tinyint(1) NOT NULL,
`lastfetchedid` int(11) NOT NULL,
`lastfetchedid` int(11) NOT NULL DEFAULT '0',
`lastpulledid` int(11) DEFAULT NULL,
`lastpushedid` int(11) DEFAULT NULL,
`organization` varchar(10) COLLATE utf8_bin DEFAULT NULL,
@ -331,7 +331,7 @@ CREATE TABLE IF NOT EXISTS `servers` (
`self_signed` tinyint(1) NOT NULL,
`pull_rules` text COLLATE utf8_bin NOT NULL,
`push_rules` text COLLATE utf8_bin NOT NULL,
`cert_file` varchar(255) COLLATE utf8_bin NOT NULL,
`cert_file` varchar(255) COLLATE utf8_bin DEFAULT NULL,
PRIMARY KEY (`id`),
INDEX `org_id` (`org_id`),
INDEX `remote_org_id` (`remote_org_id`)