parent
7c253d7aa5
commit
b87077a1df
12 changed files with 79 additions and 35 deletions
|
@ -29,6 +29,10 @@ func (s *SpeciesBase) PreUpdate(e modl.SqlExecutor) error {
|
|||
return nil
|
||||
}
|
||||
|
||||
func (s *SpeciesBase) UpdateError() error {
|
||||
return errors.ErrSpeciesNotUpdated
|
||||
}
|
||||
|
||||
// SpeciesBase is what the DB expects for write operations.
|
||||
type SpeciesBase struct {
|
||||
ID int64 `db:"id" json:"id"`
|
||||
|
|
Reference in a new issue