Sha256: 94bb2f2479625354d0ce57691066aa02244332baab97fe901460c1ab7e1e9124
Contents?: true
Size: 591 Bytes
Versions: 11
Compression:
Stored size: 591 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
11 entries across 11 versions & 2 rubygems