This also makes the first time I've done a Mapbox map within a web component. It's not officially supported according to: https://github.com/mapbox/mapbox-gl-js/issues/12796 but I found a codepen that had a working example: https://codepen.io/keichan34/pen/ZEKqeEj?editors=1111
5 lines
213 B
SQL
5 lines
213 B
SQL
-- +goose Up
|
|
ALTER TABLE fieldseeker.traplocation ADD COLUMN h3cell h3index GENERATED ALWAYS AS (h3_latlng_to_cell(geospatial, 15)) STORED;
|
|
|
|
-- +goose Down
|
|
ALTER TABLE fieldseeker.traplocation DROP COLUMN h3cell;
|