mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 14:42:33 -05:00
12 lines
289 B
Ruby
12 lines
289 B
Ruby
# 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
|