Sha256: c2cccd8a3abb7a1657f8854e1db36214c1df29db4f18a967f529eced657ebef9

Contents?: true

Size: 389 Bytes

Versions: 5

Compression:

Stored size: 389 Bytes

Contents

class CreateImages < ActiveRecord::Migration
  def self.up
    create_table :images do |t|
      t.integer :viewable_id
      t.string :viewable_type
      t.integer :parent_id
      t.string :content_type
      t.string :filename
      t.integer :size
      t.integer :height
      t.integer :width
      t.string :thumbnail
    end
  end

  def self.down
    drop_table :images
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
railscart-0.0.4 starter_app/vendor/plugins/railscart/db/migrate/019_create_images.rb
spree-0.0.5 starter-app/vendor/plugins/spree/db/migrate/019_create_images.rb
spree-0.0.6 starter-app/vendor/plugins/spree/db/migrate/019_create_images.rb
spree-0.0.8 starter-app/vendor/plugins/spree/db/migrate/019_create_images.rb
spree-0.0.7 starter-app/vendor/plugins/spree/db/migrate/019_create_images.rb