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)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key | |
| ReplyId | uuid | not null, references ThreadReplies.Id | |
| UserId | uuid | not null, references AspNetUsers.Id | |
| CreatedAt | timestamptz | not null |
Indexes (2)
(ReplyId, UserId)unique (IX_ReplyVotes_ReplyId_UserId)(UserId)(IX_ReplyVotes_UserId)
Relationships
ReplyVotes.ReplyIdreferencesThreadReplies.IdReplyVotes.UserIdreferencesAspNetUsers.Id