This repository has been archived on 2024-08-27. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
redstoner.com/db/migrate/00000000000004_create_comments.rb
2013-10-07 04:59:21 +02:00

14 lines
248 B
Ruby

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