Merge branch 'main' of ssh://git.hofer.link:2222/Ruderverein-Donau-Linz/rowt

This commit is contained in:
philipp 2024-05-06 13:30:17 +02:00
commit b4023c1ea8

View File

@ -434,6 +434,7 @@ ORDER BY last_access DESC
}
pub async fn create(db: &SqlitePool, name: &str) -> bool {
let name = name.trim();
sqlx::query!("INSERT INTO USER(name) VALUES (?)", name)
.execute(db)
.await