vendor/plugins/attachment_fu/test/schema.rb in spree-0.2.0 vs vendor/plugins/attachment_fu/test/schema.rb in spree-0.4.0

- old
+ new

@@ -21,10 +21,21 @@ t.column :height, :integer t.column :type, :string t.column :aspect_ratio, :float end + create_table :gd2_attachments, :force => true do |t| + t.column :parent_id, :integer + t.column :thumbnail, :string + t.column :filename, :string, :limit => 255 + t.column :content_type, :string, :limit => 255 + t.column :size, :integer + t.column :width, :integer + t.column :height, :integer + t.column :type, :string + end + create_table :image_science_attachments, :force => true do |t| t.column :parent_id, :integer t.column :thumbnail, :string t.column :filename, :string, :limit => 255 t.column :content_type, :string, :limit => 255 @@ -32,9 +43,20 @@ t.column :width, :integer t.column :height, :integer t.column :type, :string end + create_table :core_image_attachments, :force => true do |t| + t.column :parent_id, :integer + t.column :thumbnail, :string + t.column :filename, :string, :limit => 255 + t.column :content_type, :string, :limit => 255 + t.column :size, :integer + t.column :width, :integer + t.column :height, :integer + t.column :type, :string + end + create_table :mini_magick_attachments, :force => true do |t| t.column :parent_id, :integer t.column :thumbnail, :string t.column :filename, :string, :limit => 255 t.column :content_type, :string, :limit => 255 \ No newline at end of file