mirror of
https://github.com/navidrome/navidrome.git
synced 2026-05-04 06:10:17 +00:00
SQL/Orm PlaylistRepository complete
This commit is contained in:
parent
5d519dcecf
commit
973f8869eb
4 changed files with 101 additions and 3 deletions
|
|
@ -60,6 +60,7 @@ func initORM(dbPath string) error {
|
|||
orm.RegisterModel(new(ArtistInfo))
|
||||
orm.RegisterModel(new(CheckSums))
|
||||
orm.RegisterModel(new(Property))
|
||||
orm.RegisterModel(new(Playlist))
|
||||
err := orm.RegisterDataBase("default", "sqlite3", dbPath)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue