diff options
author | Joas Schilling <coding@schilljs.com> | 2017-10-13 11:46:50 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2017-10-13 11:46:50 +0200 |
commit | 6acf1d95240e38abffe52fd2e4d93e8b7a0c47c1 (patch) | |
tree | e3c9acefb3e4bc1b6e03ffffcfe133df2f885b96 | |
parent | e2ec6b33ea39a38bfaa01e733f1211de8aab2b57 (diff) | |
download | nextcloud-server-6acf1d95240e38abffe52fd2e4d93e8b7a0c47c1.tar.gz nextcloud-server-6acf1d95240e38abffe52fd2e4d93e8b7a0c47c1.zip |
Also update the activity table with this
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r-- | core/Command/Db/ConvertFilecacheBigInt.php | 6 |
1 files changed, 6 insertions, 0 deletions
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) { |