Fix reference to number column in address

This commit is contained in:
Eli Ribble 2026-03-05 02:21:13 +00:00
parent 31c6bf3a64
commit dcafb14238
No known key found for this signature in database

View file

@ -71,7 +71,7 @@ func EnsureAddress(ctx context.Context, txn bob.Tx, org *models.Organization, a
}
created := time.Now()
row, err := bob.One(ctx, txn, psql.Insert(
im.Into("address", "country", "created", "geom", "h3cell", "id", "locality", "number", "postal_code", "region", "street", "unit"),
im.Into("address", "country", "created", "geom", "h3cell", "id", "locality", "number_", "postal_code", "region", "street", "unit"),
im.Values(
psql.Arg(geo.Address.Country),
psql.Arg(created),