Sha256: 9e7caf3b849ff3e57704d1e2fe497b7439d159bc9770284c69922acbfd0d0d3c

Contents?: true

Size: 240 Bytes

Versions: 25

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

25 entries across 25 versions & 9 rubygems

Version Path
solidus_bank_transfer-0.0.1 spec/dummy/db/migrate/20190822070929_add_index_to_spree_payments_number.spree.rb
alchemy-solidus-2.3.0 spec/dummy/db/migrate/20190311112261_add_index_to_spree_payments_number.spree.rb
solidus_seo-1.0.2 spec/dummy/db/migrate/20181007234726_add_index_to_spree_payments_number.spree.rb
solidus_seo-1.0.1 spec/dummy/db/migrate/20181007234726_add_index_to_spree_payments_number.spree.rb
solidus_seo-1.0.0 spec/dummy/db/migrate/20181007234726_add_index_to_spree_payments_number.spree.rb