diff --git a/personal/db/wx/20231231074449_drop_metar_index.rb b/personal/db/wx/20231231074449_drop_metar_index.rb new file mode 100644 index 0000000..101c9b9 --- /dev/null +++ b/personal/db/wx/20231231074449_drop_metar_index.rb @@ -0,0 +1,6 @@ +class DropMetarIndex < ActiveRecord::Migration[7.1] + def change + remove_index :completions, name: "index_tds_metars_on_observation_time" + add_index :tds_metars, :observation_time + end +end diff --git a/personal/db/wx_structure.sql b/personal/db/wx_structure.sql index d5bb51f..e97e6dc 100644 --- a/personal/db/wx_structure.sql +++ b/personal/db/wx_structure.sql @@ -643,6 +643,7 @@ ALTER TABLE ONLY public.tds_tafs SET search_path TO public, postgis; INSERT INTO "schema_migrations" (version) VALUES +('20231231074449'), ('20231231040823'), ('20231231005753'), ('20231231003005'),