Download supabase/migrations/20261104230000_math_ai_requests_code.sql from wzender/mathly: direct link, hf CLI and curl.
- Browser
- Download file 364 Bytes
-
https://huggingface.co/spaces/wzender/mathly/resolve/main/supabase/migrations/20261104230000_math_ai_requests_code.sql
- Command line
-
hf download hf://spaces/wzender/mathly/supabase/migrations/20261104230000_math_ai_requests_code.sql
-
curl -L -o 20261104230000_math_ai_requests_code.sql https://huggingface.co/spaces/wzender/mathly/resolve/main/supabase/migrations/20261104230000_math_ai_requests_code.sql
364 Bytes
| -- A quiz hand-in's 4-digit code (app/answer_routes.py): the same number on every request of one sitting, shown to the | |
| -- student and on the teacher's AI queue, so the two can talk about the same hand-in. Additive; empty for other requests. | |
| begin; | |
| alter table public.math_ai_requests add column code text not null default '' check (code ~ '^[0-9]{0,4}$'); | |
| commit; | |