TwoFactorRecoveryCodes table
The TwoFactorRecoveryCodes table in the Shipfolio schema has 5 columns, keyed by Id, with 1 foreign key to AspNetUsers.
Columns (5)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key | |
| UserId | uuid | not null, references AspNetUsers.Id | |
| CodeHash | varchar(64) | not null | |
| CreatedAt | timestamptz | not null | |
| UsedAt | timestamptz |
Indexes (1)
(UserId, CodeHash)unique (IX_TwoFactorRecoveryCodes_UserId_CodeHash)
Relationships
TwoFactorRecoveryCodes.UserIdreferencesAspNetUsers.Id