]> git.openstreetmap.org Git - rails.git/blob - db/migrate/20231117170422_add_closed_at_index_to_changesets.rb
Add earliest allowed deletion time to user model
[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