Sha256: f893c03d4a5214451638f00ec040433ffe191815b8aadecfa61a75bfc9c5ca12

Contents?: true

Size: 423 Bytes

Versions: 64

Compression:

Stored size: 423 Bytes

Contents

# This migration comes from dm_core (originally 20121028125831)
class AddUserFields < ActiveRecord::Migration
  def up
    add_column :users, :first_name,           :string
    add_column :users, :last_name,            :string
    add_column :users, :country_id,           :integer
  end

  def down
    remove_column :users, :first_name
    remove_column :users, :last_name
    remove_column :users, :country_id
  end
end

Version data entries

64 entries across 64 versions & 4 rubygems

Version Path
dm_newsletter-4.2.3.10 spec/dummy/db/migrate/20141114170929_add_user_fields.dm_core.rb
dm_forum-4.2.3.10 spec/dummy/db/migrate/20141114170929_add_user_fields.dm_core.rb
dm_event-4.2.3.10 spec/dummy/db/migrate/20141114170929_add_user_fields.dm_core.rb
dm_cms-4.2.3.10 spec/dummy/db/migrate/20141114170929_add_user_fields.dm_core.rb
dm_newsletter-4.2.3.9 spec/dummy/db/migrate/20141114170929_add_user_fields.dm_core.rb
dm_forum-4.2.3.9 spec/dummy/db/migrate/20141114170929_add_user_fields.dm_core.rb
dm_event-4.2.3.9 spec/dummy/db/migrate/20141114170929_add_user_fields.dm_core.rb
dm_cms-4.2.3.9 spec/dummy/db/migrate/20141114170929_add_user_fields.dm_core.rb
dm_newsletter-4.2.3.8 spec/dummy/db/migrate/20141114170929_add_user_fields.dm_core.rb
dm_forum-4.2.3.8 spec/dummy/db/migrate/20141114170929_add_user_fields.dm_core.rb
dm_event-4.2.3.8 spec/dummy/db/migrate/20141114170929_add_user_fields.dm_core.rb
dm_cms-4.2.3.8 spec/dummy/db/migrate/20141114170929_add_user_fields.dm_core.rb
dm_newsletter-4.2.3.7 spec/dummy/db/migrate/20141114170929_add_user_fields.dm_core.rb
dm_forum-4.2.3.7 spec/dummy/db/migrate/20141114170929_add_user_fields.dm_core.rb
dm_event-4.2.3.7 spec/dummy/db/migrate/20141114170929_add_user_fields.dm_core.rb
dm_cms-4.2.3.7 spec/dummy/db/migrate/20141114170929_add_user_fields.dm_core.rb
dm_newsletter-4.2.3.6 spec/dummy/db/migrate/20141114170929_add_user_fields.dm_core.rb
dm_forum-4.2.3.6 spec/dummy/db/migrate/20141114170929_add_user_fields.dm_core.rb
dm_event-4.2.3.6 spec/dummy/db/migrate/20141114170929_add_user_fields.dm_core.rb
dm_cms-4.2.3.6 spec/dummy/db/migrate/20141114170929_add_user_fields.dm_core.rb