Sha256: a1fc5ae51bc0b262402d8b461906a5c2fdeaf8198a2ac3cd0b4de2b02623bac2

Contents?: true

Size: 411 Bytes

Versions: 8

Compression:

Stored size: 411 Bytes

Contents

class AddUserIdToUserCheckoutStat < ActiveRecord::Migration
  def change
    add_reference :user_checkout_stats, :user, index: true, foreign_key: true
    add_reference :user_reserve_stats, :user, index: true, foreign_key: true
    add_reference :manifestation_checkout_stats, :user, index: true, foreign_key: true
    add_reference :manifestation_reserve_stats, :user, index: true, foreign_key: true
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
enju_inter_library_loan-0.2.0 spec/dummy/db/migrate/20140810061942_add_user_id_to_user_checkout_stat.rb
enju_circulation-0.2.5 db/migrate/20140810061942_add_user_id_to_user_checkout_stat.rb
enju_circulation-0.2.4 db/migrate/20140810061942_add_user_id_to_user_checkout_stat.rb
enju_circulation-0.2.3 db/migrate/20140810061942_add_user_id_to_user_checkout_stat.rb
enju_circulation-0.2.2 db/migrate/20140810061942_add_user_id_to_user_checkout_stat.rb
enju_circulation-0.2.1 db/migrate/20140810061942_add_user_id_to_user_checkout_stat.rb
enju_circulation-0.2.0 db/migrate/20140810061942_add_user_id_to_user_checkout_stat.rb
enju_circulation-0.2.0.beta.4 db/migrate/20140810061942_add_user_id_to_user_checkout_stat.rb