Sha256: c6ad2fe6b9af10598a828102800ac7c6662a7c1f0773633e72a2c7bed85c153b

Contents?: true

Size: 409 Bytes

Versions: 11

Compression:

Stored size: 409 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

11 entries across 11 versions & 2 rubygems

Version Path
solidus_subscriptions-2.0.2 db/migrate/20161223152905_add_address_id_to_solidus_subscriptions_subscriptions.rb
solidus_subscriptions-2.0.1 db/migrate/20161223152905_add_address_id_to_solidus_subscriptions_subscriptions.rb
solidus_subscriptions-2.0.0 db/migrate/20161223152905_add_address_id_to_solidus_subscriptions_subscriptions.rb
solidus_subscriptions-1.1.0 db/migrate/20161223152905_add_address_id_to_solidus_subscriptions_subscriptions.rb
solidus_subscriptions-1.0.1 db/migrate/20161223152905_add_address_id_to_solidus_subscriptions_subscriptions.rb
solidus_subscriptions-1.0.0 db/migrate/20161223152905_add_address_id_to_solidus_subscriptions_subscriptions.rb
solidus_subscriptions-1.0.0.rc1 db/migrate/20161223152905_add_address_id_to_solidus_subscriptions_subscriptions.rb
solidus_subscriptions-alpha-0.0.5 db/migrate/20161223152905_add_address_id_to_solidus_subscriptions_subscriptions.rb
solidus_subscriptions-alpha-0.0.3 db/migrate/20161223152905_add_address_id_to_solidus_subscriptions_subscriptions.rb
solidus_subscriptions-alpha-0.0.2 db/migrate/20161223152905_add_address_id_to_solidus_subscriptions_subscriptions.rb
solidus_subscriptions-alpha-0.0.1 db/migrate/20161223152905_add_address_id_to_solidus_subscriptions_subscriptions.rb