Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

284 B
Raw Blame
/// Deletes a user from the database
#[tracing::instrument(skip(db))]
pub async fn delete_user(db: sqlx::Pool<sqlx::Postgres>, user_id: &str) -> anyhow::Result<()> {
    sqlx::query!(r#"DELETE FROM "User" WHERE id = $1"#, user_id)
        .execute(&db)
        .await?;

    Ok(())
}