LLM Migration: Return null if nothing changed

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
pull/38854/head
Marcel Klehr 11 months ago
parent bad124c07b
commit 0909657ea0

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

Loading…
Cancel
Save