LLM Migration: Return null if nothing changed

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 0909657ea0)
This commit is contained in:
Marcel Klehr 2023-07-07 11:35:38 +02:00
parent 9a36bb4f91
commit b0cb5a43c7

View file

@ -93,8 +93,10 @@ class Version28000Date20230616104802 extends SimpleMigrationStep {
$table->setPrimaryKey(['id'], 'llm_tasks_id_index');
$table->addUniqueIndex(['status', 'type'], 'llm_tasks_status_type');
$table->addIndex(['last_updated'], 'llm_tasks_updated');
return $schema;
}
return $schema;
return null;
}
}