Sha256: ad5d9bc5f59580cf970aebf0b4f259abd29839df7add52c7fbfba9615ac28f92
Contents?: true
Size: 666 Bytes
Versions: 6
Compression:
Stored size: 666 Bytes
Contents
# This migration comes from spree (originally 20130611054351) class RenameShippingMethodsZonesToSpreeShippingMethodsZones < ActiveRecord::Migration def change rename_table :shipping_methods_zones, :spree_shipping_methods_zones # If Spree::ShippingMethod zones association was patched in # CreateShippingMethodZone migrations, it needs to be patched back Spree::ShippingMethod.has_and_belongs_to_many :zones, :join_table => 'spree_shipping_methods_zones', :class_name => 'Spree::Zone', :foreign_key => 'shipping_method_id' end end
Version data entries
6 entries across 6 versions & 3 rubygems