Merge branch 'feat-react-native-platform' of https://github.com/appwrite/appwrite into feat-react-native-platform

This commit is contained in:
Torsten Dittmann
2024-08-21 13:22:30 +02:00
4 changed files with 39 additions and 5 deletions
+2 -1
View File
@@ -156,6 +156,7 @@ class V21 extends Migration
} catch (\Throwable $th) {
Console::warning("'scheduleId' from {$id}: {$th->getMessage()}");
}
break;
}
usleep(50000);
@@ -202,7 +203,7 @@ class V21 extends Migration
$bucketId = 'bucket_' . $bucket['$internalId'];
try {
$this->projectDB->updateAttribute($bucketId, 'metadata', size: 75000);
$this->projectDB->updateAttribute($bucketId, 'metadata', size: 65534);
$this->projectDB->purgeCachedCollection($bucketId);
} catch (\Throwable $th) {
Console::warning("'bucketId' from {$bucketId}: {$th->getMessage()}");
@@ -16,6 +16,7 @@ class V18 extends Filter
Response::MODEL_FUNCTION => $this->parseFunction($content),
Response::MODEL_EXECUTION => $this->parseExecution($content),
Response::MODEL_PROJECT => $this->parseProject($content),
Response::MODEL_RUNTIME => $this->parseRuntime($content),
default => $parsedResponse,
};
@@ -37,6 +38,7 @@ class V18 extends Filter
protected function parseFunction(array $content)
{
unset($content['scopes']);
unset($content['specification']);
return $content;
}
@@ -46,4 +48,10 @@ class V18 extends Filter
unset($content['authSessionAlerts']);
return $content;
}
protected function parseRuntime(array $content)
{
unset($content['key']);
return $content;
}
}