PasskeyCredentials table

The PasskeyCredentials table in the FitStack - V2 schema has 14 columns, keyed by Id, with 1 foreign key to Users.

FIDO2 / WebAuthn. AggregateRoot base.

Columns (14)

Columns of the PasskeyCredentials table
ColumnTypeConstraintsDescription
Iduuidprimary key, not null
UserIdtextnot null, references Users.Id
CredentialIdbyteanot null
PublicKeybyteanot null
SignatureCounterbigintnot null
CredentialTypetext
AaGuiduuidnot null
Transportstext[]not null
DeviceNametextnot null
LastUsedAttimestamp with time zonenot null
IsActivebooleannot null
Versionintegernot null
CreatedAttimestamp with time zonenot null
LastModifiedAttimestamp with time zone

Indexes (3)

  • (CredentialId) unique (IX_PasskeyCredentials_CredentialId)
  • (UserId) (IX_PasskeyCredentials_UserId)
  • (UserId, IsActive) (IX_PasskeyCredentials_UserId_IsActive)

Relationships

  • PasskeyCredentials.UserId references Users.Id