diff --git a/polyculeconnect/internal/db/user/user.go b/polyculeconnect/internal/db/user/user.go index f3eaee0..7c874e9 100644 --- a/polyculeconnect/internal/db/user/user.go +++ b/polyculeconnect/internal/db/user/user.go @@ -22,7 +22,7 @@ const getUserQuery = ` WHERE id = ? ` 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) ` diff --git a/polyculeconnect/polyculeconnect.db b/polyculeconnect/polyculeconnect.db index 970458f..9430bab 100644 Binary files a/polyculeconnect/polyculeconnect.db and b/polyculeconnect/polyculeconnect.db differ