Add history table and modify card_stats
This commit is contained in:
1 parent
1f3ad22e05
commit
663fa377b1
6 files changed
+153
-5
No files matched your search
@@ -0,0 +1,11 @@
|
||||
create table history
|
||||
(
|
||||
id INTEGER
|
||||
primary key autoincrement,
|
||||
set_id INTEGER not null references card_set on delete cascade,
|
||||
stat_id INTEGER not null references card_stats on delete cascade,
|
||||
timestamp INTEGER not null,
|
||||
answer INTEGER not null,
|
||||
before INTEGER not null,
|
||||
after INTEGER not null
|
||||
);
|
||||
Reference in new issue
Block a user