SQL Create statements 4/17/26
This commit is contained in:
7
SurveyQuestionAnswers.sql
Normal file
7
SurveyQuestionAnswers.sql
Normal file
@@ -0,0 +1,7 @@
|
||||
CREATE TABLE IF NOT EXISTS SurveyQuestionAnswers (
|
||||
QuestionAttemptId INT NOT NULL,
|
||||
AnswerId VARCHAR(36) NOT NULL,
|
||||
AnswerText TEXT,
|
||||
PRIMARY KEY (QuestionAttemptId, AnswerId),
|
||||
CONSTRAINT fk_sqa_ans_attempt FOREIGN KEY (QuestionAttemptId) REFERENCES SurveyQuestionAttempts(QuestionAttemptId)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
Reference in New Issue
Block a user