Sha256: 70bce4aacb040725654fde8e5c2ccde0d1206b81384d840452f5a88fa8fc266c

Contents?: true

Size: 248 Bytes

Versions: 2

Compression:

Stored size: 248 Bytes

Contents

class CreateCrossSellingsProducts < ActiveRecord::Migration
  def self.up
    create_table :cross_sellings_products do |t|
      t.belongs_to :cross_selling, :product
    end
  end

  def self.down
    drop_table :cross_sellings_products
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
forgeos_commerce-1.9.1.rc1 db/migrate/20091009134609_create_cross_sellings_products.rb
forgeos_commerce-1.9.0 db/migrate/20091009134609_create_cross_sellings_products.rb