mirror of
https://github.com/juanfont/headscale.git
synced 2025-10-15 16:20:36 +00:00
Remove registrated field
This commit removes the field from the database and does a DB migration **removing** all unregistered machines from headscale. This means that from this version, all machines in the database is considered registered.
This commit is contained in:
@@ -45,7 +45,6 @@ type Machine struct {
|
||||
NamespaceID uint
|
||||
Namespace Namespace `gorm:"foreignKey:NamespaceID"`
|
||||
|
||||
Registered bool // temp
|
||||
RegisterMethod string
|
||||
|
||||
// TODO(kradalby): This seems like irrelevant information?
|
||||
|
Reference in New Issue
Block a user