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/04_create_comments.rb
2014-04-04 01:08:17 +02:00

14 lines
254 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