Sha256: c02314c9e6d26c07bdf806e30a58aed57f7d2457ad88f412644bdf731896dd59

Contents?: true

Size: 264 Bytes

Versions: 2

Compression:

Stored size: 264 Bytes

Contents

class CreatePacksProducts < ActiveRecord::Migration
  def self.up
    create_table :packs_products, :id => false do |t|
      t.belongs_to :pack, 
        :product
      t.integer :position
    end  
  end

  def self.down
    drop_table :packs_products
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
forgeos_commerce-1.9.1.rc1 db/migrate/20091009134721_create_packs_products.rb
forgeos_commerce-1.9.0 db/migrate/20091009134721_create_packs_products.rb