mirror of https://github.com/MISP/MISP
chg: [schema] Organisation name should be unique
parent
ec87f8bfa3
commit
9ce19c4f09
|
@ -788,7 +788,7 @@ CREATE TABLE IF NOT EXISTS `organisations` (
|
|||
`landingpage` text CHARACTER SET utf8 COLLATE utf8_unicode_ci,
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE INDEX `uuid` (`uuid`),
|
||||
INDEX `name` (`name`(255))
|
||||
UNIQUE INDEX `name` (`name`(255))
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `org_blocklists` (
|
||||
|
|
|
@ -8027,7 +8027,7 @@
|
|||
"organisations": {
|
||||
"id": true,
|
||||
"uuid": true,
|
||||
"name": false
|
||||
"name": true
|
||||
},
|
||||
"org_blocklists": {
|
||||
"id": true,
|
||||
|
|
Loading…
Reference in New Issue