add index on external id

This commit is contained in:
Pete Matsyburka
2024-06-24 13:27:14 +03:00
parent 85f8a92721
commit 4552c72860
4 changed files with 17 additions and 5 deletions
@@ -0,0 +1,8 @@
# frozen_string_literal: true
class AddIndexOnExternalId < ActiveRecord::Migration[7.1]
def change
add_index :submitters, :external_id
add_index :templates, :external_id
end
end