Sha256: 48519f08c29b58c0baf4dbb9abd2399fb7339da711dbf7a3b7ec2a4f730d93ba

Contents?: true

Size: 449 Bytes

Versions: 6

Compression:

Stored size: 449 Bytes

Contents

class CreateSolidusStripePaymentIntents < ActiveRecord::Migration[7.0]
  def change
    create_table :solidus_stripe_payment_intents do |t|
      t.string :stripe_intent_id
      t.integer :order_id, null: false, index: true
      t.integer :payment_method_id, null: false, index: true

      t.timestamps

      t.foreign_key :spree_orders, column: :order_id
      t.foreign_key :spree_payment_methods, column: :payment_method_id
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
solidus_stripe-5.0.2 db/migrate/20230306105520_create_solidus_stripe_payment_intents.rb
solidus_stripe-5.0.1 db/migrate/20230306105520_create_solidus_stripe_payment_intents.rb
solidus_stripe-5.0.0 db/migrate/20230306105520_create_solidus_stripe_payment_intents.rb
solidus_stripe-5.0.0.rc.3 db/migrate/20230306105520_create_solidus_stripe_payment_intents.rb
solidus_stripe-5.0.0.rc.2 db/migrate/20230306105520_create_solidus_stripe_payment_intents.rb
solidus_stripe-5.0.0.rc.1 db/migrate/20230306105520_create_solidus_stripe_payment_intents.rb