mirror of https://github.com/MISP/MISP
chg: [internal] Organisation and object UUID should be unique
parent
7748598750
commit
6130065b5b
|
@ -664,7 +664,7 @@ CREATE TABLE IF NOT EXISTS `objects` (
|
|||
INDEX `template_version` (`template_version`),
|
||||
INDEX `meta-category` (`meta-category`),
|
||||
INDEX `event_id` (`event_id`),
|
||||
INDEX `uuid` (`uuid`),
|
||||
UNIQUE INDEX `uuid` (`uuid`),
|
||||
INDEX `timestamp` (`timestamp`),
|
||||
INDEX `distribution` (`distribution`),
|
||||
INDEX `sharing_group_id` (`sharing_group_id`),
|
||||
|
@ -787,7 +787,7 @@ CREATE TABLE IF NOT EXISTS `organisations` (
|
|||
`restricted_to_domain` text COLLATE utf8_bin,
|
||||
`landingpage` text CHARACTER SET utf8 COLLATE utf8_unicode_ci,
|
||||
PRIMARY KEY (`id`),
|
||||
INDEX `uuid` (`uuid`),
|
||||
UNIQUE INDEX `uuid` (`uuid`),
|
||||
INDEX `name` (`name`(255))
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
||||
|
||||
|
|
|
@ -7991,7 +7991,7 @@
|
|||
"template_version": false,
|
||||
"meta-category": false,
|
||||
"event_id": false,
|
||||
"uuid": false,
|
||||
"uuid": true,
|
||||
"timestamp": false,
|
||||
"distribution": false,
|
||||
"sharing_group_id": false,
|
||||
|
@ -8026,7 +8026,7 @@
|
|||
},
|
||||
"organisations": {
|
||||
"id": true,
|
||||
"uuid": false,
|
||||
"uuid": true,
|
||||
"name": false
|
||||
},
|
||||
"org_blocklists": {
|
||||
|
|
Loading…
Reference in New Issue