Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
rromanchuk committed Dec 31, 2023
1 parent 2f90d40 commit 86b473c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions personal/db/wx/20231231074449_drop_metar_index.rb
Original file line number Diff line number Diff line change
@@ -1,6 +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
# remove_index :tds_metars, name: "index_tds_metars_on_observation_time"
# add_index :tds_metars, :observation_time
end
end
7 changes: 7 additions & 0 deletions personal/db/wx/20231231175136_fix_wx_indexes.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
class FixWxIndexes < ActiveRecord::Migration[7.1]
disable_ddl_transaction!
def change
remove_index :tds_metars, name: "index_tds_metars_on_observation_time"
add_index :tds_metars, :observation_time, algorithm: :concurrently
end
end
1 change: 1 addition & 0 deletions personal/db/wx_structure.sql
Original file line number Diff line number Diff line change
Expand Up @@ -643,6 +643,7 @@ ALTER TABLE ONLY public.tds_tafs
SET search_path TO public, postgis;

INSERT INTO "schema_migrations" (version) VALUES
('20231231175136'),
('20231231074449'),
('20231231040823'),
('20231231005753'),
Expand Down

0 comments on commit 86b473c

Please sign in to comment.