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,
|
2026-09-04 11:18:23 +03:00
|
|
|
word_id INTEGER not null references words 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
|
|
|
);
|