projects
/
depot.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
4f734593854cb76e8eeebc4ddad4a4a26d0a8f2b
[depot.git]
/
db
/
migrate
/
20090311202750_add_first_admin_user.rb
1
class
AddFirstAdminUser
<
ActiveRecord
::Migration
2
def self
.
up
3
User
.
delete_all
4
User
.
create
(
:name
=>
'Neil'
,
5
:password
=>
'neildepot'
,
6
:password_confirmation
=>
'neildepot'
)
7
end
8
9
def self
.
down
10
User
.
delete_all
11
end
12
end