modified: main_dc/yalarba/api_yal/internal/database/psql_db.go
add to automigrate the Feedback struct
This commit is contained in:
@@ -47,6 +47,7 @@ func autoMigrate(db *gorm.DB) error {
|
|||||||
&models.RatingVote{},
|
&models.RatingVote{},
|
||||||
&models.VoteBreakdown{},
|
&models.VoteBreakdown{},
|
||||||
&models.Rating{},
|
&models.Rating{},
|
||||||
|
&models.Feedback{},
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, model := range models {
|
for _, model := range models {
|
||||||
|
|||||||
Reference in New Issue
Block a user