For reference, here's the .Events table section from zmdb.sql
Code: Select all
DROP TABLE IF EXISTS `Events`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `Events` (
`Id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`MonitorId` int(10) unsigned NOT NULL DEFAULT '0',
`Name` varchar(64) NOT NULL DEFAULT '',
`Cause` varchar(32) NOT NULL DEFAULT '',
`StartTime` datetime DEFAULT NULL,
`EndTime` datetime DEFAULT NULL,
`Width` smallint(5) unsigned NOT NULL DEFAULT '0',
`Height` smallint(5) unsigned NOT NULL DEFAULT '0',
`Length` decimal(10,2) NOT NULL DEFAULT '0.00',
`Frames` int(10) unsigned DEFAULT NULL,
`AlarmFrames` int(10) unsigned DEFAULT NULL,
`TotScore` int(10) unsigned NOT NULL DEFAULT '0',
`AvgScore` smallint(5) unsigned DEFAULT '0',
`MaxScore` smallint(5) unsigned DEFAULT '0',
`Archived` tinyint(3) unsigned NOT NULL DEFAULT '0',
`Videoed` tinyint(3) unsigned NOT NULL DEFAULT '0',
`Uploaded` tinyint(3) unsigned NOT NULL DEFAULT '0',
`Emailed` tinyint(3) unsigned NOT NULL DEFAULT '0',
`Messaged` tinyint(3) unsigned NOT NULL DEFAULT '0',
`Executed` tinyint(3) unsigned NOT NULL DEFAULT '0',
`Notes` text,
PRIMARY KEY (`Id`,`MonitorId`),
KEY `MonitorId` (`MonitorId`),
KEY `StartTime` (`StartTime`),
KEY `Frames` (`Frames`),
KEY `Archived` (`Archived`)
) ENGINE=InnoDB AUTO_INCREMENT=1443597 DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `Events`
--
LOCK TABLES `Events` WRITE;
/*!40000 ALTER TABLE `Events` DISABLE KEYS */;
/*!40000 ALTER TABLE `Events` ENABLE KEYS */;
UNLOCK TABLES;
Is there a problem with Name and Cause, maybe?