canvas-lms/db/migrate/20150603165824_add_attachme...

9 lines
200 B
Ruby

class AddAttachmentsNamespaceIndex < ActiveRecord::Migration[4.2]
tag :postdeploy
disable_ddl_transaction!
def change
add_index :attachments, :namespace, algorithm: :concurrently
end
end