Sha256: 84066be227f613906e545ab1a8e908c53d22b47dec2ce8a85fea1729b09b494a

Contents?: true

Size: 279 Bytes

Versions: 1

Compression:

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

1 entries across 1 versions & 1 rubygems

Version Path
solidus_subscriptions-alpha-0.0.4 db/migrate/20161221155142_add_store_to_solidus_subscriptions_subscriptions.rb