summaryrefslogtreecommitdiff
path: root/db/migrate/20111006074623_create_users.rb
blob: dab37c560cef4537554dcdaf654d686cbb708610 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
class CreateUsers < ActiveRecord::Migration
  def self.up
    create_table :users do |t|
      t.string :user_name
      t.string :email
      t.string :password_digest
      t.string :first_name
      t.string :middle_name
      t.string :last_name
      t.boolean :male
      t.string :gemeinschaft_unique_id
      t.string :state
      t.timestamps
    end
  end

  def self.down
    drop_table :users
  end
end