Sha256: 9685da1435595108bb98e2997e03c10dce77a7c265f2a4a416bafa08ff0eb69c

Contents?: true

Size: 182 Bytes

Versions: 10

Compression:

Stored size: 182 Bytes

Contents

class AddCountryIdToUsers < ActiveRecord::Migration
  def self.up
    add_column :users, :country_id, :integer
  end

  def self.down
    remove_column :users, :country_id
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
community_engine-3.2.0 db/migrate/028_add_country_id_to_users.rb
community_engine-3.0.0 db/migrate/028_add_country_id_to_users.rb
community_engine-2.3.2 db/migrate/028_add_country_id_to_users.rb
community_engine-2.3.1 db/migrate/028_add_country_id_to_users.rb
community_engine-2.3.0 db/migrate/028_add_country_id_to_users.rb
community_engine-2.1.0 db/migrate/028_add_country_id_to_users.rb
community_engine-2.0.0 db/migrate/028_add_country_id_to_users.rb
community_engine-2.0.0.beta3 db/migrate/028_add_country_id_to_users.rb
community_engine-2.0.0.beta2 db/migrate/028_add_country_id_to_users.rb
community_engine-2.0.0.beta1 db/migrate/028_add_country_id_to_users.rb