add CreatedAt&UpdatedAt to contest model

This commit is contained in:
dragonmuffin 2024-08-16 22:16:53 +05:00
parent f2f1beeec9
commit b0b895f9bd

View file

@ -3,6 +3,6 @@ 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
CreatedAt *time.Time `db:"created_at"`
UpdatedAt *time.Time `db:"updated_at"`
}