projects
/
depot.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Finished chapter 11
[depot.git]
/
db
/
migrate
/
20090311105014_create_users.rb
1
class
CreateUsers
<
ActiveRecord
::Migration
2
def self
.
up
3
create_table
:users
do
|
t
|
4
t
.
string
:name
5
t
.
string
:hashed_password
6
t
.
string
:salt
7
8
t
.
timestamps
9
end
10
end
11
12
def self
.
down
13
drop_table
:users
14
end
15
end