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.News{},
|
||||||
&models.Comment{},
|
&models.Comment{},
|
||||||
&models.Review{},
|
&models.Review{},
|
||||||
|
&models.UserStats{},
|
||||||
// Добавьте другие модели здесь
|
// Добавьте другие модели здесь
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user