AlternativeVotes table

The AlternativeVotes table in the Shipfolio schema has 13 columns, keyed by Id, with 3 foreign keys to Listings, Tools and AspNetUsers. 1 column in AlternativeVoteReports references it.

Columns (13)

Columns of the AlternativeVotes table
ColumnTypeConstraintsDescription
Iduuidprimary key
Kindvarchar(50)not null
SubjectKeyvarchar(100)not null
ListingIduuidreferences Listings.Id
ToolIduuidreferences Tools.Id
UserIduuidnot null, references AspNetUsers.Id
Verdictvarchar(50)not null
Opinionvarchar(500)
Statusvarchar(50)not null
ModerationNotevarchar(300)
ReportedAttimestamptz
CreatedAttimestamptznot null
EditedAttimestamptz

Indexes (4)

  • (Kind, SubjectKey, Status) (IX_AlternativeVotes_Kind_SubjectKey_Status)
  • (ListingId) (IX_AlternativeVotes_ListingId)
  • (ToolId) (IX_AlternativeVotes_ToolId)
  • (UserId) (IX_AlternativeVotes_UserId)

Relationships