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
/
20100902151904_create_assignments.rb
blob
67a10209d9420efb72c828fb3501ae87de62da07
1
class CreateAssignments < ActiveRecord::Migration
2
def self.up
3
create_table :assignments do |t|
4
t.integer :user_id
5
t.integer :role_id
6
7
t.timestamps
8
end
9
end
10
11
def self.down
12
drop_table :assignments
13
end
14
end