-- user_albums.sql
-- name: UpdateUserAlbumStatus :exec
INSERT INTO user_albums (user_id, album_id, album_owned, album_want,
is_vinyl, is_cd) VALUES ($1, $2, $3, $4, $5, $6)
ON CONFLICT (user_id, album_id) DO UPDATE SET
album_owned = EXCLUDED.album_owned,
album_want = EXCLUDED.album_want,
is_vinyl = EXCLUDED.is_vinyl,
is_cd = EXCLUDED.is_cd;