Fix reference to number column in address
This commit is contained in:
parent
31c6bf3a64
commit
dcafb14238
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ func EnsureAddress(ctx context.Context, txn bob.Tx, org *models.Organization, a
|
||||||
}
|
}
|
||||||
created := time.Now()
|
created := time.Now()
|
||||||
row, err := bob.One(ctx, txn, psql.Insert(
|
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(
|
im.Values(
|
||||||
psql.Arg(geo.Address.Country),
|
psql.Arg(geo.Address.Country),
|
||||||
psql.Arg(created),
|
psql.Arg(created),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue