mirror of
https://github.com/getnamingo/registry.git
synced 2025-08-02 15:51:49 +02:00
Added application IDs
This commit is contained in:
parent
3a6319fe6d
commit
8bb3ed7900
5 changed files with 33 additions and 1 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue