Skip to content

Commit

Permalink
changes to migration
Browse files Browse the repository at this point in the history
  • Loading branch information
lunamoonmoon committed Jul 29, 2024
1 parent 872986c commit 8e4c00a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/backend/wells/migrations/0149_add_well_status_to_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
well_tag_number,
aquifer_id,
artesian_conditions AS artesian,
SUBSTRING(well_status_code.description for 255) as well_status,
well_status_code as well_status_code,
COALESCE
(hydraulic_conductivity::text, transmissivity::text, storativity::text)
IS NOT NULL
Expand All @@ -26,7 +26,6 @@
WHERE aquifer_parameters.well_tag_number = well.well_tag_number
) as has_aquifer_parameters
FROM well
left join well_status_code on well_status_code.well_status_code = well.well_status_code
WHERE geom IS NOT NULL;
GRANT SELECT ON postgis_ftw.gwells_well_view TO ftw_reader;
"""
Expand Down

0 comments on commit 8e4c00a

Please sign in to comment.