Add 'album_artist_link'

Anna Schumaker 2023-03-22 14:57:58 -04:00
parent 20fada8730
commit e0797ecdca
1 changed files with 18 additions and 0 deletions

18
album_artist_link.md Normal file

@ -0,0 +1,18 @@
The `album_artist_link` table is used to link [[albums]] to their associated [[artist]]. This is needed so collaboration albums can show up nested under each of their corresponding artists in the UI.
### Columns
| Name | Type | Description |
| ------------------- | ------- | ------------------------------------------------ |
| [artistid](artists) | INTEGER | The artistid of one of the album's album artists |
| [albumid](albums) | INTEGER | The albumid of the album |
### The `album_artists_view`
The `album_artists_view` is intended to be used for filtering the Artist / Album / Medium tree so an artist can be marked as "visible" if they have a matching album or medium.
| Column | Description |
| ------------------- | -------------------------- |
| [artistid](artists) | The artistid of the artist |
| artist | The name of the artist |
| [albumid](albums) | The albumid of the album |
| album | The name of the album |
| [mediumid](media) | The mediumid of the medium |
| medium | The name of the medium |