Add referential integrity to player and playlist tables

This commit is contained in:
Deluan 2020-06-08 17:29:09 -04:00 committed by Deluan Quintão
parent c9bcb333ae
commit 94d88395e7
6 changed files with 142 additions and 5 deletions

View file

@ -11,7 +11,7 @@ const (
AppName = "navidrome"
LocalConfigFile = "./navidrome.toml"
DefaultDbPath = "navidrome.db?cache=shared&_busy_timeout=15000&_journal_mode=WAL"
DefaultDbPath = "navidrome.db?cache=shared&_busy_timeout=15000&_journal_mode=WAL&_foreign_keys=on"
InitialSetupFlagKey = "InitialSetup"
UIAuthorizationHeader = "X-ND-Authorization"