-
- Downloads
HOLI-11151: add geolocation_geojson columns to models with geolocation column
Google Datastream is replicating Okunas tables into BigQuery for subsequent processing in data pipelines. Unfortunately, Datastream does not support Postgis binary column formats. In order to have geolocation data available anyway, this MR: * introduces a colocated field `geolocation_geojson` next to every `geolocation` field in every model using geolocation as point. * adds a migration to ensure all `geolocation_geojson` columns are set if `geolocation` is set. * hides `geolocation_geojson` from admin interfaces
Showing
- feed_posts/admin.py 2 additions, 0 deletionsfeed_posts/admin.py
- feed_posts/migrations/0020_feedpost_geolocation_geojson.py 46 additions, 0 deletionsfeed_posts/migrations/0020_feedpost_geolocation_geojson.py
- feed_posts/models.py 7 additions, 1 deletionfeed_posts/models.py
- openbook_appointments/admin.py 2 additions, 0 deletionsopenbook_appointments/admin.py
- openbook_appointments/migrations/0010_appointment_geolocation_geojson_and_more.py 67 additions, 0 deletions...grations/0010_appointment_geolocation_geojson_and_more.py
- openbook_appointments/models.py 18 additions, 1 deletionopenbook_appointments/models.py
- openbook_common/helpers.py 11 additions, 0 deletionsopenbook_common/helpers.py
- openbook_communities/admin.py 2 additions, 1 deletionopenbook_communities/admin.py
- openbook_communities/migrations/0046_community_geolocation_geojson_and_more.py 66 additions, 0 deletions...migrations/0046_community_geolocation_geojson_and_more.py
- openbook_communities/models/__init__.py 17 additions, 1 deletionopenbook_communities/models/__init__.py
Loading
Please register or sign in to comment