repo.or.cz
/
askyou.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
;]
[askyou.git]
/
db
/
migrate
/
061_add_roles_builtin.rb
blob
a8d6fe9e6a7ff243658ca31d773b1ea476ea8823
1
class AddRolesBuiltin < ActiveRecord::Migration
2
def self.up
3
add_column :roles, :builtin, :integer, :default => 0, :null => false
4
end
5
6
def self.down
7
remove_column :roles, :builtin
8
end
9
end