mirror of https://github.com/MISP/MISP
chg: [schema] Sightings UUID column should be unique
parent
e40b4307b9
commit
d6136a9c62
|
@ -1109,7 +1109,7 @@ CREATE TABLE IF NOT EXISTS `sightings` (
|
||||||
INDEX `attribute_id` (`attribute_id`),
|
INDEX `attribute_id` (`attribute_id`),
|
||||||
INDEX `event_id` (`event_id`),
|
INDEX `event_id` (`event_id`),
|
||||||
INDEX `org_id` (`org_id`),
|
INDEX `org_id` (`org_id`),
|
||||||
INDEX `uuid` (`uuid`),
|
UNIQUE INDEX `uuid` (`uuid`),
|
||||||
INDEX `source` (`source`),
|
INDEX `source` (`source`),
|
||||||
INDEX `type` (`type`)
|
INDEX `type` (`type`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
||||||
|
|
|
@ -8115,7 +8115,7 @@
|
||||||
"attribute_id": false,
|
"attribute_id": false,
|
||||||
"event_id": false,
|
"event_id": false,
|
||||||
"org_id": false,
|
"org_id": false,
|
||||||
"uuid": false,
|
"uuid": true,
|
||||||
"source": false,
|
"source": false,
|
||||||
"type": false
|
"type": false
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue