Skip to content

Commit

Permalink
Added user functionallity
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhalldor committed Mar 12, 2009
1 parent daf164f commit 27ef70a
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions db/migrate/20090312174058_create_users.rb
@@ -0,0 +1,16 @@
class CreateUsers < ActiveRecord::Migration
def self.up
create_table :users do |t|
t.string :name, :limit => 128, :null => false
t.string :email, :limit => 128, :null => false
t.string :hashed_password, :limit => 64
t.string :salt

t.timestamps
end
end

def self.down
drop_table :users
end
end

0 comments on commit 27ef70a

Please sign in to comment.