SQL/Orm PlaylistRepository complete
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user