BikeBikeBike/db/migrate/20160708042302_create_comments.rb

12 lines
219 B
Ruby
Raw Normal View History

2016-07-09 15:25:27 -07:00
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