mirror of https://github.com/MISP/MISP
chg: [schema] Set sharing group name as unique index
parent
2efc0be278
commit
4fa9660ff5
|
@ -1056,6 +1056,7 @@ CREATE TABLE IF NOT EXISTS `sharing_groups` (
|
|||
INDEX `org_id` (`org_id`),
|
||||
INDEX `sync_user_id` (`sync_user_id`),
|
||||
UNIQUE INDEX `uuid` (`uuid`),
|
||||
UNIQUE INDEX `name` (`name`),
|
||||
INDEX `organisation_uuid` (`organisation_uuid`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
||||
|
||||
|
|
|
@ -8062,6 +8062,7 @@
|
|||
"sharing_groups": {
|
||||
"id": true,
|
||||
"uuid": true,
|
||||
"name": true,
|
||||
"org_id": false,
|
||||
"sync_user_id": false,
|
||||
"organisation_uuid": false
|
||||
|
|
Loading…
Reference in New Issue