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