diff --git a/back/src/create_db.rs b/back/src/create_db.rs index 06e2663..67eb2af 100644 --- a/back/src/create_db.rs +++ b/back/src/create_db.rs @@ -6,9 +6,9 @@ pub fn init() -> sqlite::Result<()> { OpenFlags::new() .with_create() .with_read_write() - ); + )?; - conn?.execute( + conn.execute( "CREATE TABLE IF NOT EXISTS articles ( id INTEGER PRIMARY KEY, title TEXT NOT NULL,