chg: [schema] Sightings UUID column should be unique

pull/7645/head
Jakub Onderka 2021-08-11 14:19:28 +02:00
parent e40b4307b9
commit d6136a9c62
2 changed files with 2 additions and 2 deletions

View File

@ -1109,7 +1109,7 @@ CREATE TABLE IF NOT EXISTS `sightings` (
INDEX `attribute_id` (`attribute_id`),
INDEX `event_id` (`event_id`),
INDEX `org_id` (`org_id`),
INDEX `uuid` (`uuid`),
UNIQUE INDEX `uuid` (`uuid`),
INDEX `source` (`source`),
INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;

View File

@ -8115,7 +8115,7 @@
"attribute_id": false,
"event_id": false,
"org_id": false,
"uuid": false,
"uuid": true,
"source": false,
"type": false
},