]> git.openstreetmap.org Git - rails.git/blob - db/migrate/20231117170422_add_closed_at_index_to_changesets.rb
Merge pull request #4803 from tomhughes/preference-encoding
[rails.git] / db / migrate / 20231117170422_add_closed_at_index_to_changesets.rb
1 class AddClosedAtIndexToChangesets < ActiveRecord::Migration[7.1]
2   disable_ddl_transaction!
3
4   def change
5     add_index :changesets, [:user_id, :closed_at], :algorithm => :concurrently
6   end
7 end