Fix more bugs
This commit is contained in:
1 parent
60dae212ec
commit
42c38d55e1
9 files changed
+24
-18
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user