🐛 Fix migrate wrong model
This commit is contained in:
parent
9e2f2eedf9
commit
39218d19f3
@ -13,7 +13,7 @@ var AutoMaintainRange = []any{
|
|||||||
&models.PostInsight{},
|
&models.PostInsight{},
|
||||||
&models.Subscription{},
|
&models.Subscription{},
|
||||||
&models.Poll{},
|
&models.Poll{},
|
||||||
&models.PollOption{},
|
&models.PollAnswer{},
|
||||||
}
|
}
|
||||||
|
|
||||||
func RunMigration(source *gorm.DB) error {
|
func RunMigration(source *gorm.DB) error {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user