feat: save user metadata (#3754)

* feat: save user metadata

* chore: update client api

* refactor: separate test methods

* chore: save updated at

* chore: clippy

* chore: fix test
This commit is contained in:
Nathan.fooo
2023-10-24 20:11:06 +08:00
committed by GitHub
parent 16a4babdca
commit 71f80be8f7
62 changed files with 1525 additions and 1476 deletions

View File

@ -132,7 +132,12 @@ impl DatabaseManager {
Ok(())
}
#[instrument(level = "debug", skip_all, err)]
#[instrument(
name = "database_initialize_with_new_user",
level = "debug",
skip_all,
err
)]
pub async fn initialize_with_new_user(
&self,
user_id: i64,