]> git.openstreetmap.org Git - rails.git/blob - db/migrate/20240405083825_add_creator_index_to_user_blocks.rb
Rename _blocks partial template to _page
[rails.git] / db / migrate / 20240405083825_add_creator_index_to_user_blocks.rb
1 class AddCreatorIndexToUserBlocks < ActiveRecord::Migration[7.1]
2   disable_ddl_transaction!
3
4   def change
5     add_index :user_blocks, [:creator_id, :id], :algorithm => :concurrently
6   end
7 end