1
0
Fork 0
mirror of synced 2024-06-14 16:54:52 +12:00

Update app/http.php

Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
This commit is contained in:
Damodar Lohani 2022-10-16 11:49:12 +05:45 committed by GitHub
parent 00973d4a14
commit 90e9e5e7fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -96,7 +96,7 @@ $http->on('start', function (Server $http) use ($payloadSize, $register) {
Console::success('[Setup] - Creating database: appwrite...');
$dbForConsole->create(App::getEnv('_APP_DB_SCHEMA', 'appwrite'));
} catch (\Exception $e) {
Console::error('Failed to create database: ' . $e->getMessage());
Console::success('[Setup] - Skip: metadata table already exists');
}
if ($dbForConsole->getCollection(Audit::COLLECTION)->isEmpty()) {