repo.or.cz
/
beast-modified.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
beast rev 2066
[beast-modified.git]
/
db
/
migrate
/
029_create_moderatorships.rb
blob
baed7a852f4d4ee0abaa32cb00ebb68ada5a2864
1
class CreateModeratorships < ActiveRecord::Migration
2
def self.up
3
create_table :moderatorships do |t|
4
t.column :forum_id, :integer
5
t.column :user_id, :integer
6
end
7
end
8
9
def self.down
10
drop_table :moderatorships
11
end
12
end