From a0c2264570ca8ed26a25885cef9c1c3c4904937a Mon Sep 17 00:00:00 2001 From: luna <5862lunamoon@gmail.com> Date: Wed, 24 Jul 2024 14:10:16 -0700 Subject: [PATCH] added well_status to migrations --- .../0111_vector_tileserver_wells_view_20200430_1941.py | 1 + .../migrations/0113_update_tileserver_views_20200528_1413.py | 1 + .../0114_obswells_in_vector_tileserver_view_20200618_1800.py | 1 + .../0132_fix_bad_artesian_conditions_postgis_view_water_1753.py | 1 + .../migrations/0137_add_hydraulic_info_postgis_well_view.py | 2 ++ .../migrations/0146_add_aquifer_parameters_to_wells_view.py | 1 + 6 files changed, 7 insertions(+) diff --git a/app/backend/wells/migrations/0111_vector_tileserver_wells_view_20200430_1941.py b/app/backend/wells/migrations/0111_vector_tileserver_wells_view_20200430_1941.py index 0e34286392..410d35abe1 100644 --- a/app/backend/wells/migrations/0111_vector_tileserver_wells_view_20200430_1941.py +++ b/app/backend/wells/migrations/0111_vector_tileserver_wells_view_20200430_1941.py @@ -8,6 +8,7 @@ well_tag_number, aquifer_id, artesian_flow > 0 AS artesian, + well_status, street_address, identification_plate_number, ems, diff --git a/app/backend/wells/migrations/0113_update_tileserver_views_20200528_1413.py b/app/backend/wells/migrations/0113_update_tileserver_views_20200528_1413.py index 3d1755c632..8d595946a9 100644 --- a/app/backend/wells/migrations/0113_update_tileserver_views_20200528_1413.py +++ b/app/backend/wells/migrations/0113_update_tileserver_views_20200528_1413.py @@ -10,6 +10,7 @@ well_tag_number, aquifer_id, artesian_flow > 0 AS artesian, + well_status, street_address, identification_plate_number, ems, diff --git a/app/backend/wells/migrations/0114_obswells_in_vector_tileserver_view_20200618_1800.py b/app/backend/wells/migrations/0114_obswells_in_vector_tileserver_view_20200618_1800.py index 4a3e8d402c..1238282b1a 100644 --- a/app/backend/wells/migrations/0114_obswells_in_vector_tileserver_view_20200618_1800.py +++ b/app/backend/wells/migrations/0114_obswells_in_vector_tileserver_view_20200618_1800.py @@ -12,6 +12,7 @@ well_tag_number, aquifer_id, artesian_flow > 0 AS artesian, + well_status, street_address, identification_plate_number, observation_well_number, diff --git a/app/backend/wells/migrations/0132_fix_bad_artesian_conditions_postgis_view_water_1753.py b/app/backend/wells/migrations/0132_fix_bad_artesian_conditions_postgis_view_water_1753.py index 29c12fb6e6..af1e236d1f 100644 --- a/app/backend/wells/migrations/0132_fix_bad_artesian_conditions_postgis_view_water_1753.py +++ b/app/backend/wells/migrations/0132_fix_bad_artesian_conditions_postgis_view_water_1753.py @@ -9,6 +9,7 @@ well_tag_number, aquifer_id, artesian_conditions AS artesian, + well_status, street_address, identification_plate_number, observation_well_number, diff --git a/app/backend/wells/migrations/0137_add_hydraulic_info_postgis_well_view.py b/app/backend/wells/migrations/0137_add_hydraulic_info_postgis_well_view.py index e5e778b171..153270b965 100644 --- a/app/backend/wells/migrations/0137_add_hydraulic_info_postgis_well_view.py +++ b/app/backend/wells/migrations/0137_add_hydraulic_info_postgis_well_view.py @@ -9,6 +9,7 @@ well_tag_number, aquifer_id, artesian_conditions AS artesian, + well_status, COALESCE (hydraulic_conductivity::text, transmissivity::text, storativity::text) IS NOT NULL @@ -32,6 +33,7 @@ well_tag_number, aquifer_id, artesian_conditions AS artesian, + well_status, street_address, identification_plate_number, observation_well_number, diff --git a/app/backend/wells/migrations/0146_add_aquifer_parameters_to_wells_view.py b/app/backend/wells/migrations/0146_add_aquifer_parameters_to_wells_view.py index d3cbfbbf44..65d99704ef 100644 --- a/app/backend/wells/migrations/0146_add_aquifer_parameters_to_wells_view.py +++ b/app/backend/wells/migrations/0146_add_aquifer_parameters_to_wells_view.py @@ -8,6 +8,7 @@ well_tag_number, aquifer_id, artesian_conditions AS artesian, + well_status, COALESCE (hydraulic_conductivity::text, transmissivity::text, storativity::text) IS NOT NULL