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:
Kristoffer Dalby 2022-02-28 18:05:03 +00:00
parent a8649d83c4
commit 78251ce8ec
2 changed files with 33 additions and 1 deletions

View file

@ -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?