BanEntries table

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

Columns (8)

Columns of the BanEntries table
ColumnTypeConstraintsDescription
Iduuidprimary key
Kindvarchar(50)not null
Valuevarchar(320)not null
BannedUserIduuidnot null, references AspNetUsers.Id
Reasonvarchar(500)not null
CreatedByIduuidnot null
CreatedAttimestamptznot null
ExpiresAttimestamptz

Indexes (2)

  • (BannedUserId, Kind, Value) unique (IX_BanEntries_BannedUserId_Kind_Value)
  • (Value, Kind) (IX_BanEntries_Value_Kind)

Relationships