update submission index

This commit is contained in:
Pete Matsyburka committed 2024-08-19 19:51:24 +03:00
1 parent e2bdb2acee
commit a9cfd2bcfc
3 files changed
+11 -3

No files matched your search

@@ -0,0 +1,8 @@
# frozen_string_literal: true
class UpdateSubmissionAccountIdIndex < ActiveRecord::Migration[7.1]
def change
add_index :submissions, %i[account_id id]
remove_index :submissions, :account_id
end
end