Remove hidden water inputs, add missing duration input
This commit is contained in:
parent
203d2014b0
commit
5e638bdf1d
5 changed files with 107 additions and 96 deletions
6
db/migrations/00145_publicerport_water_duration.sql
Normal file
6
db/migrations/00145_publicerport_water_duration.sql
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
-- +goose Up
|
||||
ALTER TABLE publicreport.water ADD COLUMN duration publicreport.NuisanceDurationType;
|
||||
UPDATE publicreport.water SET duration = 'none';
|
||||
ALTER TABLE publicreport.water ALTER COLUMN duration SET NOT NULL;
|
||||
-- +goose Down
|
||||
ALTER TABLE publicreport.water DROP COLUMN duration;
|
||||
Loading…
Add table
Add a link
Reference in a new issue