BikeBikeBike/db/migrate/20160708042302_create_comments.rb
2016-07-09 15:25:27 -07:00

12 lines
219 B
Ruby

class CreateComments < ActiveRecord::Migration
def change
create_table :comments do |t|
t.string :model_type
t.integer :model_id
t.text :comment
t.timestamps null: false
end
end
end