Fix more bugs

This commit is contained in:
micialware committed 2026-09-07 16:10:10 +03:00
1 parent 60dae212ec
commit 42c38d55e1
9 files changed
+24 -18

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@ impl TableAccessQuerySet<CardState> for CardStatesQuerySet {
}
fn add() -> &'static str {
"INSERT INTO states (word_id, deck_id, score, last_opened, fsrs_opened, fsrs_memory, fsrs_open_day) VALUES (?1, ?2, ?3, ?4)"
"INSERT INTO states (word_id, deck_id, score, last_opened, fsrs_opened, fsrs_memory, fsrs_open_day) VALUES (?1, ?2, ?3, ?4) RETURNING id"
}
fn name() -> &'static str {