You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
337 B
SQL

CREATE TABLE IF NOT EXISTS answer_attempts (
id TEXT PRIMARY KEY,
session_question_id TEXT NOT NULL REFERENCES session_questions(id),
submitted_answer TEXT NOT NULL,
is_correct INTEGER NOT NULL,
similarity_score REAL,
submitted_at TEXT NOT NULL DEFAULT (datetime('now'))
);