Sha256: 764e319fd52e9cfe6de9a6e32f60f0c7a88a965f8fdf13ea42d7dc9e38c21146

Contents?: true

Size: 247 Bytes

Versions: 12

Compression:

Stored size: 247 Bytes

Contents

class AddCompareAtAmountToSpreePrices < ActiveRecord::Migration[6.0]
  def change
    unless column_exists?(:spree_prices, :compare_at_amount)
      add_column :spree_prices, :compare_at_amount, :decimal, precision: 10, scale: 2
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
spree_core-4.2.4 db/migrate/20200421095017_add_compare_at_amount_to_spree_prices.rb
spree_core-4.2.3.1 db/migrate/20200421095017_add_compare_at_amount_to_spree_prices.rb
spree_core-4.2.3 db/migrate/20200421095017_add_compare_at_amount_to_spree_prices.rb
spree_core-4.2.2 db/migrate/20200421095017_add_compare_at_amount_to_spree_prices.rb
spree_core-4.2.1 db/migrate/20200421095017_add_compare_at_amount_to_spree_prices.rb
spree_core-4.2.0 db/migrate/20200421095017_add_compare_at_amount_to_spree_prices.rb
spree_core-4.2.0.rc5 db/migrate/20200421095017_add_compare_at_amount_to_spree_prices.rb
spree_core-4.2.0.rc4 db/migrate/20200421095017_add_compare_at_amount_to_spree_prices.rb
spree_core-4.2.0.rc3 db/migrate/20200421095017_add_compare_at_amount_to_spree_prices.rb
spree_core-4.2.0.rc2 db/migrate/20200421095017_add_compare_at_amount_to_spree_prices.rb
spree_core-4.2.0.rc1 db/migrate/20200421095017_add_compare_at_amount_to_spree_prices.rb
spree_core-4.2.0.beta db/migrate/20200421095017_add_compare_at_amount_to_spree_prices.rb