mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 09:13:19 -04:00
fix: fix migration
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
parent
c079a61181
commit
a045e0c47a
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue