class AddIndexToAttachmentsIsPublic < ActiveRecord::Migration[5.2]
def change
add_index :attachments, :is_public
end