add db models, refactor json models, add references in migrations

This commit is contained in:
lbenedar
2026-04-06 16:40:49 +03:00
parent a16edb9b61
commit 095dac5db7
28 changed files with 709 additions and 259 deletions

View File

@@ -0,0 +1,11 @@
package json
type Status struct {
Active bool `json:"active"`
Version string `json:"version"`
World string `json:"world,omitempty"`
System string `json:"system,omitempty"`
SystemVersion string `json:"systemVersion,omitempty"`
Users int `json:"users,omitempty"`
Uptime int64 `json:"uptime,omitempty"`
}