Sha256: f642f4f94879425b90f3887161dd44600ecf859c23dd87fa955d2cda35f56737

Contents?: true

Size: 273 Bytes

Versions: 11

Compression:

Stored size: 273 Bytes

Contents

class AddStoreToSolidusSubscriptionsSubscriptions < SolidusSupport::Migration[4.2]
  def change
    add_reference :solidus_subscriptions_subscriptions, :store, index: true
    add_foreign_key :solidus_subscriptions_subscriptions, :spree_stores, column: :store_id
  end
end

Version data entries

11 entries across 11 versions & 2 rubygems

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