add games sql

This commit is contained in:
Jeffrey Duroyon
2020-05-16 23:45:08 +02:00
parent 01963dd8fe
commit f6195e0638
2 changed files with 28 additions and 5 deletions

View File

@@ -55,7 +55,7 @@ func (db *DatabasePostgreSQL) CreateUser(user *model.User) error {
INSERT INTO public.user
(nickname, google_id)
VALUES
($1, $2, $3)
($1, $2)
RETURNING id, created_at
`