Sha256: ce13b8d86800c54319d60f7719ab4e589103b0fd0030347d5bb0126a36819f76

Contents?: true

Size: 576 Bytes

Versions: 1

Compression:

Stored size: 576 Bytes

Contents

# frozen_string_literal: true

class AddOpenPaySources < SolidusSupport::Migration[4.2]
  def change
    create_table :open_pay_sources do |t|
      t.integer :payment_method_id
      t.string :authorization_id
      t.string :capture_id
      t.string :name
      t.string :device_session_id
      t.string :verification_value
      t.string :token_id
      t.string :number
      t.integer :expiration_month
      t.integer :expiration_year
      t.string :brand
      t.boolean :points_card, default: false
      t.string :points_type

      t.timestamps
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
solidus_open_pay-1.0.0 db/migrate/20241120003957_add_open_pay_sources.rb