Fix duplicate user error
This commit is contained in:
parent
c741400583
commit
92d014965b
2 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ const getUserQuery = `
|
||||||
WHERE id = ?
|
WHERE id = ?
|
||||||
`
|
`
|
||||||
const insertUserQuery = `
|
const insertUserQuery = `
|
||||||
INSERT INTO user (id, name, family_name, given_name, nickname, picture, updated_at, email, email_verified)
|
INSERT OR REPLACE INTO user (id, name, family_name, given_name, nickname, picture, updated_at, email, email_verified)
|
||||||
VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9)
|
VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9)
|
||||||
`
|
`
|
||||||
|
|
||||||
|
|
Binary file not shown.
Loading…
Reference in a new issue