nidus-sync/db/migrations/00064_csv_pool_geom_srid.sql
Eli Ribble 123a4bf590
Fix SRID of pool uploads
This makes our calculations correct when checking if an address is in
the district.
2026-02-16 15:47:39 +00:00

6 lines
254 B
SQL

-- +goose Up
ALTER TABLE fileupload.pool DROP COLUMN geom;
ALTER TABLE fileupload.pool ADD COLUMN geom geometry(Point, 4326);
-- +goose Down
ALTER TABLE fileupload.pool DROP COLUMN geom;
ALTER TABLE fileupload.pool ADD COLUMN geom geometry(Point, 3857);