Skip to content

Commit b14e95e

Browse files
committed
fix(systemtags): Keep non-existing index
Signed-off-by: Marcel Klehr <[email protected]>
1 parent ae97891 commit b14e95e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/Migrations/Version13000Date20170718121200.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -754,6 +754,7 @@ public function changeSchema(IOutput $output, \Closure $schemaClosure, array $op
754754
'unsigned' => true,
755755
]);
756756
$table->setPrimaryKey(['objecttype', 'objectid', 'systemtagid'], 'som_pk');
757+
// $table->addUniqueIndex(['objecttype', 'objectid', 'systemtagid'], 'mapping');
757758
$table->addIndex(['systemtagid', 'objecttype'], 'systag_by_tagid');
758759
}
759760

0 commit comments

Comments
 (0)