Sha256: c04d33b6a59f43fea3ae88289a8e71f9adaf27d9625196cd1503e8670ea97a1e

Contents?: true

Size: 507 Bytes

Versions: 8

Compression:

Stored size: 507 Bytes

Contents

class AddUserIdToStat < ActiveRecord::Migration
  def change
    add_column :user_checkout_stats, :user_id, :integer
    add_column :user_reserve_stats, :user_id, :integer
    add_column :manifestation_checkout_stats, :user_id, :integer
    add_column :manifestation_reserve_stats, :user_id, :integer
    add_index :user_checkout_stats, :user_id
    add_index :user_reserve_stats, :user_id
    add_index :manifestation_checkout_stats, :user_id
    add_index :manifestation_reserve_stats, :user_id
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
enju_event-0.1.17.pre23 spec/dummy/db/migrate/20140810061942_add_user_id_to_stat.rb
enju_leaf-1.1.0.rc15 spec/dummy/db/migrate/20140810061942_add_user_id_to_stat.rb
enju_event-0.1.17.pre22 spec/dummy/db/migrate/20140810061942_add_user_id_to_stat.rb
enju_event-0.1.17.pre21 spec/dummy/db/migrate/20140810061942_add_user_id_to_stat.rb
enju_event-0.1.17.pre20 spec/dummy/db/migrate/20140810061942_add_user_id_to_stat.rb
enju_leaf-1.1.0.rc14 spec/dummy/db/migrate/20140810061942_add_user_id_to_stat.rb
enju_event-0.1.17.pre19 spec/dummy/db/migrate/20140810061942_add_user_id_to_stat.rb
enju_leaf-1.1.0.rc13 spec/dummy/db/migrate/20140810061942_add_user_id_to_stat.rb