repo.or.cz
/
base_ror3_portal.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Remove CanCan in preparation for D-A
[base_ror3_portal.git]
/
db
/
migrate
/
20100901125355_create_cancan_role_migration.rb
blob
9e0914eb0d00141cd60f03a9a63ecfee291de9c2
1
class CreateCancanRoleMigration < ActiveRecord::Migration
2
def self.up
3
create_table :roles do |t|
4
t.string :name
5
t.timestamps
6
end
7
end
8
9
def self.down
10
drop_table :roles
11
end
12
end