RefreshTokens table

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

Columns (8)

Columns of the RefreshTokens table
ColumnTypeConstraintsDescription
Iduuidprimary key
UserIduuidnot null, references AspNetUsers.Id
TokenHashvarchar(64)not null
FamilyIduuidnot null
CreatedAttimestamptznot null
ExpiresAttimestamptznot null
RevokedAttimestamptz
ReplacedByTokenIduuid

Indexes (3)

  • (FamilyId) (IX_RefreshTokens_FamilyId)
  • (TokenHash) unique (IX_RefreshTokens_TokenHash)
  • (UserId) (IX_RefreshTokens_UserId)

Relationships