We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8dadb04 commit 6d669c6Copy full SHA for 6d669c6
1 file changed
db.go
@@ -48,6 +48,9 @@ func (h *Headscale) initDB() error {
48
return err
49
}
50
51
+ _ = db.Migrator().RenameColumn(&Machine{}, "namespace_id", "user_id")
52
+ _ = db.Migrator().RenameColumn(&PreAuthKey{}, "namespace_id", "user_id")
53
+
54
_ = db.Migrator().RenameColumn(&Machine{}, "ip_address", "ip_addresses")
55
_ = db.Migrator().RenameColumn(&Machine{}, "name", "hostname")
56
0 commit comments