Skip to content

Commit

Permalink
added db migration for the index update
Browse files Browse the repository at this point in the history
  • Loading branch information
briri committed Jun 17, 2024
1 parent 7287ade commit aa07874
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions db/migrate/20240617115900_add_index_to_settings.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
class AddIndexToSettings < ActiveRecord::Migration[6.1]
def change
add_index :settings, [:target_id, :target_type], name: 'settings_target'
end
end

0 comments on commit aa07874

Please sign in to comment.