Save the type from the database on feature
This commit is contained in:
parent
1bc452bc09
commit
89a2cb30e6
1 changed files with 1 additions and 1 deletions
|
|
@ -4,5 +4,5 @@ type Feature struct {
|
|||
ID int32 `db:"id" json:"id"`
|
||||
Location Location `db:"location" json:"location"`
|
||||
SiteID int32 `db:"site_id" json:"-"`
|
||||
Type string `db:"-" json:"type"`
|
||||
Type string `db:"type" json:"type"`
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue