parent
ae17363f8b
commit
2894efaf46
9 changed files with 9 additions and 34 deletions
|
@ -67,10 +67,8 @@ type SpeciesBase struct {
|
|||
Etymology types.NullString `db:"etymology" json:"etymology"`
|
||||
CreatedAt types.NullTime `db:"created_at" json:"createdAt"`
|
||||
UpdatedAt types.NullTime `db:"updated_at" json:"updatedAt"`
|
||||
DeletedAt types.NullTime `db:"deleted_at" json:"deletedAt"`
|
||||
CreatedBy int64 `db:"created_by" json:"createdBy"`
|
||||
UpdatedBy int64 `db:"updated_by" json:"updatedBy"`
|
||||
DeletedBy types.NullInt64 `db:"deleted_by" json:"deletedBy"`
|
||||
}
|
||||
|
||||
// Species is what the DB expects for read operations, and is what the API expects
|
||||
|
|
Reference in a new issue