modified: main_dc/yalarba/api_yal/internal/database/psql_db.go
add appealHistory into autoMigrate
This commit is contained in:
@@ -50,6 +50,7 @@ func autoMigrate(db *gorm.DB) error {
|
|||||||
&models.Feedback{},
|
&models.Feedback{},
|
||||||
&models.Comment{},
|
&models.Comment{},
|
||||||
&models.Appeal{},
|
&models.Appeal{},
|
||||||
|
&models.AppealHistory{},
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, model := range models {
|
for _, model := range models {
|
||||||
|
|||||||
Reference in New Issue
Block a user