fix insert query

This commit is contained in:
yggverse 2024-10-04 15:39:56 +03:00
parent 382dbf9dd7
commit c8d0b7151e

View File

@ -25,7 +25,8 @@ impl Database {
}
pub fn add(&self) -> Result<usize, Error> {
self.connection.execute("INSERT INTO `app`", [])
self.connection
.execute("INSERT INTO `app` DEFAULT VALUES", [])
}
pub fn records(&self) -> Result<Vec<Table>, Error> {