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)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key | |
| Kind | varchar(50) | not null | |
| Value | varchar(320) | not null | |
| BannedUserId | uuid | not null, references AspNetUsers.Id | |
| Reason | varchar(500) | not null | |
| CreatedById | uuid | not null | |
| CreatedAt | timestamptz | not null | |
| ExpiresAt | timestamptz |
Indexes (2)
(BannedUserId, Kind, Value)unique (IX_BanEntries_BannedUserId_Kind_Value)(Value, Kind)(IX_BanEntries_Value_Kind)
Relationships
BanEntries.BannedUserIdreferencesAspNetUsers.IdLoginEvents.BanEntryIdreferencesBanEntries