Sha256: ba3688ee8789d9cbd792abbe8ef68e1f097aa6d3062a6b69b6fd84031f6d6ebf

Contents?: true

Size: 215 Bytes

Versions: 4

Compression:

Stored size: 215 Bytes

Contents

# frozen_string_literal: true

class PrefixVolumePricingTableNames < ActiveRecord::Migration[4.2]
  def change
    rename_table :volume_prices, :spree_volume_prices unless Spree::VolumePrice.table_exists?
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
solidus_volume_pricing-1.2.0 db/migrate/20111206173307_prefix_volume_pricing_table_names.rb
solidus_volume_pricing-1.1.1 db/migrate/20111206173307_prefix_volume_pricing_table_names.rb
solidus_volume_pricing-1.1.0 db/migrate/20111206173307_prefix_volume_pricing_table_names.rb
solidus_volume_pricing-1.0.0 db/migrate/20111206173307_prefix_volume_pricing_table_names.rb