You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
docuseal/db/migrate/20260627065517_remove_submi...

12 lines
289 B

# frozen_string_literal: true
class RemoveSubmittersCompletedAtIndex < ActiveRecord::Migration[8.1]
def up
remove_index :submitters, %i[completed_at account_id], if_exists: true
end
def down
add_index :submitters, %i[completed_at account_id], if_not_exists: true
end
end