summaryrefslogtreecommitdiffstats
path: root/core/Command/Db
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2020-12-23 17:50:50 +0100
committerVincent Petry <vincent@nextcloud.com>2020-12-23 17:50:50 +0100
commitbdbec28a8fe283edfc3368cc420aec02f19e1d0a (patch)
treeef06a0fd1bc212b8a2a1a256f4ba782fb215515e /core/Command/Db
parent5b61120491f57485579954f3f2f973ca5e6b483f (diff)
downloadnextcloud-server-bdbec28a8fe283edfc3368cc420aec02f19e1d0a.tar.gz
nextcloud-server-bdbec28a8fe283edfc3368cc420aec02f19e1d0a.zip
Make oc_files_trash.auto_id a bigint
Adjusted migration. Added to occ command to update existing tables. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'core/Command/Db')
-rw-r--r--core/Command/Db/ConvertFilecacheBigInt.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/Command/Db/ConvertFilecacheBigInt.php b/core/Command/Db/ConvertFilecacheBigInt.php
index 4955dd12f81..d607b8b35a7 100644
--- a/core/Command/Db/ConvertFilecacheBigInt.php
+++ b/core/Command/Db/ConvertFilecacheBigInt.php
@@ -69,6 +69,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'],