Add 'system_tracks'
parent
3a0ec7a4b8
commit
a8de0dd7be
|
@ -0,0 +1,14 @@
|
|||
The `system_tracks` table is used to link [[tracks]] to their associated [[playlist_properties]]. This is needed because a track could have multiple [[artists]] and [[genres]].
|
||||
|
||||
### Columns
|
||||
| Name | Type | Description |
|
||||
| --------------------------------- | ------- | ------------------------------------------- |
|
||||
| [trackid](tracks) | INTEGER | The trackid of one of the playlist's tracks |
|
||||
| [propertyid](playlist_properties) | INTEGER | The propertyid of the playlist |
|
||||
|
||||
### The `system_tracks_view`
|
||||
The `system_tracks_view` is intended to be used by playlists when they load their trackids, and automatically filters out tracks that are in the process of being deleted.
|
||||
| Column | Description |
|
||||
| --------------------------------- | ------------------------------ |
|
||||
| [trackid](tracks) | The trackid of the track |
|
||||
| [propertyid](playlist_properties) | The propertyid of the playlist |
|
Loading…
Reference in New Issue