Sha256: 8559c0985ac6fc4807426bd2a48fdb4b183787603b0350b762a037a79c001825

Contents?: true

Size: 253 Bytes

Versions: 6

Compression:

Stored size: 253 Bytes

Contents

# This migration comes from spree (originally 20180222133746)
class AddUniqueIndexOnSpreePromotionsCode < ActiveRecord::Migration[5.1]
  def change
    remove_index :spree_promotions, :code
    add_index :spree_promotions, :code, unique: true
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
spree_purchase_order-3.7.0 spec/dummy/db/migrate/20191113195970_add_unique_index_on_spree_promotions_code.spree.rb
spree_billing_sisow-0.9.2 spec/dummy/db/migrate/20190729091911_add_unique_index_on_spree_promotions_code.spree.rb
spree_billing_sisow-0.9.1 spec/dummy/db/migrate/20190729091911_add_unique_index_on_spree_promotions_code.spree.rb
spree_purchase_order-3.6.0 spec/dummy/db/migrate/20180516202854_add_unique_index_on_spree_promotions_code.spree.rb
spree_purchase_order-3.5.0 spec/dummy/db/migrate/20180516202854_add_unique_index_on_spree_promotions_code.spree.rb
spree_purchase_order-3.5.0.rc1 spec/dummy/db/migrate/20180516202854_add_unique_index_on_spree_promotions_code.spree.rb