chore: add device hierarchy

This commit is contained in:
2026-04-23 23:23:55 +02:00
parent 94a93fb945
commit 97bf4f6842
2 changed files with 22 additions and 2 deletions
+3 -1
View File
@@ -26,8 +26,10 @@ func KickoffDatabase(workDir string) (*gorm.DB, error) {
// try to use GORM automigrate if the schema changes
if err := db.AutoMigrate(
&Command{},
&Device{},
&File{},
&Tenant{},
&Group{},
&Device{},
); err != nil {
return nil, err
}