Update fetching address number to match new types.Address pattern

This matches what we get by using the models column definition directly.
This commit is contained in:
Eli Ribble 2026-04-22 22:20:42 +00:00
parent f24a583e2e
commit b0170b20d5
No known key found for this signature in database
4 changed files with 4 additions and 4 deletions

View file

@ -20,7 +20,7 @@ type Address struct {
ID *int32 `db:"id" json:"-" schema:"-"`
Locality string `db:"locality" json:"locality"`
Location *Location `db:"location" json:"location" schema:"location"`
Number string `db:"number" json:"number"`
Number string `db:"number_" json:"number"`
PostalCode string `db:"postal_code" json:"postal_code"`
Raw string `db:"raw" json:"raw" schema:"raw"`
Region string `db:"region" json:"region"`