1
Some checks failed
ci/woodpecker/push/my-first-workflow Pipeline failed

This commit is contained in:
昔念
2026-04-19 22:05:33 +08:00
parent 5967414da4
commit fd5341da1a
4 changed files with 46 additions and 42 deletions

View File

@@ -19,6 +19,9 @@ func init() {
if err = db.AutoMigrate(model.NewSptConfig()); err != nil {
panic(err)
}
if err = db.Exec("ALTER TABLE config_spt DROP COLUMN IF EXISTS seat_id").Error; err != nil {
panic(err)
}
cool.RegisterController(&SptController{
&cool.Controller{