This repository has been archived on 2024-08-27. You can view files and clone it, but cannot push or open issues or pull requests.
redstoner.com/db/migrate/20140617183704_create_comments.rb
2016-02-07 14:27:57 +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