diff options
author | Marcel Klehr <mklehr@gmx.net> | 2023-06-22 10:12:15 +0200 |
---|---|---|
committer | Marcel Klehr <mklehr@gmx.net> | 2023-06-22 10:12:15 +0200 |
commit | e7747084828c2f7fbc4e4dc0f03191955fc71ee9 (patch) | |
tree | 24b69dda2093a58f170fa7cf6d8dd780ca4bb363 /core/Migrations/Version13000Date20170718121200.php | |
parent | ee9ad9c9dedb8a48fc8dc6b812091338e69ff567 (diff) | |
download | nextcloud-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.php | 1 |
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'); } |