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
co-authored by Eldad A. Fux
parent 00973d4a14
commit 90e9e5e7fd
+1 -1
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()) {