SQL Create statements 4/17/26

This commit is contained in:
2026-04-17 15:06:36 -04:00
parent 1daac33c0e
commit 043584e62b
130 changed files with 1660 additions and 0 deletions

23
DiscussionPosts.sql Normal file
View File

@@ -0,0 +1,23 @@
CREATE TABLE IF NOT EXISTS DiscussionPosts (
PostId BIGINT NOT NULL,
TopicId BIGINT NOT NULL,
UserId INT,
OrgUnitId INT,
ThreadId BIGINT,
Thread VARCHAR(400),
IsReply TINYINT(1),
ParentPostId BIGINT,
NumReplies INT,
DatePosted DATETIME NOT NULL,
IsDeleted TINYINT(1),
RatingSum BIGINT,
NumRatings BIGINT,
Score DECIMAL(19, 9),
LastEditDate DATETIME,
SortOrder INT,
Depth INT,
WordCount INT,
AttachmentCount INT,
Version BIGINT,
PRIMARY KEY (PostId)
) CHARACTER SET utf8mb4;