Sha256: 68b5325dfa763bd335b23ee9a9155c8c0f7da43ac098248bfea8fe7c33aef555

Contents?: true

Size: 240 Bytes

Versions: 10

Compression:

Stored size: 240 Bytes

Contents

# frozen_string_literal: true

# This migration comes from spree (originally 20161129035810)
class AddIndexToSpreePaymentsNumber < ActiveRecord::Migration[5.0]
  def change
    add_index 'spree_payments', ['number'], unique: true
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
solidus_prototypes-1.6.0 spec/dummy/db/migrate/20231107091959_add_index_to_spree_payments_number.spree.rb
solidus_prototypes-1.5.1 spec/dummy/db/migrate/20231107091959_add_index_to_spree_payments_number.spree.rb
solidus_prototypes-1.5.0 spec/dummy/db/migrate/20231107091959_add_index_to_spree_payments_number.spree.rb
solidus_prototypes-1.4.0 spec/dummy/db/migrate/20231107091959_add_index_to_spree_payments_number.spree.rb
solidus_prototypes-1.3.0 spec/dummy/db/migrate/20230326093417_add_index_to_spree_payments_number.spree.rb
solidus_reports-1.2.0 spec/dummy/db/migrate/20230326095725_add_index_to_spree_payments_number.spree.rb
solidus_prototypes-1.2.0 spec/dummy/db/migrate/20221122203143_add_index_to_spree_payments_number.spree.rb
solidus_prototypes-1.1.1 spec/dummy/db/migrate/20221014070458_add_index_to_spree_payments_number.spree.rb
solidus_reports-1.1.0 spec/dummy/db/migrate/20221012211949_add_index_to_spree_payments_number.spree.rb
solidus_prototypes-1.1.0 spec/dummy/db/migrate/20221012201057_add_index_to_spree_payments_number.spree.rb