summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2023-07-07 11:35:38 +0200
committerMarcel Klehr <mklehr@gmx.net>2023-08-09 10:01:57 +0200
commitb0cb5a43c7d2da31b0ca3c8b905bde62d83c2eb0 (patch)
tree30e249d134acf2ffb455e3bd9ced8da10dd3d747 /core
parent9a36bb4f91cf7889541754408bbca584f1d7efd9 (diff)
downloadnextcloud-server-b0cb5a43c7d2da31b0ca3c8b905bde62d83c2eb0.tar.gz
nextcloud-server-b0cb5a43c7d2da31b0ca3c8b905bde62d83c2eb0.zip
LLM Migration: Return null if nothing changed
Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 0909657ea03bd195ba2e0acb1c0a3b63aec79894)
Diffstat (limited to 'core')
-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;
}
}