Sha256: f4d7b754593d32c82600b6d625e80ff358fa178684a554dd157f292347dbc1ef
Contents?: true
Size: 416 Bytes
Versions: 1
Compression:
Stored size: 416 Bytes
Contents
class AddAddressIdToSolidusSubscriptionsSubscriptions < SolidusSupport::Migration[4.2] def change add_reference :solidus_subscriptions_subscriptions, :shipping_address add_index :solidus_subscriptions_subscriptions, :shipping_address_id, name: :index_subscription_shipping_address_id add_foreign_key :solidus_subscriptions_subscriptions, :spree_addresses, column: :shipping_address_id end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
solidus_subscriptions-alpha-0.0.4 | db/migrate/20161223152905_add_address_id_to_solidus_subscriptions_subscriptions.rb |