Skip to content

Commit

Permalink
indexes
Browse files Browse the repository at this point in the history
  • Loading branch information
rromanchuk committed Dec 31, 2023
1 parent 230de26 commit 5147012
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions personal/db/wx/20231231040823_add_metars_index.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
class AddMetarsIndex < ActiveRecord::Migration[7.1]
disable_ddl_transaction!
def change
add_index :tds_metars, :observation_time, algorithm: :concurrently
add_index :tds_batches, :processed_at, algorithm: :concurrently
end
end

0 comments on commit 5147012

Please sign in to comment.