Sha256: 58ef8d4fcebef3290c1bb9104c1f469be88769aed5d289e9c01641c70395bde4

Contents?: true

Size: 683 Bytes

Versions: 5

Compression:

Stored size: 683 Bytes

Contents

class AddSpreeCheckPaymentSource < ActiveRecord::Migration[5.1]
  def change
    create_table :spree_checks do |t|
      t.references :payment_method
      t.references :user
      t.string "account_holder_name"
      t.string "account_holder_type"
      t.string "routing_number"
      t.string "account_number"
      t.string "account_type", default: 'checking'
      t.string "status"
      t.string "last_digits"
      t.string "gateway_customer_profile_id"
      t.string "gateway_payment_profile_id"

      t.datetime "created_at", null: false
      t.datetime "updated_at", null: false
      t.datetime "deleted_at"
    end
    add_index :spree_payment_methods, :id
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
spree_gateway-3.9.4 db/migrate/20200317135551_add_spree_check_payment_source.rb
spree_gateway-3.9.3 db/migrate/20200317135551_add_spree_check_payment_source.rb
spree_gateway-3.9.2 db/migrate/20200317135551_add_spree_check_payment_source.rb
spree_gateway-3.9.0 db/migrate/20200317135551_add_spree_check_payment_source.rb
spree_gateway-3.8.0 db/migrate/20200317135551_add_spree_check_payment_source.rb