Add 'playlist_properties'
parent
30a07aac29
commit
7ae74b99f4
|
@ -0,0 +1,13 @@
|
|||
The `playlist_properties` table holds variables and state that all Playlists have. The `playlists_active_trigger` is used to enforce only one active playlist at a time.
|
||||
|
||||
### Columns
|
||||
| Name | Type | Description |
|
||||
| ---------- | ------- | ----------------------------------------- |
|
||||
| propertyid | INTEGER | The unique id of a single playlist |
|
||||
| active | BOOLEAN | The current active status of the playlist |
|
||||
|
||||
|
||||
### Triggers
|
||||
| Name | When | Description |
|
||||
| ------------------------ | ------------------------ | ----------------------------------------------------------- |
|
||||
| playlists_active_trigger | After update of `active` | Set other playlist_properties.active = False for other rows |
|
Loading…
Reference in New Issue