1
0
Fork 0
mirror of synced 2024-06-29 19:50:26 +12:00

Merge pull request #3509 from stnguyen90/fix-3508-hardcoded-db-schema

Fix hardcoded appwrite database schema
This commit is contained in:
Torsten Dittmann 2022-07-11 12:16:04 +02:00 committed by GitHub
commit 5d7e7a48ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -113,7 +113,7 @@ App::post('/v1/projects')
$collections = Config::getParam('collections', []);
$dbForProject->setNamespace("_{$project->getInternalId()}");
$dbForProject->create('appwrite');
$dbForProject->create(App::getEnv('_APP_DB_SCHEMA', 'appwrite'));
$audit = new Audit($dbForProject);
$audit->setup();