mirror of
https://github.com/navidrome/navidrome.git
synced 2026-05-04 14:20:15 +00:00
SQL/Orm PropertyRepository complete
This commit is contained in:
parent
3d706e3e98
commit
5d519dcecf
5 changed files with 88 additions and 2 deletions
|
|
@ -59,6 +59,7 @@ func initORM(dbPath string) error {
|
|||
orm.RegisterModel(new(MediaFile))
|
||||
orm.RegisterModel(new(ArtistInfo))
|
||||
orm.RegisterModel(new(CheckSums))
|
||||
orm.RegisterModel(new(Property))
|
||||
err := orm.RegisterDataBase("default", "sqlite3", dbPath)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue