SQL Create statements 4/17/26
This commit is contained in:
10
DiscussionPostsReadStatus.sql
Normal file
10
DiscussionPostsReadStatus.sql
Normal file
@@ -0,0 +1,10 @@
|
||||
CREATE TABLE IF NOT EXISTS DiscussionPostsReadStatus (
|
||||
PostId BIGINT NOT NULL,
|
||||
UserId INT NOT NULL,
|
||||
TopicId BIGINT NOT NULL,
|
||||
IsRead TINYINT(1),
|
||||
FirstReadDate DATETIME,
|
||||
LastReadDate DATETIME,
|
||||
Version BIGINT,
|
||||
PRIMARY KEY (PostId, UserId)
|
||||
) CHARACTER SET utf8mb4;
|
||||
Reference in New Issue
Block a user