diff options
author | Louis Chemineau <louis@chmn.me> | 2024-02-22 17:41:16 +0100 |
---|---|---|
committer | Louis Chemineau <louis@chmn.me> | 2024-02-22 18:12:30 +0100 |
commit | 261efaafd3f2cd1c8268eaa90ddecf4755a73e9b (patch) | |
tree | a99f58f9e77e2749daecdd1f6d12536ca18cb4a4 /lib/private/Repair.php | |
parent | fb0a2d54fbbed64277db0479ff2b9c64464f3baf (diff) | |
download | nextcloud-server-261efaafd3f2cd1c8268eaa90ddecf4755a73e9b.tar.gz nextcloud-server-261efaafd3f2cd1c8268eaa90ddecf4755a73e9b.zip |
Move oc_file_metadata.metadata migration to a background job
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'lib/private/Repair.php')
-rw-r--r-- | lib/private/Repair.php | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/lib/private/Repair.php b/lib/private/Repair.php index 541073de1ee..99af19ddb79 100644 --- a/lib/private/Repair.php +++ b/lib/private/Repair.php @@ -34,19 +34,14 @@ */ namespace OC; -use OC\Repair\AddRemoveOldTasksBackgroundJob; -use OC\Repair\CleanUpAbandonedApps; -use OCP\AppFramework\QueryException; -use OCP\AppFramework\Utility\ITimeFactory; -use OCP\Collaboration\Resources\IManager; -use OCP\EventDispatcher\IEventDispatcher; -use OCP\Migration\IOutput; -use OCP\Migration\IRepairStep; use OC\DB\Connection; use OC\DB\ConnectionAdapter; use OC\Repair\AddBruteForceCleanupJob; use OC\Repair\AddCleanupUpdaterBackupsJob; +use OC\Repair\AddMetadataMigrationJob; +use OC\Repair\AddRemoveOldTasksBackgroundJob; use OC\Repair\CleanTags; +use OC\Repair\CleanUpAbandonedApps; use OC\Repair\ClearFrontendCaches; use OC\Repair\ClearGeneratedAvatarCache; use OC\Repair\Collation; @@ -86,6 +81,12 @@ use OC\Repair\RepairInvalidShares; use OC\Repair\RepairMimeTypes; use OC\Repair\SqliteAutoincrement; use OC\Template\JSCombiner; +use OCP\AppFramework\QueryException; +use OCP\AppFramework\Utility\ITimeFactory; +use OCP\Collaboration\Resources\IManager; +use OCP\EventDispatcher\IEventDispatcher; +use OCP\Migration\IOutput; +use OCP\Migration\IRepairStep; use Psr\Log\LoggerInterface; use Throwable; @@ -212,6 +213,7 @@ class Repair implements IOutput { \OCP\Server::get(CleanUpAbandonedApps::class), \OCP\Server::get(AddMissingSecretJob::class), \OCP\Server::get(AddRemoveOldTasksBackgroundJob::class), + \OCP\Server::get(AddMetadataMigrationJob::class), ]; } |