Update asteriskcontactid.sql

This commit is contained in:
WillCodeForCats 2023-07-30 13:45:44 -07:00
parent a61c59092d
commit f05fa5f289
No known key found for this signature in database
GPG key ID: 097AC827804B0384

View file

@ -4,16 +4,16 @@
DROP TABLE IF EXISTS `alarmreceiver`;
CREATE TABLE `alarmreceiver` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`timestamp` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
`account` smallint(5) unsigned NOT NULL,
`event` varchar(16) NOT NULL,
`protocol` enum('ADEMCO_CONTACT_ID') NOT NULL,
`callingfrom` varchar(80) NOT NULL DEFAULT '',
`callername` varchar(80) NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
KEY `account` (`account`),
KEY `callingfrom` (`callingfrom`)
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`timestamp` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
`account` smallint(5) unsigned NOT NULL,
`event` varchar(16) NOT NULL,
`protocol` enum('ADEMCO_CONTACT_ID') NOT NULL,
`callingfrom` varchar(80) NOT NULL DEFAULT '',
`callername` varchar(80) NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
KEY `account` (`account`),
KEY `callingfrom` (`callingfrom`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
@ -23,8 +23,8 @@ CREATE TABLE `alarmreceiver` (
DROP TABLE IF EXISTS `alarmreceiver_test`;
CREATE TABLE `alarmreceiver_test` (
`account` smallint(5) unsigned NOT NULL,
`test_interval` smallint(5) unsigned NOT NULL DEFAULT '24',
`timestamp` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY (`account`)
`account` smallint(5) unsigned NOT NULL,
`test_interval` smallint(5) unsigned NOT NULL DEFAULT '24',
`timestamp` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY (`account`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;