add CreatedAt&UpdatedAt to contest model
This commit is contained in:
parent
f2f1beeec9
commit
b0b895f9bd
1 changed files with 4 additions and 4 deletions
|
@ -1,8 +1,8 @@
|
|||
package models
|
||||
|
||||
type Contest struct {
|
||||
Id *int `db:"id"`
|
||||
Name *string `db:"name"`
|
||||
//CreatedAt time.Time `db:"created_at"` FIXME
|
||||
//UpdatedAt time.Time `db:"updated_at"` FIXME
|
||||
Id *int `db:"id"`
|
||||
Name *string `db:"name"`
|
||||
CreatedAt *time.Time `db:"created_at"`
|
||||
UpdatedAt *time.Time `db:"updated_at"`
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue