fix: update files on migration

This commit is contained in:
Torsten Dittmann 2022-06-24 18:15:51 +02:00
parent 016d6939d5
commit ababeef84d
2 changed files with 10 additions and 9 deletions

12
composer.lock generated
View file

@ -2051,16 +2051,16 @@
}, },
{ {
"name": "utopia-php/database", "name": "utopia-php/database",
"version": "0.18.4", "version": "0.18.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/utopia-php/database.git", "url": "https://github.com/utopia-php/database.git",
"reference": "20aa3893f2f0a970226e54c1cf7d492c44681faa" "reference": "afdabd8fea127ec39b6e5518f7594b8f2e6c07db"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/utopia-php/database/zipball/20aa3893f2f0a970226e54c1cf7d492c44681faa", "url": "https://api.github.com/repos/utopia-php/database/zipball/afdabd8fea127ec39b6e5518f7594b8f2e6c07db",
"reference": "20aa3893f2f0a970226e54c1cf7d492c44681faa", "reference": "afdabd8fea127ec39b6e5518f7594b8f2e6c07db",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -2109,9 +2109,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/utopia-php/database/issues", "issues": "https://github.com/utopia-php/database/issues",
"source": "https://github.com/utopia-php/database/tree/0.18.4" "source": "https://github.com/utopia-php/database/tree/0.18.5"
}, },
"time": "2022-06-22T09:18:07+00:00" "time": "2022-06-24T16:14:12+00:00"
}, },
{ {
"name": "utopia-php/domains", "name": "utopia-php/domains",

View file

@ -61,9 +61,10 @@ class V14 extends Migration
/** /**
* Migrates all Files. * Migrates all Files.
* @param \Utopia\Database\Document $bucket *
* @return void * @param \Utopia\Database\Document $bucket
* @throws \Exception * @return void
* @throws \Exception
*/ */
protected function migrateBucketFiles(Document $bucket): void protected function migrateBucketFiles(Document $bucket): void
{ {