diff options
author | Vincent Petry <vincent@nextcloud.com> | 2022-02-10 18:00:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-10 18:00:29 +0100 |
commit | 6f32be1cf6e7ed8cba1e49e8c27feb0ff3b722c9 (patch) | |
tree | 286bd556dc56ba03a296d02e236229b9ac97dcb2 /core/Migrations | |
parent | cd1bf941816b9cd041b61eedc8eea93c7dc423a3 (diff) | |
parent | 415294e34591b48c598bf38da33a5ad7b40acf7c (diff) | |
download | nextcloud-server-6f32be1cf6e7ed8cba1e49e8c27feb0ff3b722c9.tar.gz nextcloud-server-6f32be1cf6e7ed8cba1e49e8c27feb0ff3b722c9.zip |
Merge pull request #31042 from nextcloud/enh/direct_edit_index
Add index for direct editing cleanup job
Diffstat (limited to 'core/Migrations')
-rw-r--r-- | core/Migrations/Version18000Date20191014105105.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/Migrations/Version18000Date20191014105105.php b/core/Migrations/Version18000Date20191014105105.php index fa7eed899ae..740a03ba5d1 100644 --- a/core/Migrations/Version18000Date20191014105105.php +++ b/core/Migrations/Version18000Date20191014105105.php @@ -89,6 +89,7 @@ class Version18000Date20191014105105 extends SimpleMigrationStep { $table->setPrimaryKey(['id']); $table->addIndex(['token']); + $table->addIndex(['timestamp'], 'direct_edit_timestamp'); return $schema; } |