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

16
ContentUserProgress.sql Normal file
View File

@@ -0,0 +1,16 @@
CREATE TABLE IF NOT EXISTS ContentUserProgress (
ContentObjectId INT NOT NULL,
UserId INT NOT NULL,
CompletedDate DATETIME COMMENT 'Currently not in use',
LastVisited DATETIME,
IsRead TINYINT(1),
NumRealVisits INT,
NumFakeVisits INT,
TotalTime BIGINT COMMENT 'Seconds spent in content',
IsVisited TINYINT(1),
IsCurrentBookmark TINYINT(1),
IsSelfAssessComplete TINYINT(1),
LastModified DATETIME,
Version BIGINT,
PRIMARY KEY (ContentObjectId, UserId)
) CHARACTER SET utf8mb4;