diff --git a/src/app/database.rs b/src/app/database.rs index 9ee711bb..c7cb8f6b 100644 --- a/src/app/database.rs +++ b/src/app/database.rs @@ -25,7 +25,8 @@ impl Database { } pub fn add(&self) -> Result { - self.connection.execute("INSERT INTO `app`", []) + self.connection + .execute("INSERT INTO `app` DEFAULT VALUES", []) } pub fn records(&self) -> Result, Error> {