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)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key | |
| ThreadId | uuid | not null, references Threads.Id | |
| UserId | uuid | not null, references AspNetUsers.Id | |
| CreatedAt | timestamptz | not null |
Indexes (2)
(ThreadId, UserId)unique (IX_ThreadVotes_ThreadId_UserId)(UserId)(IX_ThreadVotes_UserId)
Relationships
ThreadVotes.ThreadIdreferencesThreads.IdThreadVotes.UserIdreferencesAspNetUsers.Id