defaults for events table.

pull/1078/head
Steve Fossen 2016-04-12 13:26:52 -07:00
parent e826f98163
commit 750cbd0b2c
1 changed files with 2 additions and 2 deletions

View File

@ -108,7 +108,7 @@ CREATE TABLE IF NOT EXISTS `events` (
`uuid` varchar(40) COLLATE utf8_bin NOT NULL,
`published` tinyint(1) NOT NULL DEFAULT '0',
`analysis` tinyint(4) NOT NULL,
`attribute_count` int(11) unsigned DEFAULT NULL,
`attribute_count` int(11) NOT NULL DEFAULT '0',
`orgc_id` int(11) NOT NULL,
`timestamp` int(11) NOT NULL DEFAULT '0',
`distribution` tinyint(4) NOT NULL DEFAULT '0',
@ -116,7 +116,7 @@ CREATE TABLE IF NOT EXISTS `events` (
`proposal_email_lock` tinyint(1) NOT NULL DEFAULT '0',
`locked` tinyint(1) NOT NULL DEFAULT '0',
`threat_level_id` int(11) NOT NULL,
`publish_timestamp` int(11) NOT NULL,
`publish_timestamp` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY `uuid` (`uuid`),
FULLTEXT KEY `info` (`info`),