Sha256: 5a59c2eab0ae703e24fd69059cdd0945dd2f6d6dfd4f369ddc350e42c30e7b8f

Contents?: true

Size: 311 Bytes

Versions: 10

Compression:

Stored size: 311 Bytes

Contents

class AddZagToUsers < ActiveRecord::Migration
  def self.up
    add_column :users, :zip, :string
    add_column :users, :birthday, :date
    add_column :users, :gender, :string
  end

  def self.down
    remove_column :users, :zip
    remove_column :users, :birthday
    remove_column :users, :gender
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

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