LOTS of stuff
This commit is contained in:
13
db/migrate/06_create_forums.rb
Normal file
13
db/migrate/06_create_forums.rb
Normal file
@@ -0,0 +1,13 @@
|
||||
class CreateForums < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :forums do |t|
|
||||
t.string :name
|
||||
t.integer :position
|
||||
|
||||
t.references :role_read
|
||||
t.references :role_write
|
||||
|
||||
t.references :forumgroup
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user