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
2016-01-17 22:27:38 +01:00

14 lines
265 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 null: true
end
end
end