Sha256: 38c96c1f6238b069ee563d199acc1528767d8f78d728e4001b4b9ce872fd074a

Contents?: true

Size: 313 Bytes

Versions: 6

Compression:

Stored size: 313 Bytes

Contents

class ShopGroupsChangeAddDescription < ActiveRecord::Migration
  def self.up
    add_column    :shop_groups, :description,   :text
    add_column    :pages,       :shop_group_id, :integer
  end

  def self.down
    remove_column :shop_groups, :description
    remove_column :pages,       :shop_group_id
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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