fix sql bug
This commit is contained in:
parent
1796a360ae
commit
5bd38ee220
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ pub async fn create_user(
|
|||
) -> Result<User, sqlx::Error> {
|
||||
sqlx::query(
|
||||
"INSERT OR IGNORE INTO user
|
||||
(tg_id, username, first_name, last_name, can_download, is_admin)
|
||||
(tg_id, username, first_name, last_name, can_download, is_admin, has_private_chat)
|
||||
VALUES ($1,$2,$3,$4,$5,$6,$7);",
|
||||
)
|
||||
.bind(user.id.0 as i64)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue