fix: [internal] Nonsense index names

pull/6272/head
Jakub Onderka 2020-09-01 19:05:26 +02:00
parent 0e916bd364
commit e1281d65bc
1 changed files with 2 additions and 3 deletions

View File

@ -604,7 +604,6 @@ CREATE TABLE IF NOT EXISTS `object_references` (
`relationship_type` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci,
`comment` text COLLATE utf8_bin NOT NULL,
`deleted` tinyint(1) NOT NULL DEFAULT 0,
PRIMARY KEY (id),
INDEX `source_uuid` (`source_uuid`),
INDEX `referenced_uuid` (`referenced_uuid`),
@ -1012,8 +1011,8 @@ CREATE TABLE IF NOT EXISTS tag_collection_tags (
`tag_collection_id` int(11) NOT NULL,
`tag_id` int(11) NOT NULL,
PRIMARY KEY (id),
INDEX `uuid` (`tag_collection_id`),
INDEX `user_id` (`tag_id`)
INDEX `tag_collection_id` (`tag_collection_id`),
INDEX `tag_id` (`tag_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------