diff --git a/apps/files_trashbin/lib/Migration/Version1010Date20200630192639.php b/apps/files_trashbin/lib/Migration/Version1010Date20200630192639.php index 4b3f2d9f79..e5443a1f79 100644 --- a/apps/files_trashbin/lib/Migration/Version1010Date20200630192639.php +++ b/apps/files_trashbin/lib/Migration/Version1010Date20200630192639.php @@ -45,10 +45,9 @@ class Version1010Date20200630192639 extends SimpleMigrationStep { if (!$schema->hasTable('files_trash')) { $table = $schema->createTable('files_trash'); - $table->addColumn('auto_id', Types::INTEGER, [ + $table->addColumn('auto_id', Types::BIGINT, [ 'autoincrement' => true, 'notnull' => true, - 'length' => 4, ]); $table->addColumn('id', Types::STRING, [ 'notnull' => true, diff --git a/core/Command/Db/ConvertFilecacheBigInt.php b/core/Command/Db/ConvertFilecacheBigInt.php index 6575d41d3b..900c368f1b 100644 --- a/core/Command/Db/ConvertFilecacheBigInt.php +++ b/core/Command/Db/ConvertFilecacheBigInt.php @@ -67,6 +67,7 @@ class ConvertFilecacheBigInt extends Command { 'federated_reshares' => ['share_id'], 'filecache' => ['fileid', 'storage', 'parent', 'mimetype', 'mimepart', 'mtime', 'storage_mtime'], 'filecache_extended' => ['fileid'], + 'files_trash' => ['auto_id'], 'file_locks' => ['id'], 'jobs' => ['id'], 'mimetypes' => ['id'],