ThreadVotes table

The ThreadVotes table in the Shipfolio schema has 4 columns, keyed by Id, with 2 foreign keys to Threads and AspNetUsers.

Columns (4)

Columns of the ThreadVotes table
ColumnTypeConstraintsDescription
Iduuidprimary key
ThreadIduuidnot null, references Threads.Id
UserIduuidnot null, references AspNetUsers.Id
CreatedAttimestamptznot null

Indexes (2)

  • (ThreadId, UserId) unique (IX_ThreadVotes_ThreadId_UserId)
  • (UserId) (IX_ThreadVotes_UserId)

Relationships