Sha256: 11b1757097db03480369b5b22275bdaf95008236221465325dcce992631a78a8
Contents?: true
Size: 614 Bytes
Versions: 1
Compression:
Stored size: 614 Bytes
Contents
class CreateSolidusSubscriptionsInstallments < SolidusSupport::Migration[4.2] def change create_table :solidus_subscriptions_installments do |t| t.references :subscription, index: true, null: false t.references :order, index: true t.date :actionable_date t.timestamps null: false end add_foreign_key( :solidus_subscriptions_installments, :solidus_subscriptions_subscriptions, column: :subscription_id ) add_foreign_key( :solidus_subscriptions_installments, :spree_orders, column: :order_id ) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
solidus_subscriptions-alpha-0.0.4 | db/migrate/20160825202248_create_solidus_subscriptions_installments.rb |