Sha256: a5397d4dfba1de4e1c2b372cb99ff8bec6b290aa84556a89df0e8956f78823cf

Contents?: true

Size: 210 Bytes

Versions: 2

Compression:

Stored size: 210 Bytes

Contents

class AddIndexToSpreeReferredRecord < ActiveRecord::Migration
  def change
    add_index :spree_referred_records, [:user_id, :referral_id, :affiliate_id], name: 'index_spree_referred_record_on_u_r_a'
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_reffiliate-2.4.1 db/migrate/20140907062422_add_index_to_spree_referred_record.rb
spree_reffiliate-2.3.1 db/migrate/20140907062422_add_index_to_spree_referred_record.rb