nidus-sync/db/migrations/00150_drop_generated_location_columns.sql
Eli Ribble 7a361a330d
Remove now-extraneous latitude/longitude generated columns
Now that we can pull out the geometry directly into a go object we don't
need these and they complicate our insertions
2026-05-07 16:38:42 +00:00

12 lines
327 B
SQL

-- +goose Up
ALTER TABLE address
DROP COLUMN location_latitude,
DROP COLUMN location_longitude;
ALTER TABLE feature
DROP COLUMN location_latitude,
DROP COLUMN location_longitude;
ALTER TABLE publicreport.report
DROP COLUMN location_latitude,
DROP COLUMN location_longitude;
ALTER TABLE signal
DROP COLUMN location_type;