summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2023-06-22 10:12:15 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2023-07-10 18:41:42 +0200
commit7226a9a5600b7409720c49c11c449d5f56c9f11e (patch)
treeacfa0a50fdb3b586d0a413e87f03dce36a2428ad /core
parentdafe202c53058d40d1b6a1da94a1d25c190f0dc0 (diff)
downloadnextcloud-server-7226a9a5600b7409720c49c11c449d5f56c9f11e.tar.gz
nextcloud-server-7226a9a5600b7409720c49c11c449d5f56c9f11e.zip
fix(systemtags): Keep non-existing index
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Diffstat (limited to 'core')
-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 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');
}