diff --git a/years.md b/years.md index 97c6509..5b2bccf 100644 --- a/years.md +++ b/years.md @@ -24,4 +24,11 @@ The `years_view` joins the `years` table with the [[playlist_properties]] table | [loop](playlist_properties) | The loop state of this year | | [shuffle](playlist_properties) | The shuffle state of this year | | [sort_order](playlist_properties) | The sort order of this year | -| [current_trackid](playlist_properties) | The current trackid of this year | \ No newline at end of file +| [current_trackid](playlist_properties) | The current trackid of this year | + +### The `year_tracks_view` +The `year_tracks_view` joins the `years` table with the [[tracks]] and [[libraries]] tables to form a list of [[tracks]] that belong to each year, but are not being deleted. +| Column | Description | +| ----------------- | ------------------------ | +| [trackid](tracks) | The trackid of the track | +| year | The year | \ No newline at end of file