Don't set tenant for project collections creation

This commit is contained in:
Jake Barnby 2024-08-12 23:46:34 +12:00
parent a23402075e
commit 8ff72b341e
No known key found for this signature in database
GPG key ID: C437A8CC85B96E9C

View file

@ -188,7 +188,7 @@ App::post('/v1/projects')
if ($dsn->getHost() === System::getEnv('_APP_DATABASE_SHARED_TABLES', '')) {
$dbForProject
->setSharedTables(true)
->setTenant($project->getInternalId())
->setTenant(null)
->setNamespace($dsn->getParam('namespace'));
} else {
$dbForProject