2026-06-15 17:06:02 +03:00
|
|
|
create table card_stats
|
|
|
|
|
(
|
|
|
|
|
id INTEGER
|
|
|
|
|
primary key autoincrement,
|
|
|
|
|
word_id INTEGER not null
|
|
|
|
|
references words
|
|
|
|
|
on delete cascade,
|
2026-08-20 18:53:13 +03:00
|
|
|
set_id INTEGER not null
|
2026-06-15 17:06:02 +03:00
|
|
|
references card_set
|
|
|
|
|
on delete cascade,
|
|
|
|
|
score INTEGER default 1 not null,
|
2026-08-28 17:44:14 +03:00
|
|
|
last_opened INTEGER not null,
|
2026-08-28 18:52:38 +03:00
|
|
|
fsrs_opened INTEGER not null,
|
|
|
|
|
fsrs_memory INTEGER not null,
|
|
|
|
|
fsrs_open_day INTEGER not null
|
2026-06-15 17:06:02 +03:00
|
|
|
);
|