Save the type from the database on feature

This commit is contained in:
Eli Ribble 2026-04-16 20:40:55 +00:00
parent 1bc452bc09
commit 89a2cb30e6
No known key found for this signature in database

View file

@ -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"`
}