Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Id | int identity | 4 | √ | null |
|
|
ID key column (auto generated) |
||||
| PostId | int | 4 | null |
|
|
Post ID (FK to Posts Table) |
|||||
| UserId | int | 4 | √ | null |
|
|
User ID (FK to Users table) |
||||
| BountyAmount | int | 4 | √ | null |
|
|
Bounty (reputation) which was set for answering the question |
||||
| VoteTypeId | int | 4 | null |
|
|
Type of the vote (FK to VoteTypes table) |
|||||
| CreationDate | datetime | 16,3 | null |
|
|
DateTime the vote was created |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PK_Votes__Id | Primary key | Asc | Id |