From 230de2606cf625299012dc2da9c4bd0827efa96b Mon Sep 17 00:00:00 2001 From: Ryan Romanchuk Date: Sat, 30 Dec 2023 22:16:43 -0600 Subject: [PATCH] add missed --- personal/db/wx_structure.sql | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/personal/db/wx_structure.sql b/personal/db/wx_structure.sql index 6f0c9b6..d5bb51f 100644 --- a/personal/db/wx_structure.sql +++ b/personal/db/wx_structure.sql @@ -35,6 +35,7 @@ DROP INDEX IF EXISTS public.index_tds_metars_on_station_id; DROP INDEX IF EXISTS public.index_tds_metars_on_observation_time; DROP INDEX IF EXISTS public.index_tds_metars_on_batch_id; DROP INDEX IF EXISTS public.index_tds_batches_on_report_type; +DROP INDEX IF EXISTS public.index_tds_batches_on_processed_at; DROP INDEX IF EXISTS public.index_tds_aireps_uniqueness; DROP INDEX IF EXISTS public.index_tds_aireps_on_observation_time; DROP INDEX IF EXISTS public.index_tds_aireps_on_batch_id; @@ -438,6 +439,13 @@ CREATE INDEX index_tds_aireps_on_observation_time ON public.tds_aireps USING btr CREATE UNIQUE INDEX index_tds_aireps_uniqueness ON public.tds_aireps USING btree (raw_text, observation_time); +-- +-- Name: index_tds_batches_on_processed_at; Type: INDEX; Schema: public; Owner: - +-- + +CREATE INDEX index_tds_batches_on_processed_at ON public.tds_batches USING btree (processed_at); + + -- -- Name: index_tds_batches_on_report_type; Type: INDEX; Schema: public; Owner: - -- @@ -635,6 +643,7 @@ ALTER TABLE ONLY public.tds_tafs SET search_path TO public, postgis; INSERT INTO "schema_migrations" (version) VALUES +('20231231040823'), ('20231231005753'), ('20231231003005'), ('20230403001620'),