repo.or.cz
/
gitorious.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Handle not ready repos
[gitorious.git]
/
db
/
migrate
/
20090109005102_add_new_flags_to_user.rb
blob
a6a82b7d91a4c956ee2cb717a6a05440151b87d8
1
class AddNewFlagsToUser < ActiveRecord::Migration
2
def self.up
3
add_column :users, :is_admin, :boolean, :default => false
4
add_column :users, :suspended_at, :datetime
5
end
6
7
def self.down
8
remove_column :users, :is_admin
9
remove_column :users, :suspended_at
10
end
11
end