Sha256: 58599f2a206ef21244e3dc90a15da220890cd644730cdb3ee76845c5fac54368

Contents?: true

Size: 342 Bytes

Versions: 4

Compression:

Stored size: 342 Bytes

Contents

class CreateVolumePrices < ActiveRecord::Migration
  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-0.2.1 db/migrate/20081119145604_create_volume_prices.rb
solidus_volume_pricing-0.1.1 db/migrate/20081119145604_create_volume_prices.rb
solidus_volume_pricing-0.2.0 db/migrate/20081119145604_create_volume_prices.rb
solidus_volume_pricing-0.1.0 db/migrate/20081119145604_create_volume_prices.rb