SQL Create statements 4/17/26
This commit is contained in:
23
DiscussionPosts.sql
Normal file
23
DiscussionPosts.sql
Normal 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;
|
||||
Reference in New Issue
Block a user