TwoFactorRecoveryCodes table

The TwoFactorRecoveryCodes table in the Shipfolio schema has 5 columns, keyed by Id, with 1 foreign key to AspNetUsers.

Columns (5)

Columns of the TwoFactorRecoveryCodes table
ColumnTypeConstraintsDescription
Iduuidprimary key
UserIduuidnot null, references AspNetUsers.Id
CodeHashvarchar(64)not null
CreatedAttimestamptznot null
UsedAttimestamptz

Indexes (1)

  • (UserId, CodeHash) unique (IX_TwoFactorRecoveryCodes_UserId_CodeHash)

Relationships