Store entrance fields as columns on table

This commit is contained in:
Emily Love Watson
2025-08-22 15:57:28 -05:00
parent d0ad65f696
commit 91e345f77f
11 changed files with 127 additions and 72 deletions

View File

@@ -128,7 +128,10 @@ class SearchTables:
sa.Column('linegeo', Geometry),
sa.Column('postcode', sa.Text))
self.place_entrance = sa.Table(
'place_entrance', meta,
self.placex_entrance = sa.Table(
'placex_entrance', meta,
sa.Column('place_id', sa.BigInteger),
sa.Column('entrances', KeyValueStore))
sa.Column('osm_id', sa.BigInteger),
sa.Column('type', sa.Text),
sa.Column('location', Geometry, nullable=False),
sa.Column('extratags', KeyValueStore))