1
0
Fork 0
mirror of synced 2024-07-06 15:11:21 +12:00

Merge pull request #6445 from appwrite/chore-patch-prevent-db-creates

chore: remove DB creates
This commit is contained in:
Christy Jacob 2023-10-02 17:38:19 -04:00 committed by GitHub
commit 58165e9389
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -170,7 +170,7 @@ App::post('/v1/projects')
$dbForProject = new Database($pools->get($database)->pop()->getResource(), $cache);
$dbForProject->setNamespace("_{$project->getInternalId()}");
$dbForProject->create();
// $dbForProject->create();
$audit = new Audit($dbForProject);
$audit->setup();

View file

@ -89,7 +89,7 @@ $http->on('start', function (Server $http) use ($payloadSize, $register) {
try {
Console::success('[Setup] - Creating database: appwrite...');
$dbForConsole->create();
// $dbForConsole->create();
} catch (\Exception $e) {
Console::success('[Setup] - Skip: metadata table already exists');
}