Sha256: a00ecbf2f0d094aa19b4a2e64476c40b3858af9b9cfe237ac9086ce044b26e12

Contents?: true

Size: 278 Bytes

Versions: 3

Compression:

Stored size: 278 Bytes

Contents

class AddNameAndAltToContentImages < ActiveRecord::Migration
  def self.up
    add_column :content_images, :name, :text
    add_column :content_images, :alt, :text
  end

  def self.down
    remove_column :content_images, :alt
    remove_column :content_images, :name
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
spree-cms-0.2.1 db/migrate/0006_add_name_and_alt_to_content_images.rb
spree-cms-0.2.0 db/migrate/0006_add_name_and_alt_to_content_images.rb
spree-cms-0.1.0 db/migrate/0006_add_name_and_alt_to_content_images.rb