aboutsummaryrefslogtreecommitdiffstats
path: root/core/Migrations/Version13000Date20170718121200.php
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2023-06-22 10:12:15 +0200
committerMarcel Klehr <mklehr@gmx.net>2023-06-22 10:12:15 +0200
commite7747084828c2f7fbc4e4dc0f03191955fc71ee9 (patch)
tree24b69dda2093a58f170fa7cf6d8dd780ca4bb363 /core/Migrations/Version13000Date20170718121200.php
parentee9ad9c9dedb8a48fc8dc6b812091338e69ff567 (diff)
downloadnextcloud-server-e7747084828c2f7fbc4e4dc0f03191955fc71ee9.tar.gz
nextcloud-server-e7747084828c2f7fbc4e4dc0f03191955fc71ee9.zip
fix(systemtags): Keep non-existing index
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Diffstat (limited to 'core/Migrations/Version13000Date20170718121200.php')
-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');
}