Sha256: 6366cd69022b9a8752234402055e3d52f269f9c0bdfb210df984a57329f27dd2
Contents?: true
Size: 327 Bytes
Versions: 21
Compression:
Stored size: 327 Bytes
Contents
class AddForeignKeyToShippingMethodStockLocation < ActiveRecord::Migration[4.2] def change add_foreign_key :spree_shipping_method_stock_locations, :spree_shipping_methods, column: :shipping_method_id add_foreign_key :spree_shipping_method_stock_locations, :spree_stock_locations, column: :stock_location_id end end
Version data entries
21 entries across 21 versions & 1 rubygems
Version | Path |
---|---|
solidus_core-2.0.0.beta1 | db/migrate/20151002023248_add_foreign_key_to_shipping_method_stock_location.rb |