Merge pull request #6445 from appwrite/chore-patch-prevent-db-creates
chore: remove DB creates
This commit is contained in:
commit
58165e9389
2 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
|
|
|
@ -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');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue