docbrown/db/migrate/20160304010353_create_comments.rb
2018-02-28 16:11:08 -05:00

11 lines
257 B
Ruby

class CreateComments < ActiveRecord::Migration
def change
create_table :comments do |t|
t.integer :link_id
t.integer :user_id
t.text :body_html
t.boolean :edited, default: false
t.timestamps null: false
end
end
end