Added application IDs

This commit is contained in:
Pinga 2023-12-19 09:20:25 +02:00
parent 3a6319fe6d
commit 8bb3ed7900
5 changed files with 33 additions and 1 deletions

View file

@ -339,6 +339,18 @@ class ApplicationsController extends Controller
]);
$domain_id = $db->getlastInsertId();
$uuid = createUuidFromId($domain_id);
$db->update(
'application',
[
'application_id' => $uuid
],
[
'id' => $domain_id
]
);
$db->insert('application_status', [
'domain_id' => $domain_id,
'status' => 'pendingValidation'