summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2023-06-22 10:12:15 +0200
committerMarcel Klehr <mklehr@gmx.net>2023-06-30 14:55:36 +0200
commit1448063ffdab89038fec4a6b3404b859685a4bae (patch)
tree52240a2062c59ace298d43ea46083ae34d3272ed
parent8c11c9055a1f390c67b51edf43666e5e666528f5 (diff)
downloadnextcloud-server-1448063ffdab89038fec4a6b3404b859685a4bae.tar.gz
nextcloud-server-1448063ffdab89038fec4a6b3404b859685a4bae.zip
fix(systemtags): Keep non-existing index
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
-rw-r--r--core/Migrations/Version13000Date20170718121200.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/Migrations/Version13000Date20170718121200.php b/core/Migrations/Version13000Date20170718121200.php
index 2d791ca2ed7..906e8c95ba4 100644
--- a/core/Migrations/Version13000Date20170718121200.php
+++ b/core/Migrations/Version13000Date20170718121200.php
@@ -754,6 +754,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');
}