From 6acf1d95240e38abffe52fd2e4d93e8b7a0c47c1 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 13 Oct 2017 11:46:50 +0200 Subject: Also update the activity table with this Signed-off-by: Joas Schilling --- core/Command/Db/ConvertFilecacheBigInt.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/Command/Db/ConvertFilecacheBigInt.php b/core/Command/Db/ConvertFilecacheBigInt.php index da3e60fbb5e..75d3a48a5c8 100644 --- a/core/Command/Db/ConvertFilecacheBigInt.php +++ b/core/Command/Db/ConvertFilecacheBigInt.php @@ -52,6 +52,8 @@ class ConvertFilecacheBigInt extends Command { protected function getColumnsByTable() { return [ + 'activity' => ['activity_id', 'object_id'], + 'activity_mq' => ['mail_id'], 'filecache' => ['fileid', 'storage', 'parent', 'mimetype', 'mimepart'], 'mimetypes' => ['id'], 'storages' => ['numeric_id'], @@ -65,6 +67,10 @@ class ConvertFilecacheBigInt extends Command { $tables = $this->getColumnsByTable(); foreach ($tables as $tableName => $columns) { + if (!$schema->hasTable($tableName)) { + continue; + } + $table = $schema->getTable($tableName); foreach ($columns as $columnName) { -- cgit v1.2.3