LLM Migration: Return null if nothing changed

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
Marcel Klehr 2023-07-07 11:35:38 +02:00
parent bad124c07b
commit 0909657ea0

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;
}
}