Skip to content
Snippets Groups Projects
Commit 1eea2bfc authored by Pavel Kácha's avatar Pavel Kácha
Browse files

DB schema and warnings cleanup 2 (now really removed surplus and unnecessary columns from schema)

parent bc25053a
No related branches found
No related tags found
No related merge requests found
......@@ -130,15 +130,10 @@ INSERT INTO `clients` (`id`, `hostname`, `registered`, `requestor`, `note`, `val
CREATE TABLE IF NOT EXISTS `events` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`detected_epoch` int(11) NOT NULL,
`received` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`detected` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
`service_id` int(11) NOT NULL,
`data` text NOT NULL,
`valid` tinyint(1) NOT NULL DEFAULT '1',
`origin` varchar(64) NOT NULL,
`origin_hash` varchar(32) NOT NULL,
`origin_long` varchar(64) NOT NULL,
PRIMARY KEY (`id`),
KEY `detected` (`detected`),
KEY `id` (`id`,`service_id`)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment