Sha256: d90904ffefa98895eba14e02349d15c2ac58f84a4bceb4ec856c1ce8525a554a

Contents?: true

Size: 244 Bytes

Versions: 41

Compression:

Stored size: 244 Bytes

Contents

class AddBirthdateAndNameToUser < ActiveRecord::Migration

  def up
    add_column :users, :birthdate, :date
    add_column :users, :name, :string
  end

  def down
    remove_column :users, :birthdate
    remove_column :users, :name
  end
end

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
iugusdk-1.0.0.alpha.23 db/migrate/20120529162901_add_birthdate_and_name_to_user.rb
iugusdk-1.0.0.alpha.22 db/migrate/20120529162901_add_birthdate_and_name_to_user.rb
iugusdk-1.0.0.alpha.21 db/migrate/20120529162901_add_birthdate_and_name_to_user.rb
iugusdk-1.0.0.alpha.20 db/migrate/20120529162901_add_birthdate_and_name_to_user.rb
iugusdk-1.0.0.alpha.19 db/migrate/20120529162901_add_birthdate_and_name_to_user.rb
iugusdk-1.0.0.alpha.18 db/migrate/20120529162901_add_birthdate_and_name_to_user.rb
iugusdk-1.0.0.alpha.17 db/migrate/20120529162901_add_birthdate_and_name_to_user.rb
iugusdk-1.0.0.alpha.16 db/migrate/20120529162901_add_birthdate_and_name_to_user.rb
iugusdk-1.0.0.alpha.14 db/migrate/20120529162901_add_birthdate_and_name_to_user.rb
iugusdk-1.0.0.alpha.13 db/migrate/20120529162901_add_birthdate_and_name_to_user.rb
iugusdk-1.0.0.alpha.12 db/migrate/20120529162901_add_birthdate_and_name_to_user.rb
iugusdk-1.0.0.alpha.11 db/migrate/20120529162901_add_birthdate_and_name_to_user.rb
iugusdk-1.0.0.alpha.10 db/migrate/20120529162901_add_birthdate_and_name_to_user.rb
iugusdk-1.0.0.alpha.9 db/migrate/20120529162901_add_birthdate_and_name_to_user.rb
iugusdk-1.0.0.alpha.7 db/migrate/20120529162901_add_birthdate_and_name_to_user.rb
iugusdk-1.0.0.alpha.5 db/migrate/20120529162901_add_birthdate_and_name_to_user.rb
iugusdk-1.0.0.alpha.4 db/migrate/20120529162901_add_birthdate_and_name_to_user.rb
iugusdk-1.0.0.alpha.3 db/migrate/20120529162901_add_birthdate_and_name_to_user.rb
iugusdk-1.0.0.alpha.2 db/migrate/20120529162901_add_birthdate_and_name_to_user.rb
iugusdk-1.0.0.alpha.1 db/migrate/20120529162901_add_birthdate_and_name_to_user.rb