aboutsummaryrefslogtreecommitdiffstats
path: root/core/Migrations/Version13000Date20170718121200.php
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2023-06-22 09:49:53 +0200
committerMarcel Klehr <mklehr@gmx.net>2023-06-22 09:49:53 +0200
commitee9ad9c9dedb8a48fc8dc6b812091338e69ff567 (patch)
treee159da661286890211bda7c0e44ef0fbefabd7d2 /core/Migrations/Version13000Date20170718121200.php
parentfcf1c3033be74fa3797f5e4b43a8be6f5838d383 (diff)
downloadnextcloud-server-ee9ad9c9dedb8a48fc8dc6b812091338e69ff567.tar.gz
nextcloud-server-ee9ad9c9dedb8a48fc8dc6b812091338e69ff567.zip
fix(systemtags): Move index creation from new migration to existing original migration
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Diffstat (limited to 'core/Migrations/Version13000Date20170718121200.php')
-rw-r--r--core/Migrations/Version13000Date20170718121200.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Migrations/Version13000Date20170718121200.php b/core/Migrations/Version13000Date20170718121200.php
index 34a249814fb..bcf14656fec 100644
--- a/core/Migrations/Version13000Date20170718121200.php
+++ b/core/Migrations/Version13000Date20170718121200.php
@@ -753,7 +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');
}
if (!$schema->hasTable('systemtag_group')) {