LoginEvents table

The LoginEvents table in the Shipfolio schema has 11 columns, keyed by Id, with 1 foreign key to BanEntries. 1 column in SecondFactorChallenges references it.

Columns (11)

Columns of the LoginEvents table
ColumnTypeConstraintsDescription
Iduuidprimary key
UserIduuid
Emailvarchar(256)
Providervarchar(20)not null
Succeededbooleannot null
Errorvarchar(500)
OccurredAttimestamptznot null
BanEntryIduuidreferences BanEntries.Id
IpAddressvarchar(45)
UserAgentvarchar(512)
SecondFactorvarchar(50)

Indexes (3)

  • (BanEntryId) (IX_LoginEvents_BanEntryId)
  • (OccurredAt) (IX_LoginEvents_OccurredAt)
  • (UserId, OccurredAt) (IX_LoginEvents_UserId_OccurredAt)

Relationships