Add study review planning and mock exam hub

This commit is contained in:
Codex committed 2026-09-17 12:37:58 +08:00
1 parent f5bfd501a5
commit 0e118b6eaf
7 files changed
+109 -1

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
CREATE TABLE `study_days` (
`user_id` text NOT NULL,
`plan_date` text NOT NULL,
`durations` text NOT NULL DEFAULT '{}',
`weekly_review` text NOT NULL DEFAULT '',
`next_focus` text NOT NULL DEFAULT '',
`updated_at` text NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY(`user_id`, `plan_date`)
);
CREATE TABLE `mock_exams` (
`user_id` text NOT NULL,
`exam_date` text NOT NULL,
`listening` text NOT NULL DEFAULT '',
`reading` text NOT NULL DEFAULT '',
`writing` text NOT NULL DEFAULT '',
`translation` text NOT NULL DEFAULT '',
`note` text NOT NULL DEFAULT '',
`updated_at` text NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY(`user_id`, `exam_date`)
);