]> git.openstreetmap.org Git - rails.git/blob - db/migrate/20240405083825_add_creator_index_to_user_blocks.rb
Add frozen_string_literal comments to ruby files
[rails.git] / db / migrate / 20240405083825_add_creator_index_to_user_blocks.rb
1 # frozen_string_literal: true
2
3 class AddCreatorIndexToUserBlocks < ActiveRecord::Migration[7.1]
4   disable_ddl_transaction!
5
6   def change
7     add_index :user_blocks, [:creator_id, :id], :algorithm => :concurrently
8   end
9 end