8 lines
173 B
Ruby
8 lines
173 B
Ruby
|
class AddIndexOnPolls < ActiveRecord::Migration[5.2]
|
||
|
disable_ddl_transaction!
|
||
|
|
||
|
def change
|
||
|
add_index :polls, [:id, :lock_version], algorithm: :concurrently
|
||
|
end
|
||
|
end
|