chg: [schema] Mark event_blocklist uuid column as unique

pull/7615/head
Jakub Onderka 2021-08-02 12:20:55 +02:00
parent 7748598750
commit 6f0e4ebecf
2 changed files with 2 additions and 2 deletions

View File

@ -299,7 +299,7 @@ CREATE TABLE IF NOT EXISTS `event_blocklists` (
`comment` TEXT CHARACTER SET utf8 COLLATE utf8_unicode_ci,
`event_orgc` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
PRIMARY KEY (`id`),
INDEX `event_uuid` (`event_uuid`),
UNIQUE INDEX `event_uuid` (`event_uuid`),
INDEX `event_orgc` (`event_orgc`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;

View File

@ -7857,7 +7857,7 @@
},
"event_blocklists": {
"id": true,
"event_uuid": false,
"event_uuid": true,
"event_orgc": false
},
"event_delegations": {