feat!: add slug to training
BREAKING CHANGE: update init migration
This commit is contained in:
parent
556b4f4e79
commit
2d32c80182
12 changed files with 219 additions and 45 deletions
|
|
@ -11,6 +11,7 @@ type ID = int
|
|||
type Training struct {
|
||||
ID ID
|
||||
Name string
|
||||
Slug string
|
||||
Days int8
|
||||
Description string
|
||||
Pricing []Price `db:"-"`
|
||||
|
|
|
|||
Reference in a new issue