mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
fix(systemtags): Keep non-existing index
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
parent
ee9ad9c9de
commit
e774708482
1 changed files with 1 additions and 0 deletions
|
|
@ -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');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue