From b96ddf716200a2b56d9adc0095d3dac9c067d249 Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Mon, 2 Feb 2026 02:23:55 +0000 Subject: [PATCH] Remove erroneous organization_id from migration --- db/migrations/00049_publicreport_nuisance_h3cell.sql | 2 -- 1 file changed, 2 deletions(-) diff --git a/db/migrations/00049_publicreport_nuisance_h3cell.sql b/db/migrations/00049_publicreport_nuisance_h3cell.sql index 3a098aa2..79f703c9 100644 --- a/db/migrations/00049_publicreport_nuisance_h3cell.sql +++ b/db/migrations/00049_publicreport_nuisance_h3cell.sql @@ -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;