Sha256: 59ccbfc289e2e005f7771d68e9fc0d24dc2b0d2621d0a3fe62ec67460f5a7888

Contents?: true

Size: 330 Bytes

Versions: 16

Compression:

Stored size: 330 Bytes

Contents

class AddUserProfileToRegistration < ActiveRecord::Migration
  def up
    add_column      :ems_registrations, :user_profile_id, :integer
    remove_column   :ems_registrations, :user_id
  end

  def down
    remove_column   :ems_registrations, :user_profile_id
    add_column      :ems_registrations, :user_id, :integer
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
dm_event-4.2.3.10 db/migrate/20130516204454_add_user_profile_to_registration.rb
dm_event-4.2.3.9 db/migrate/20130516204454_add_user_profile_to_registration.rb
dm_event-4.2.3.8 db/migrate/20130516204454_add_user_profile_to_registration.rb
dm_event-4.2.3.7 db/migrate/20130516204454_add_user_profile_to_registration.rb
dm_event-4.2.3.6 db/migrate/20130516204454_add_user_profile_to_registration.rb
dm_event-4.2.3.5 db/migrate/20130516204454_add_user_profile_to_registration.rb
dm_event-4.2.3.4 db/migrate/20130516204454_add_user_profile_to_registration.rb
dm_event-4.2.3.3 db/migrate/20130516204454_add_user_profile_to_registration.rb
dm_event-4.2.3.2 db/migrate/20130516204454_add_user_profile_to_registration.rb
dm_event-4.2.3.1 db/migrate/20130516204454_add_user_profile_to_registration.rb
dm_event-4.2.3 db/migrate/20130516204454_add_user_profile_to_registration.rb
dm_event-4.2.2.3 db/migrate/20130516204454_add_user_profile_to_registration.rb
dm_event-4.2.2.2 db/migrate/20130516204454_add_user_profile_to_registration.rb
dm_event-4.2.2.1 db/migrate/20130516204454_add_user_profile_to_registration.rb
dm_event-4.2.2 db/migrate/20130516204454_add_user_profile_to_registration.rb
dm_event-4.2.1.5 db/migrate/20130516204454_add_user_profile_to_registration.rb