AlternativeVoteReports table
The AlternativeVoteReports table in the Shipfolio schema has 8 columns, keyed by Id, with 2 foreign keys to AlternativeVotes and AspNetUsers.
Columns (8)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key | |
| VoteId | uuid | not null, references AlternativeVotes.Id | |
| ReporterId | uuid | not null, references AspNetUsers.Id | |
| Reason | varchar(240) | not null | |
| Status | varchar(50) | not null | |
| CreatedAt | timestamptz | not null | |
| ResolvedAt | timestamptz | ||
| ResolvedBy | uuid |
Indexes (2)
(ReporterId, CreatedAt)(IX_AlternativeVoteReports_ReporterId_CreatedAt)(VoteId, ReporterId)unique (IX_AlternativeVoteReports_VoteId_ReporterId)
Relationships
AlternativeVoteReports.VoteIdreferencesAlternativeVotes.IdAlternativeVoteReports.ReporterIdreferencesAspNetUsers.Id