Indexes | Field Name | Data Type | Description |
---|---|---|---|
* | Id | smallint | |
* | IsUniversal | bit | |
* | MarkdownMini | nvarchar | |
* | CreationDate | datetime | |
CreationModeratorId | int | ||
ApprovalDate | datetime | ||
ApprovalModeratorId | int | ||
DeactivationDate | datetime | ||
DeactivationModeratorId | int | ||
Indexes | |||
Primary | ON Id | ||
Foreign Keys | |||
Fk_CloseAsOffTopicReasonTypes_Users | ( CreationModeratorId ) ref Users (Id) | ||
Fk_CloseAsOffTopicReasonTypes_Users_001 | ( ApprovalModeratorId ) ref Users (Id) | ||
Fk_CloseAsOffTopicReasonTypes_Users_002 | ( DeactivationModeratorId ) ref Users (Id) |
Indexes | Field Name | Data Type | Description |
---|---|---|---|
* | Id | tinyint | |
* | Name | nvarchar | |
Description | nvarchar | ||
Indexes | |||
Primary | ON Id |
Indexes | Field Name | Data Type | Description |
---|---|---|---|
* | Id | int | |
* | PostId | int | |
* | Score | int | |
* | Text | nvarchar | |
* | CreationDate | datetime | |
UserDisplayName | nvarchar | ||
UserId | int | ||
Indexes | |||
Primary | ON Id | ||
Foreign Keys | |||
Fk_Comments_Posts | ( PostId ) ref Posts (Id) | ||
Fk_Comments_Users | ( UserId ) ref Users (Id) |
Indexes | Field Name | Data Type | Description |
---|---|---|---|
* | Id | tinyint | |
* | Name | nvarchar | |
* | Description | nvarchar | |
Indexes | |||
Primary | ON Id |
Indexes | Field Name | Data Type | Description |
---|---|---|---|
* | Id | int | |
* | FlagTypeId | tinyint | |
* | PostId | int | |
CreationDate | date | ||
CloseReasonTypeId | tinyint | ||
CloseAsOffTopicReasonTypeId | smallint | ||
DuplicateOfQuestionId | int | ||
BelongsOnBaseHostAddress | nvarchar | ||
Indexes | |||
Primary | ON Id | ||
Foreign Keys | |||
Fk_PendingFlags_FlagTypes | ( FlagTypeId ) ref FlagTypes (Id) | ||
Fk_PendingFlags_Posts | ( PostId ) ref Posts (Id) | ||
Fk_PendingFlags_CloseReasonTypes | ( CloseReasonTypeId ) ref CloseReasonTypes (Id) | ||
Fk_PendingFlags_CloseAsOffTopicReasonTypes | ( CloseAsOffTopicReasonTypeId ) ref CloseAsOffTopicReasonTypes (Id) | ||
Fk_PendingFlags_Posts_001 | ( DuplicateOfQuestionId ) ref Posts (Id) |
Indexes | Field Name | Data Type | Description |
---|---|---|---|
* | Id | int | |
* | PostId | int | |
IsAnonymous | bit | ||
* | VoteTypeId | tinyint | |
* | CreationDate | datetime | |
Indexes | |||
Primary | ON Id | ||
Foreign Keys | |||
Fk_PostFeedback_Posts | ( PostId ) ref Posts (Id) | ||
Fk_PostFeedback_VoteTypes | ( VoteTypeId ) ref VoteTypes (Id) |
Indexes | Field Name | Data Type | Description |
---|---|---|---|
* | Id | int | |
* | PostHistoryTypeId | tinyint | |
* | PostId | int | |
* | RevisionGUID | uniqueidentifier | |
* | CreationDate | datetime | |
UserId | int | ||
UserDisplayName | nvarchar | ||
Comment | nvarchar | ||
Text | nvarchar | ||
Indexes | |||
Primary | ON Id | ||
Foreign Keys | |||
Fk_PostHistory_PostHistoryTypes | ( PostHistoryTypeId ) ref PostHistoryTypes (Id) | ||
Fk_PostHistory_Posts | ( PostId ) ref Posts (Id) | ||
Fk_PostHistory_Users | ( UserId ) ref Users (Id) |
Indexes | Field Name | Data Type | Description |
---|---|---|---|
* | Id | tinyint | |
* | Name | nvarchar | |
Indexes | |||
Primary | ON Id |
Indexes | Field Name | Data Type | Description |
---|---|---|---|
* | Id | int | |
* | CreationDate | datetime | |
* | PostId | int | |
* | RelatedPostId | int | |
* | LinkTypeId | tinyint | |
Indexes | |||
Primary | ON Id | ||
Foreign Keys | |||
Fk_PostLinks_Posts | ( PostId ) ref Posts (Id) | ||
Fk_PostLinks_Posts_001 | ( RelatedPostId ) ref Posts (Id) |
Indexes | Field Name | Data Type | Description |
---|---|---|---|
* | Id | int | |
* | ClassId | tinyint | |
Name | nvarchar | ||
Body | nvarchar | ||
* | IsHidden | bit | |
* | Predefined | bit | |
* | PostNoticeDurationId | int | |
Indexes | |||
Primary | ON Id |
Indexes | Field Name | Data Type | Description |
---|---|---|---|
* | Id | int | |
* | PostId | int | |
PostNoticeTypeId | int | ||
* | CreationDate | datetime | |
DeletionDate | datetime | ||
ExpiryDate | datetime | ||
Body | nvarchar | ||
OwnerUserId | int | ||
DeletionUserId | int | ||
Indexes | |||
Primary | ON Id | ||
Foreign Keys | |||
Fk_PostNotices_Posts | ( PostId ) ref Posts (Id) | ||
Fk_PostNotices_PostNoticeTypes | ( PostNoticeTypeId ) ref PostNoticeTypes (Id) | ||
Fk_PostNotices_Users | ( OwnerUserId ) ref Users (Id) | ||
Fk_PostNotices_Users_001 | ( DeletionUserId ) ref Users (Id) |
Indexes | Field Name | Data Type | Description |
---|---|---|---|
* | PostId | int | |
* | TagId | int | |
Foreign Keys | |||
Fk_PostTags_Posts | ( PostId ) ref Posts (Id) | ||
Fk_PostTags_Tags | ( TagId ) ref Tags (Id) |
Indexes | Field Name | Data Type | Description |
---|---|---|---|
* | Id | tinyint | |
* | Name | nvarchar | |
Indexes | |||
Primary | ON Id |
Indexes | Field Name | Data Type | Description |
---|---|---|---|
* | Id | int | |
* | PostTypeId | tinyint | |
AcceptedAnswerId | int | ||
ParentId | int | ||
* | CreationDate | datetime | |
DeletionDate | datetime | ||
* | Score | int | |
ViewCount | int | ||
Body | nvarchar | ||
OwnerUserId | int | ||
OwnerDisplayName | nvarchar | ||
LastEditorUserId | int | ||
LastEditorDisplayName | nvarchar | ||
LastEditDate | datetime | ||
LastActivityDate | datetime | ||
Title | nvarchar | ||
Tags | nvarchar | ||
AnswerCount | int | ||
CommentCount | int | ||
FavoriteCount | int | ||
ClosedDate | datetime | ||
CommunityOwnedDate | datetime | ||
Indexes | |||
Primary | ON Id | ||
Foreign Keys | |||
Fk_Posts_PostTypes | ( PostTypeId ) ref PostTypes (Id) | ||
Fk_Posts_Users | ( OwnerUserId ) ref Users (Id) | ||
Fk_Posts_Users_001 | ( LastEditorUserId ) ref Users (Id) | ||
Fk_Posts_Posts | ( AcceptedAnswerId ) ref Posts (Id) | ||
Fk_Posts_Posts_001 | ( ParentId ) ref Posts (Id) |
Indexes | Field Name | Data Type | Description |
---|---|---|---|
* | Id | int | |
* | PostTypeId | tinyint | |
AcceptedAnswerId | int | ||
ParentId | int | ||
* | CreationDate | datetime | |
DeletionDate | datetime | ||
* | Score | int | |
ViewCount | int | ||
Body | nvarchar | ||
OwnerUserId | int | ||
OwnerDisplayName | nvarchar | ||
LastEditorUserId | int | ||
LastEditorDisplayName | nvarchar | ||
LastEditDate | datetime | ||
LastActivityDate | datetime | ||
Title | nvarchar | ||
Tags | nvarchar | ||
AnswerCount | int | ||
CommentCount | int | ||
FavoriteCount | int | ||
ClosedDate | datetime | ||
CommunityOwnedDate | datetime | ||
Indexes | |||
Primary | ON Id | ||
Foreign Keys | |||
Fk_PostsWithDeleted_PostTypes | ( PostTypeId ) ref PostTypes (Id) | ||
Fk_PostsWithDeleted_Users | ( OwnerUserId ) ref Users (Id) | ||
Fk_PostsWithDeleted_Users_001 | ( LastEditorUserId ) ref Users (Id) | ||
Fk_PostsWithDeleted_Posts | ( AcceptedAnswerId ) ref Posts (Id) | ||
Fk_PostsWithDeleted_Posts_001 | ( ParentId ) ref Posts (Id) |
Indexes | Field Name | Data Type | Description |
---|---|---|---|
* | Id | tinyint | |
* | Name | nvarchar | |
* | Description | nvarchar | |
PostTypeId | tinyint | ||
Indexes | |||
Primary | ON Id | ||
Foreign Keys | |||
Fk_ReviewRejectionReasons_PostTypes | ( PostTypeId ) ref PostTypes (Id) |
Indexes | Field Name | Data Type | Description |
---|---|---|---|
* | Id | tinyint | |
* | Name | nvarchar | |
* | Description | nvarchar | |
Indexes | |||
Primary | ON Id |
Indexes | Field Name | Data Type | Description |
---|---|---|---|
* | Id | int | |
* | ReviewTaskId | int | |
* | ReviewTaskResultTypeId | tinyint | |
CreationDate | date | ||
RejectionReasonId | tinyint | ||
Comment | nvarchar | ||
Indexes | |||
Primary | ON Id | ||
Foreign Keys | |||
Fk_ReviewTaskResults_ReviewTasks | ( ReviewTaskId ) ref ReviewTasks (Id) | ||
Fk_ReviewTaskResults_ReviewTaskResultTypes | ( ReviewTaskResultTypeId ) ref ReviewTaskResultTypes (Id) | ||
Fk_ReviewTaskResults_ReviewRejectionReasons | ( RejectionReasonId ) ref ReviewRejectionReasons (Id) |
Indexes | Field Name | Data Type | Description |
---|---|---|---|
* | Id | tinyint | |
* | Name | nvarchar | |
* | Description | nvarchar | |
Indexes | |||
Primary | ON Id |
Indexes | Field Name | Data Type | Description |
---|---|---|---|
* | Id | tinyint | |
* | Name | nvarchar | |
* | Description | nvarchar | |
Indexes | |||
Primary | ON Id |
Indexes | Field Name | Data Type | Description |
---|---|---|---|
* | Id | int | |
* | ReviewTaskTypeId | tinyint | |
CreationDate | date | ||
DeletionDate | date | ||
* | ReviewTaskStateId | tinyint | |
* | PostId | int | |
SuggestedEditId | int | ||
CompletedByReviewTaskId | int | ||
Indexes | |||
Primary | ON Id | ||
Foreign Keys | |||
Fk_ReviewTasks_ReviewTaskTypes | ( ReviewTaskTypeId ) ref ReviewTaskTypes (Id) | ||
Fk_ReviewTasks_ReviewTaskStates | ( ReviewTaskStateId ) ref ReviewTaskStates (Id) | ||
Fk_ReviewTasks_Posts | ( PostId ) ref Posts (Id) | ||
Fk_ReviewTasks_SuggestedEdits | ( SuggestedEditId ) ref SuggestedEdits (Id) | ||
Fk_ReviewTasks_CompletedByReviewTaskId | ( CompletedByReviewTaskId ) ref ReviewTaskResults (Id) |
Indexes | Field Name | Data Type | Description |
---|---|---|---|
* | Id | int | |
* | SuggestedEditId | int | |
* | UserId | int | |
* | VoteTypeId | tinyint | |
* | CreationDate | datetime | |
TargetUserId | int | ||
* | TargetRepChange | int | |
Indexes | |||
Primary | ON Id | ||
Foreign Keys | |||
Fk_SuggestedEditVotes_SuggestedEdits | ( SuggestedEditId ) ref SuggestedEdits (Id) | ||
Fk_SuggestedEditVotes_Users | ( UserId ) ref Users (Id) | ||
Fk_SuggestedEditVotes_VoteTypes | ( VoteTypeId ) ref VoteTypes (Id) | ||
Fk_SuggestedEditVotes_Users_001 | ( TargetUserId ) ref Users (Id) |
Indexes | Field Name | Data Type | Description |
---|---|---|---|
* | Id | int | |
* | PostId | int | |
CreationDate | datetime | ||
ApprovalDate | datetime | ||
RejectionDate | datetime | ||
OwnerUserId | int | ||
Comment | nvarchar | ||
Text | nvarchar | ||
Title | nvarchar | ||
Tags | nvarchar | ||
RevisionGUID | uniqueidentifier | ||
Indexes | |||
Primary | ON Id | ||
Foreign Keys | |||
Fk_SuggestedEdits_Posts | ( PostId ) ref Posts (Id) | ||
Fk_SuggestedEdits_Users | ( OwnerUserId ) ref Users (Id) |
Indexes | Field Name | Data Type | Description |
---|---|---|---|
* | Id | int | |
SourceTagName | nvarchar | ||
TargetTagName | nvarchar | ||
* | CreationDate | datetime | |
* | OwnerUserId | int | |
* | AutoRenameCount | int | |
LastAutoRename | datetime | ||
* | Score | int | |
ApprovedByUserId | int | ||
ApprovalDate | datetime | ||
Indexes | |||
Primary | ON Id | ||
Foreign Keys | |||
Fk_TagSynonyms_Users | ( OwnerUserId ) ref Users (Id) | ||
Fk_TagSynonyms_Users_001 | ( ApprovedByUserId ) ref Users (Id) | ||
Fk_TagSynonymsSourceTagName_Tags | ( SourceTagName ) ref Tags (TagName) | ||
Fk_TagSynonymsTargetTagName_Tags | ( TargetTagName ) ref Tags (TagName) |
Indexes | Field Name | Data Type | Description |
---|---|---|---|
* | Id | int | |
TagName | nvarchar | ||
* | Count | int | |
ExcerptPostId | int | ||
WikiPostId | int | ||
Indexes | |||
Primary | ON Id | ||
Foreign Keys | |||
Fk_Tags_Posts | ( ExcerptPostId ) ref Posts (Id) | ||
Fk_Tags_Posts_001 | ( WikiPostId ) ref Posts (Id) |
Indexes | Field Name | Data Type | Description |
---|---|---|---|
* | Id | int | |
* | Reputation | int | |
* | CreationDate | datetime | |
DisplayName | nvarchar | ||
* | LastAccessDate | datetime | |
WebsiteUrl | nvarchar | ||
Location | nvarchar | ||
AboutMe | nvarchar | ||
* | Views | int | |
* | UpVotes | int | |
* | DownVotes | int | |
ProfileImageUrl | nvarchar | ||
EmailHash | varchar( 32 ) | ||
AccountId | int | ||
Indexes | |||
Primary | ON Id |
Indexes | Field Name | Data Type | Description |
---|---|---|---|
* | Id | tinyint | |
* | Name | nvarchar | |
Indexes | |||
Primary | ON Id |
Indexes | Field Name | Data Type | Description |
---|---|---|---|
* | Id | int | |
* | PostId | int | |
* | VoteTypeId | tinyint | |
UserId | int | ||
CreationDate | datetime | ||
BountyAmount | int | ||
Indexes | |||
Primary | ON Id | ||
Foreign Keys | |||
Fk_Votes_Posts | ( PostId ) ref Posts (Id) | ||
Fk_Votes_VoteTypes | ( VoteTypeId ) ref VoteTypes (Id) | ||
Fk_Votes_Users | ( UserId ) ref Users (Id) |