Unverified Commit 0577bf80 authored by Benjamin Neff's avatar Benjamin Neff
Browse files

Add missing indexes

See #7234
parent 7ffd7878
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
class AddMissingIndexes < ActiveRecord::Migration[5.1]
  def change
    add_index :photos, :author_id
    add_index :user_preferences, %i[user_id email_type], length: {email_type: 190}
    add_index :locations, :status_message_id
  end
end