Fix bug
This commit is contained in:
parent
d5216d5b14
commit
a89b73d20b
1 changed files with 2 additions and 1 deletions
|
@ -178,9 +178,10 @@ App::post('/v1/projects')
|
||||||
if (empty($dbForProject)) {
|
if (empty($dbForProject)) {
|
||||||
$dbForProject = new Database($pools->get($database)->pop()->getResource(), $cache);
|
$dbForProject = new Database($pools->get($database)->pop()->getResource(), $cache);
|
||||||
$dbForProject->setNamespace("_{$project->getInternalId()}");
|
$dbForProject->setNamespace("_{$project->getInternalId()}");
|
||||||
$dbForProject->create();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$dbForProject->create();
|
||||||
|
|
||||||
$audit = new Audit($dbForProject);
|
$audit = new Audit($dbForProject);
|
||||||
$audit->setup();
|
$audit->setup();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue