class CreateCaffeinePictures < ActiveRecord::Migration
  def change
    create_table :caffeine_pictures do |t|
      t.string :image_id
      t.string :image_filename
      t.string :image_content_type
      t.integer :image_size

      t.references :imageable, polymorphic: true, index: true

      t.timestamps null: false
    end
  end
end

class CreateCaffeinePictures < ActiveRecord::Migration
  def change
    create_table :caffeine_pictures do |t|
      t.string :image_id
      t.string :image_filename
      t.string :image_content_type
      t.integer :image_size
      t.string :caption
      t.text :description

      t.references :imageable, polymorphic: true, index: true

      t.timestamps null: false
    end
  end
end

Add caption and description to pictures
Add caption and description to pictures
