add index on external id

This commit is contained in:
Pete Matsyburka committed 2024-06-24 13:27:14 +03:00
1 parent 85f8a92721
commit 4552c72860
4 files changed
+17 -5

No files matched your search

@@ -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