Remove erroneous organization_id from migration

This commit is contained in:
Eli Ribble 2026-02-02 02:23:55 +00:00
parent 11011f3804
commit b96ddf7162
No known key found for this signature in database

View file

@ -1,6 +1,5 @@
-- +goose Up
ALTER TABLE publicreport.nuisance ADD COLUMN h3cell h3index;
ALTER TABLE publicreport.nuisance ADD COLUMN organization_id INTEGER REFERENCES organization(id);
CREATE TABLE publicreport.nuisance_image (
image_id INTEGER NOT NULL REFERENCES publicreport.image(id),
nuisance_id INTEGER NOT NULL REFERENCES publicreport.nuisance(id),
@ -9,4 +8,3 @@ CREATE TABLE publicreport.nuisance_image (
-- +goose Down
DROP TABLE publicreport.nuisance_image;
ALTER TABLE publicreport.nuisance DROP COLUMN h3cell;
ALTER TABLE publicreport.nuisance DROP COLUMN organization_id;