Sha256: a9ef00800bf19dd733033280a93826b2e43a13f56b1001039cdca3d8ca025ff5

Contents?: true

Size: 352 Bytes

Versions: 6

Compression:

Stored size: 352 Bytes

Contents

class CreateSolidusMpCards < ActiveRecord::Migration[7.1]
  def change
    create_table :solidus_mp_cards do |t|
      t.string :external_id
      t.string :last_four_digits
      t.string :mp_payment_method_id
      t.integer :customer_id, null: false

      t.timestamps
    end

    add_index :solidus_mp_cards, :external_id, unique: true
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
solidus_mp-1.1.5 db/migrate/20240715125709_create_solidus_mp_cards.rb
solidus_mp-1.1.4 db/migrate/20240715125709_create_solidus_mp_cards.rb
solidus_mp-1.1.3 db/migrate/20240715125709_create_solidus_mp_cards.rb
solidus_mp-1.1.2 db/migrate/20240715125709_create_solidus_mp_cards.rb
solidus_mp-1.1.1 db/migrate/20240715125709_create_solidus_mp_cards.rb
solidus_mp-1.1.0 db/migrate/20240715125709_create_solidus_mp_cards.rb