Files
jap_learn/sql/history.sql
T

12 lines
350 B
SQL
Raw Normal View History

2026-08-28 17:44:14 +03:00
create table history
(
id INTEGER
primary key autoincrement,
2026-08-29 21:31:54 +03:00
set_id INTEGER not null references decks on delete cascade,
stat_id INTEGER not null references states on delete cascade,
2026-08-28 17:44:14 +03:00
timestamp INTEGER not null,
answer INTEGER not null,
before INTEGER not null,
2026-08-29 21:31:54 +03:00
after INTEGER not null,
fsrs INTEGER not null
2026-08-28 17:44:14 +03:00
);