From: Marcel Klehr Date: Thu, 22 Jun 2023 08:12:15 +0000 (+0200) Subject: fix(systemtags): Keep non-existing index X-Git-Tag: v28.0.0beta1~849^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e7747084828c2f7fbc4e4dc0f03191955fc71ee9;p=nextcloud-server.git fix(systemtags): Keep non-existing index Signed-off-by: Marcel Klehr --- diff --git a/core/Migrations/Version13000Date20170718121200.php b/core/Migrations/Version13000Date20170718121200.php index bcf14656fec..05cdbcfd6b5 100644 --- a/core/Migrations/Version13000Date20170718121200.php +++ b/core/Migrations/Version13000Date20170718121200.php @@ -753,6 +753,7 @@ class Version13000Date20170718121200 extends SimpleMigrationStep { 'unsigned' => true, ]); $table->setPrimaryKey(['objecttype', 'objectid', 'systemtagid'], 'som_pk'); +// $table->addUniqueIndex(['objecttype', 'objectid', 'systemtagid'], 'mapping'); $table->addIndex(['systemtagid', 'objecttype'], 'systag_by_tagid'); }