SQL Create statements 4/17/26
This commit is contained in:
9
QuizQuestionAttempts.sql
Normal file
9
QuizQuestionAttempts.sql
Normal file
@@ -0,0 +1,9 @@
|
||||
CREATE TABLE IF NOT EXISTS QuizQuestionAttempts (
|
||||
QuestionAttemptId INT NOT NULL,
|
||||
AttemptId INT NOT NULL,
|
||||
QuestionId VARCHAR(36) NOT NULL,
|
||||
Score DECIMAL(10,2),
|
||||
IsDeleted TINYINT(1),
|
||||
PRIMARY KEY (QuestionAttemptId),
|
||||
CONSTRAINT fk_qqa_attempt FOREIGN KEY (AttemptId) REFERENCES QuizAttempts(AttemptId)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
Reference in New Issue
Block a user