Compare commits
No commits in common. "31fda6bee9313612ef7196c42caffe3438a1b7d0" and "fcb4d65d3212102175126a0c102c928957c188ec" have entirely different histories.
31fda6bee9
...
fcb4d65d32
@ -450,7 +450,6 @@ ORDER BY last_access DESC
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub async fn create(db: &SqlitePool, name: &str) -> bool {
|
pub async fn create(db: &SqlitePool, name: &str) -> bool {
|
||||||
let name = name.trim();
|
|
||||||
sqlx::query!("INSERT INTO USER(name) VALUES (?)", name)
|
sqlx::query!("INSERT INTO USER(name) VALUES (?)", name)
|
||||||
.execute(db)
|
.execute(db)
|
||||||
.await
|
.await
|
||||||
|
Loading…
Reference in New Issue
Block a user