Sha256: 30af41d7e311a2a4062c8d23cf727abda64eb9c312bb4424f0686729de5eb0a5

Contents?: true

Size: 209 Bytes

Versions: 6

Compression:

Stored size: 209 Bytes

Contents

class ChangeCategoryAddVariantId < ActiveRecord::Migration
  def self.up
    add_column :shop_categories, :variant_id, :integer
  end

  def self.down
    remove_column :shop_categories, :variant_id
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
radiant-shop-extension-0.11.6 db/migrate/20100929235221_change_category_add_variant_id.rb
radiant-shop-extension-0.11.5 db/migrate/20100929235221_change_category_add_variant_id.rb
radiant-shop-extension-0.11.4 db/migrate/20100929235221_change_category_add_variant_id.rb
radiant-shop-extension-0.11.3 db/migrate/20100929235221_change_category_add_variant_id.rb
radiant-shop-extension-0.11.1 db/migrate/20100929235221_change_category_add_variant_id.rb
radiant-shop-extension-0.11.0 db/migrate/20100929235221_change_category_add_variant_id.rb