Files
music_quiz/apps/server/src/db/migrations/012_quiz_file.sql

5 lines
325 B
SQL

-- 퀴즈 파일로 만들기: hints per song (shown one by one before the 초성 hint) and songs that came from a file
-- (used as written, never sent to 검토 대기).
ALTER TABLE custom_quiz_items ADD COLUMN hints TEXT NOT NULL DEFAULT '[]';
ALTER TABLE custom_quiz_items ADD COLUMN from_file INTEGER NOT NULL DEFAULT 0;