You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"COMMENT ON VIEW ogc_latest_depth_to_water_wells IS "
274
+
"COMMENT ON MATERIALIZED VIEW ogc_latest_depth_to_water_wells IS "
270
275
"'STUB VIEW: required source tables (observation/sample/field_activity/field_event) were missing at migration time; this view intentionally returns zero rows.'"
271
276
)
272
277
)
273
278
274
-
op.execute(text("DROP VIEW IF EXISTS ogc_avg_tds_wells"))
"COMMENT ON MATERIALIZED VIEW ogc_avg_tds_wells IS "
281
286
"'Average TDS per well from major chemistry results for pygeoapi.'"
282
287
)
283
288
)
284
289
else:
285
290
op.execute(text(_create_avg_tds_fallback_view()))
286
291
op.execute(
287
292
text(
288
-
"COMMENT ON VIEW ogc_avg_tds_wells IS "
293
+
"COMMENT ON MATERIALIZED VIEW ogc_avg_tds_wells IS "
289
294
"'STUB VIEW: required source tables (NMA_MajorChemistry/NMA_Chemistry_SampleInfo) were missing at migration time; this view intentionally returns zero rows.'"
290
295
)
291
296
)
292
297
293
298
294
299
defdowngrade() ->None:
295
-
op.execute(text("DROP VIEW IF EXISTS ogc_avg_tds_wells"))
296
-
op.execute(text("DROP VIEW IF EXISTS ogc_latest_depth_to_water_wells"))
0 commit comments