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
Started to Implement D-A, and roles scaffold - Need to finish Test Suite
[base_ror3_portal.git]
/
db
/
migrate
/
20100902151516_create_roles.rb
blob
e0d18475df2f93735bf3f2a4a50bc98af11efefe
1
class CreateRoles < ActiveRecord::Migration
2
def self.up
3
create_table :roles do |t|
4
t.string :name
5
6
t.timestamps
7
end
8
end
9
10
def self.down
11
drop_table :roles
12
end
13
end