more migration
This commit is contained in:
parent
22007e22a3
commit
8bfba2eab4
1 changed files with 1 additions and 0 deletions
|
|
@ -23,6 +23,7 @@ pub fn init_db() -> Result<Connection, String> {
|
|||
.map_err(|e| format!("oh shit: {e}"))?;
|
||||
|
||||
let _ = conn.pragma_update(None, "journal_mode", "WAL");
|
||||
let _ = conn.pragma_update(None, "synchronous", 1);
|
||||
|
||||
MIGRATIONS
|
||||
.to_latest(&mut conn)
|
||||
|
|
|
|||
Loading…
Reference in a new issue