LOTS of stuff
This commit is contained in:
17
db/migrate/07_create_forumthreads.rb
Normal file
17
db/migrate/07_create_forumthreads.rb
Normal file
@@ -0,0 +1,17 @@
|
||||
class CreateForumthreads < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :forumthreads do |t|
|
||||
t.string :title
|
||||
t.text :content
|
||||
t.boolean :sticky, :default => false
|
||||
t.boolean :locked, :default => false
|
||||
|
||||
t.references :user_author
|
||||
t.references :user_editor
|
||||
|
||||
t.references :forum
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user