-- NOTE: This file is auto generated by ./sql-generator

-- AlbumUserRepository.create
insert into
  "album_user" ("userId", "albumId")
values
  ($1, $2)
returning
  "userId",
  "albumId",
  "role"

-- AlbumUserRepository.update
update "album_user"
set
  "role" = $1
where
  "userId" = $2
  and "albumId" = $3
returning
  *

-- AlbumUserRepository.delete
delete from "album_user"
where
  "userId" = $1
  and "albumId" = $2
