projects
/
rails.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Internationalise the trace controller. Fixes #1894.
[rails.git]
/
db
/
migrate
/
015_add_user_visible.rb
1
class AddUserVisible < ActiveRecord::Migration
2
def self.up
3
add_column "users", "visible", :boolean, :default => true, :null => false
4
User.update_all(:visible => true)
5
end
6
7
def self.down
8
remove_column "users", "visible"
9
end
10
end