Sha256: 76f7b9ebe71385a7f57a165fe3a94bcba6ee61d631d44d6f619a091bd90e0eeb
Contents?: true
Size: 663 Bytes
Versions: 4
Compression:
Stored size: 663 Bytes
Contents
class AddRegistrationIdToPeople < ActiveRecord::Migration def up add_column :refinery_race_registrations_people, :registration_id, :integer add_column :refinery_race_registrations_people, :category_id, :integer add_index :refinery_race_registrations_people, :registration_id add_index :refinery_race_registrations_people, :category_id end def down remove_column :refinery_race_registrations_people, :registration_id remove_column :refinery_race_registrations_people, :category_id remove_index :refinery_race_registrations_people, :registration_id remove_index :refinery_race_registrations_people, :category_id end end
Version data entries
4 entries across 4 versions & 1 rubygems