mirror of
https://github.com/getnamingo/registry.git
synced 2025-07-21 01:55:59 +02:00
WebAuthn registration completed
This commit is contained in:
parent
3684970ff9
commit
810d0cc7d1
6 changed files with 166 additions and 80 deletions
|
@ -539,6 +539,7 @@ CREATE TABLE IF NOT EXISTS `registry`.`users_webauthn` (
|
|||
`public_key` TEXT NOT NULL,
|
||||
`attestation_object` BLOB,
|
||||
`sign_count` BIGINT NOT NULL,
|
||||
`user_agent` VARCHAR(512),
|
||||
`created_at` DATETIME(3) DEFAULT CURRENT_TIMESTAMP,
|
||||
`last_used_at` DATETIME(3) DEFAULT CURRENT_TIMESTAMP,
|
||||
FOREIGN KEY (user_id) REFERENCES users(id)
|
||||
|
|
|
@ -509,6 +509,7 @@ CREATE TABLE IF NOT EXISTS registry.users_webauthn (
|
|||
"public_key" TEXT NOT NULL,
|
||||
"attestation_object" BYTEA,
|
||||
"sign_count" BIGINT NOT NULL,
|
||||
"user_agent" TEXT,
|
||||
"created_at" TIMESTAMP(3) WITH TIME ZONE DEFAULT CURRENT_TIMESTAMP,
|
||||
"last_used_at" TIMESTAMP(3) WITH TIME ZONE DEFAULT CURRENT_TIMESTAMP,
|
||||
FOREIGN KEY (user_id) REFERENCES users(id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue