Skip to content

Commit

Permalink
added Tag to automigration
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirari04 committed Apr 8, 2024
1 parent 9d09156 commit 4c141ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions inits/Models.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ func Models() {
mustRun(DB.AutoMigrate(&models.WebPage{}))
mustRun(DB.AutoMigrate(&models.Setting{}))
mustRun(DB.AutoMigrate(&models.SystemResource{}))
mustRun(DB.AutoMigrate(&models.Tag{}))
}

func mustRun(err error) {
Expand Down

0 comments on commit 4c141ca

Please sign in to comment.