Sha256: cf6a67ca556fb736255e88a3ac445d59f9d19107e31c358be1180d565d4a359c

Contents?: true

Size: 255 Bytes

Versions: 2

Compression:

Stored size: 255 Bytes

Contents

class AddAttributesToAssets < ActiveRecord::Migration
  def self.up
    add_column :assets, :logo, :boolean
    add_column :assets, :featured, :boolean
  end

  def self.down
    remove_column :assets, :logo
    remove_column :assets, :featured
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_suppliers-0.0.1 db/migrate/20111028190454_add_attributes_to_assets.rb
spree_suppliers-0.60.3 db/migrate/20111028190454_add_attributes_to_assets.rb