From e1281d65bc3939b51c2da886959023c9aa0791cd Mon Sep 17 00:00:00 2001 From: Jakub Onderka Date: Tue, 1 Sep 2020 19:05:26 +0200 Subject: [PATCH] fix: [internal] Nonsense index names --- INSTALL/MYSQL.sql | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/INSTALL/MYSQL.sql b/INSTALL/MYSQL.sql index ecc782b4a..7fc310478 100644 --- a/INSTALL/MYSQL.sql +++ b/INSTALL/MYSQL.sql @@ -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; -- --------------------------------------------------------