ReplyVotes table

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

Columns (4)

Columns of the ReplyVotes table
ColumnTypeConstraintsDescription
Iduuidprimary key
ReplyIduuidnot null, references ThreadReplies.Id
UserIduuidnot null, references AspNetUsers.Id
CreatedAttimestamptznot null

Indexes (2)

  • (ReplyId, UserId) unique (IX_ReplyVotes_ReplyId_UserId)
  • (UserId) (IX_ReplyVotes_UserId)

Relationships