Initial commit: PastPaper Master full stack

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Zhao
2026-04-21 12:15:35 +07:00
commit 7a09167261
105 changed files with 24799 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
-- ============================================
-- PastPaper Master — Make score fields numeric
-- Version: 006
-- Date: 2026-04-10
-- ============================================
ALTER TABLE paper_questions
ALTER COLUMN score TYPE NUMERIC
USING score::NUMERIC;
ALTER TABLE papers
ALTER COLUMN total_score TYPE NUMERIC
USING total_score::NUMERIC;
ALTER TABLE user_attempts
ALTER COLUMN score_given TYPE NUMERIC
USING score_given::NUMERIC;