first exam iteration

This commit is contained in:
micialware committed 2026-10-05 22:25:59 +03:00
1 parent 17731364bd
commit a81579d4fc
7 files changed
+715 -12

No files matched your search

+23
View File
@@ -78,3 +78,26 @@ create table states
fsrs_open_day integer not null
);
create table exams
(
id INTEGER
primary key autoincrement,
timestamp INTEGER,
deck_id INTEGER not null
references decks
on delete cascade
);
create table exam_entries
(
id INTEGER
primary key autoincrement,
exam_id INTEGER not null
references exams
on delete cascade,
word_id INTEGER not null
references words
on delete cascade,
status INTEGER default null
);