LOTS of stuff
This commit is contained in:
13
db/migrate/04_create_comments.rb
Normal file
13
db/migrate/04_create_comments.rb
Normal file
@@ -0,0 +1,13 @@
|
||||
class CreateComments < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :comments do |t|
|
||||
t.text :content
|
||||
|
||||
t.references :user_author
|
||||
t.references :user_editor
|
||||
t.references :blogpost
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user