aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2024-05-07 13:25:33 +0200
committerMarcel Klehr <mklehr@gmx.net>2024-05-14 11:38:41 +0200
commita045e0c47a2f95b9e3385ba4350b413c07afa2d3 (patch)
treeca1c76c73b88e02999dd16762bd466e8c96bfc7f
parentc079a611815d973157be0a93b10c85e5cb505b38 (diff)
downloadnextcloud-server-a045e0c47a2f95b9e3385ba4350b413c07afa2d3.tar.gz
nextcloud-server-a045e0c47a2f95b9e3385ba4350b413c07afa2d3.zip
fix: fix migration
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
-rw-r--r--core/Migrations/Version30000Date20240429122720.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Migrations/Version30000Date20240429122720.php b/core/Migrations/Version30000Date20240429122720.php
index bbd59d95813..2b9f3f5439d 100644
--- a/core/Migrations/Version30000Date20240429122720.php
+++ b/core/Migrations/Version30000Date20240429122720.php
@@ -79,7 +79,7 @@ class Version30000Date20240429122720 extends SimpleMigrationStep {
'length' => 32,
'default' => '',
]);
- $table->addColumn('identifier', Types::STRING, [
+ $table->addColumn('custom_id', Types::STRING, [
'notnull' => false,
'length' => 255,
'default' => '',
@@ -105,7 +105,7 @@ class Version30000Date20240429122720 extends SimpleMigrationStep {
$table->setPrimaryKey(['id'], 'taskp_tasks_id_index');
$table->addIndex(['status', 'type'], 'taskp_tasks_status_type');
$table->addIndex(['last_updated'], 'taskp_tasks_updated');
- $table->addIndex(['user_id', 'app_id', 'identifier'], 'taskp_tasks_uid_appid_ident');
+ $table->addIndex(['user_id', 'app_id', 'custom_id'], 'taskp_tasks_uid_appid_ident');
return $schema;
}