aboutsummaryrefslogtreecommitdiffstats
path: root/core/Migrations
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2023-07-07 11:35:38 +0200
committerMarcel Klehr <mklehr@gmx.net>2023-07-07 13:39:10 +0200
commit0909657ea03bd195ba2e0acb1c0a3b63aec79894 (patch)
tree6144ca0f514f271a621591d959f1ea0a6ed10811 /core/Migrations
parentbad124c07bb3ef541c31cfa94131df730c1ac30f (diff)
downloadnextcloud-server-0909657ea03bd195ba2e0acb1c0a3b63aec79894.tar.gz
nextcloud-server-0909657ea03bd195ba2e0acb1c0a3b63aec79894.zip
LLM Migration: Return null if nothing changed
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Diffstat (limited to 'core/Migrations')
-rw-r--r--core/Migrations/Version28000Date20230616104802.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/Migrations/Version28000Date20230616104802.php b/core/Migrations/Version28000Date20230616104802.php
index f13f2ef03a6..a4520b3c5bc 100644
--- a/core/Migrations/Version28000Date20230616104802.php
+++ b/core/Migrations/Version28000Date20230616104802.php
@@ -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;
}
}