modified: serv_nginx/api_bb/internal/database/migrate.go
add migration for userStats.go struct
This commit is contained in:
@@ -19,6 +19,7 @@ func (d *Database) Migrate() error {
|
||||
&models.News{},
|
||||
&models.Comment{},
|
||||
&models.Review{},
|
||||
&models.UserStats{},
|
||||
// Добавьте другие модели здесь
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user