discourse/db/migrate/20191211152404_add_index_to_invites.rb

8 lines
150 B
Ruby

# frozen_string_literal: true
class AddIndexToInvites < ActiveRecord::Migration[6.0]
def change
add_index :invites, [:invited_by_id]
end
end