Don't set tenant for project collections creation

This commit is contained in:
Jake Barnby committed 2024-08-12 23:46:34 +12:00
1 parent a23402075e
commit 8ff72b341e
1 file changed
+1 -1
+1 -1
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