12 lines
208 B
Ruby
12 lines
208 B
Ruby
class CreateForums < ActiveRecord::Migration
|
|
def change
|
|
create_table :forums do |t|
|
|
t.string "name"
|
|
t.integer "position"
|
|
t.references :forumgroup
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|