back_end #6

Merged
lucien merged 6 commits from back_end into main 2024-12-06 00:54:18 +00:00
Showing only changes of commit 85ab4aba4f - Show all commits

View file

@ -6,9 +6,9 @@ pub fn init() -> sqlite::Result<()> {
OpenFlags::new() OpenFlags::new()
.with_create() .with_create()
.with_read_write() .with_read_write()
); )?;
conn?.execute( conn.execute(
"CREATE TABLE IF NOT EXISTS articles ( "CREATE TABLE IF NOT EXISTS articles (
id INTEGER PRIMARY KEY, id INTEGER PRIMARY KEY,
title TEXT NOT NULL, title TEXT NOT NULL,