Return only if changed

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
This commit is contained in:
Git'Fellow 2023-11-01 17:17:44 +01:00 committed by GitHub
parent 91c92f533e
commit a075c85eef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,9 +54,8 @@ class Version28000Date20230803221055 extends SimpleMigrationStep {
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) {