Fix SRID of pool uploads
This makes our calculations correct when checking if an address is in the district.
This commit is contained in:
parent
f859e372c6
commit
123a4bf590
1 changed files with 6 additions and 0 deletions
6
db/migrations/00064_csv_pool_geom_srid.sql
Normal file
6
db/migrations/00064_csv_pool_geom_srid.sql
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
-- +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);
|
||||
Loading…
Add table
Add a link
Reference in a new issue