Sha256: bc3ea12063c6fba6d76d9c83f505d7f4d7a27e427043419b53eb4c7d000daef6
Contents?: true
Size: 604 Bytes
Versions: 48
Compression:
Stored size: 604 Bytes
Contents
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
48 entries across 48 versions & 1 rubygems