Renamed SharedNode to SharedMachine

This commit is contained in:
Juan Font
2021-09-06 14:43:43 +02:00
parent 75a342f96e
commit 2780623076
4 changed files with 8 additions and 8 deletions

2
db.go
View File

@@ -44,7 +44,7 @@ func (h *Headscale) initDB() error {
return err
}
err = db.AutoMigrate(&SharedNode{})
err = db.AutoMigrate(&SharedMachine{})
if err != nil {
return err
}