Sha256: c5299d7a5eda683f51c9b43f93f6b1838acf5d5c85ca50ff498c67556e925279

Contents?: true

Size: 393 Bytes

Versions: 3

Compression:

Stored size: 393 Bytes

Contents

class CreateContentImages < ActiveRecord::Migration
  def self.up
    create_table :content_images do |t|
      t.string :image_file_name
      t.string :image_content_type
      t.integer :image_file_size
      t.datetime :image_updated_at
      t.string :description
      t.integer :content_part_id
      t.timestamps
    end
  end

  def self.down
    drop_table :content_images
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
spree-cms-0.2.1 db/migrate/0003_create_content_images.rb
spree-cms-0.2.0 db/migrate/0003_create_content_images.rb
spree-cms-0.1.0 db/migrate/0003_create_content_images.rb