diff options
author | Julius Härtl <jus@bitgrid.net> | 2022-02-07 09:25:27 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2022-02-07 09:25:27 +0100 |
commit | 415294e34591b48c598bf38da33a5ad7b40acf7c (patch) | |
tree | 31eb98ea615beb134ce5079d069e08e00c8c09c8 /core/Migrations/Version18000Date20191014105105.php | |
parent | 26df2c596b4851624afa1ef7534a3a1fbb89dfcf (diff) | |
download | nextcloud-server-415294e34591b48c598bf38da33a5ad7b40acf7c.tar.gz nextcloud-server-415294e34591b48c598bf38da33a5ad7b40acf7c.zip |
Add index for direct editing cleanup job
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'core/Migrations/Version18000Date20191014105105.php')
-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; } |