This commit is contained in:
shimon
2022-06-20 14:44:04 +03:00
parent 56545a7344
commit aa6ff513a6
4 changed files with 6 additions and 32 deletions
+3 -1
View File
@@ -121,6 +121,8 @@ App::post('/v1/projects')
if (($collection['$collection'] ?? '') !== Database::METADATA) {
continue;
}
$attributes = [];
$indexes = [];
@@ -147,7 +149,7 @@ App::post('/v1/projects')
'orders' => $index['orders'],
]);
}
var_dump($key);
$dbForProject->createCollection($key, $attributes, $indexes);
}