Drop shared node table
This commit is contained in:
parent
9399754489
commit
1e8f4dbdff
1 changed files with 1 additions and 4 deletions
5
db.go
5
db.go
|
@ -53,10 +53,7 @@ func (h *Headscale) initDB() error {
|
|||
return err
|
||||
}
|
||||
|
||||
err = db.AutoMigrate(&SharedMachine{})
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
_ = db.Migrator().DropTable("shared_machines")
|
||||
|
||||
err = db.AutoMigrate(&APIKey{})
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in a new issue