Files
jap_learn/sql/card_stats.sql
T

17 lines
484 B
SQL

create table card_stats
(
id INTEGER
primary key autoincrement,
word_id INTEGER not null
references words
on delete cascade,
set_id INTEGER not null
references card_set
on delete cascade,
score INTEGER default 1 not null,
last_opened INTEGER not null,
added INTEGER not null,
fsrs_opened INTEGER,
fsrs_memory INTEGER,
fsrs_open_time INTEGER
);