Sha256: e1bbec450ec0cc6be0115bc3195079b93bf32151d7fcd992db65b4a65e58a55e

Contents?: true

Size: 285 Bytes

Versions: 2

Compression:

Stored size: 285 Bytes

Contents

class CreateProductPriceVariations < ActiveRecord::Migration
  def self.up
    create_table :product_price_variations do |t|
      t.belongs_to :product
      t.integer :quantity
      t.float :discount
    end
  end

  def self.down
    drop_table :product_price_variations
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
forgeos_commerce-1.9.1.rc1 db/migrate/20101007074306_create_product_price_variations.rb
forgeos_commerce-1.9.0 db/migrate/20101007074306_create_product_price_variations.rb