class CreateUsers

Public Instance Methods

change() click to toggle source
# File db/migrate/20120328062324_create_users.rb, line 2
def change
  create_table :users do |t|
    t.string :name
    t.datetime :last_login
    t.boolean :administrator
    t.string :password_hash
    t.string :last_ip
    t.string :phone_number

    t.timestamps
  end
end