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

@ -1,8 +1,8 @@
package models package models
type Contest struct { type Contest struct {
Id *int `db:"id"` Id *int `db:"id"`
Name *string `db:"name"` Name *string `db:"name"`
//CreatedAt time.Time `db:"created_at"` FIXME CreatedAt *time.Time `db:"created_at"`
//UpdatedAt time.Time `db:"updated_at"` FIXME UpdatedAt *time.Time `db:"updated_at"`
} }