add new models, change migration files, prepare to add all new tables from models

This commit is contained in:
lbenedar
2026-04-15 17:01:30 +03:00
parent 5bb592ea8a
commit 69d3d38ab7
95 changed files with 5371 additions and 12 deletions

View File

@@ -0,0 +1,34 @@
package db
type Playlist struct {
ID string
Name string
Folder string
Sorting string
Description string
Channel string
Mode int
Fade int
Seed int
Sort int
Playing bool
Stats Stats
Ownership []OwnershipString
Sounds []Sound
}
type Sound struct {
ID string
Name string
Path string
Channel string
Description string
Fade int
Sort int
Repeat bool
Playing bool
Volume float64
PausedTime float64
}