code cleanup
Some checks failed
CI/CD Pipeline / test (push) Failing after 15m23s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Has been skipped

This commit is contained in:
2024-02-21 14:46:17 +01:00
parent e9bee963fe
commit 6ed28994c6
6 changed files with 11 additions and 9 deletions

View File

@@ -22,7 +22,7 @@ impl Family {
.unwrap()
}
pub async fn new(db: &SqlitePool) -> i64 {
pub async fn insert(db: &SqlitePool) -> i64 {
let result: SqliteQueryResult = sqlx::query("INSERT INTO family DEFAULT VALUES")
.execute(db)
.await