Skip to content

Commit

Permalink
Drop shared node table
Browse files Browse the repository at this point in the history
  • Loading branch information
kradalby committed Feb 21, 2022
1 parent 9399754 commit 1e8f4db
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions db.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 1e8f4db

Please sign in to comment.