WIP on PreAuthKeys
This commit is contained in:
parent
2555220a57
commit
176eea4a84
3 changed files with 121 additions and 1 deletions
1
db.go
1
db.go
|
|
@ -24,6 +24,7 @@ func (h *Headscale) initDB() error {
|
|||
db.AutoMigrate(&Machine{})
|
||||
db.AutoMigrate(&KV{})
|
||||
db.AutoMigrate(&Namespace{})
|
||||
db.AutoMigrate(&PreAuthKey{})
|
||||
db.Close()
|
||||
|
||||
h.setValue("db_version", dbVersion)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue