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

10
QuestionAnswers.sql Normal file
View File

@@ -0,0 +1,10 @@
CREATE TABLE IF NOT EXISTS QuestionAnswers (
AnswerId VARCHAR(36) NOT NULL,
QuestionId VARCHAR(36) NOT NULL,
AnswerText TEXT,
IsCorrect TINYINT(1),
SortOrder INT,
Weight DECIMAL(5,2),
PRIMARY KEY (AnswerId),
CONSTRAINT fk_qa_question FOREIGN KEY (QuestionId) REFERENCES QuestionLibrary(QuestionId)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;