Sha256: 2c878bf179bf8576360702b18684fb583d49ecb1cb9b6d4196da9a39c75c8d50

Contents?: true

Size: 378 Bytes

Versions: 4

Compression:

Stored size: 378 Bytes

Contents

# frozen_string_literal: true

class CreateVolumePrices < ActiveRecord::Migration[4.2]
  def self.up
    create_table :volume_prices do |t|
      t.references :variant
      t.string :display
      t.string :range
      t.decimal :amount, precision: 8, scale: 2
      t.integer :position
      t.timestamps
    end
  end

  def self.down
    drop_table :volume_prices
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
solidus_volume_pricing-1.2.0 db/migrate/20081119145604_create_volume_prices.rb
solidus_volume_pricing-1.1.1 db/migrate/20081119145604_create_volume_prices.rb
solidus_volume_pricing-1.1.0 db/migrate/20081119145604_create_volume_prices.rb
solidus_volume_pricing-1.0.0 db/migrate/20081119145604_create_volume_prices.rb