mirror of
https://github.com/gabehf/Koito.git
synced 2026-04-22 20:11:50 -07:00
Feat: Edit Artists
This commit is contained in:
parent
e36eb48036
commit
c641707be9
15 changed files with 678 additions and 283 deletions
|
|
@ -8,6 +8,12 @@ INSERT INTO artist_tracks (artist_id, track_id, is_primary)
|
|||
VALUES ($1, $2, $3)
|
||||
ON CONFLICT DO NOTHING;
|
||||
|
||||
-- name: UnssociateArtistFromTrack :exec
|
||||
DELETE FROM artist_tracks
|
||||
WHERE artist_id = $1
|
||||
AND track_id = $2
|
||||
AND is_primary = false;
|
||||
|
||||
-- name: GetTrack :one
|
||||
SELECT
|
||||
t.*,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue