lib/generators/uploadbox/image/templates/migrate/create_images.rb in uploadbox-0.0.9 vs lib/generators/uploadbox/image/templates/migrate/create_images.rb in uploadbox-0.0.10

- old
+ new

@@ -1,8 +1,8 @@ class CreateImages < ActiveRecord::Migration def change create_table :images do |t| - t.string :file, index: true + t.string :file t.references :imageable, polymorphic: true, index: true t.integer :width t.integer :height t.boolean :retina, default: false t.string :upload_name