Skip to content

Commit

Permalink
fix(systemtags): Keep non-existing index
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Klehr <[email protected]>
  • Loading branch information
marcelklehr authored and miaulalala committed Jun 27, 2023
1 parent a30a1d0 commit 65769bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/Migrations/Version13000Date20170718121200.php
Original file line number Diff line number Diff line change
Expand Up @@ -753,6 +753,7 @@ public function changeSchema(IOutput $output, \Closure $schemaClosure, array $op
'unsigned' => true,
]);
$table->setPrimaryKey(['objecttype', 'objectid', 'systemtagid'], 'som_pk');
// $table->addUniqueIndex(['objecttype', 'objectid', 'systemtagid'], 'mapping');
$table->addIndex(['systemtagid', 'objecttype'], 'systag_by_tagid');
}

Expand Down

0 comments on commit 65769bc

Please sign in to comment.