Skip to content

Commit

Permalink
Return only if changed
Browse files Browse the repository at this point in the history
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
  • Loading branch information
solracsf authored Nov 1, 2023
1 parent 91c92f5 commit a075c85
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/Migrations/Version28000Date20230803221055.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,8 @@ public function changeSchema(IOutput $output, Closure $schemaClosure, array $opt

if (!$table->hasIndex('tp_tasks_uid_appid_ident')) {
$table->addIndex(['user_id', 'app_id', 'identifier'], 'tp_tasks_uid_appid_ident');
$changed = true;
}

$changed = true;
}

if ($changed) {
Expand Down

0 comments on commit a075c85

Please sign in to comment.