🐛 Fix migrate wrong model

This commit is contained in:
LittleSheep 2025-02-12 22:53:33 +08:00
parent 9e2f2eedf9
commit 39218d19f3

View File

@ -13,7 +13,7 @@ var AutoMaintainRange = []any{
&models.PostInsight{},
&models.Subscription{},
&models.Poll{},
&models.PollOption{},
&models.PollAnswer{},
}
func RunMigration(source *gorm.DB) error {