Boost Azure Demo

This commit is contained in:
MangoPig
2026-05-25 17:05:06 +01:00
parent 675285e99d
commit 4f79137d89
230 changed files with 43275 additions and 2644 deletions

View File

@@ -0,0 +1,12 @@
-- +goose Up
ALTER TABLE student_answers
ADD COLUMN solve_mode TEXT NOT NULL DEFAULT 'just_answer',
ADD COLUMN working_steps TEXT,
ADD CONSTRAINT student_answers_solve_mode_check
CHECK (solve_mode IN ('just_answer', 'step_by_step', 'solve_together', 'handwritten'));
-- +goose Down
ALTER TABLE student_answers
DROP CONSTRAINT IF EXISTS student_answers_solve_mode_check,
DROP COLUMN IF EXISTS working_steps,
DROP COLUMN IF EXISTS solve_mode;