Sha256: 77843728ae9e375e468db99604471edc909bdca0d1a487549c304ac37e040e6c
Contents?: true
Size: 504 Bytes
Versions: 15
Compression:
Stored size: 504 Bytes
Contents
class CreateSolidusPaypalBraintreeSources < SolidusSupport::Migration[4.2] def change create_table :solidus_paypal_braintree_sources do |t| t.string :nonce t.string :token t.string :payment_type t.integer :user_id, index: true t.references :customer, index: true t.references :payment_method, index: true t.timestamps null: false end add_foreign_key :solidus_paypal_braintree_sources, :spree_payment_methods, column: :payment_method_id end end
Version data entries
15 entries across 15 versions & 2 rubygems