Drop soft-delete

Fixes #13.
This commit is contained in:
Matthew Dillon 2015-10-13 16:03:18 -07:00
parent ae17363f8b
commit 2894efaf46
9 changed files with 9 additions and 34 deletions

View file

@ -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