Sha256: d7415874f384245dcafd670fd6be0c8fa0ac9be6f1e06c349b3203445b675d33

Contents?: true

Size: 426 Bytes

Versions: 9

Compression:

Stored size: 426 Bytes

Contents

# This migration comes from spree (originally 20130628022817)
class AddUniqueIndexToOrdersShipmentsAndStockTransfers < ActiveRecord::Migration[4.2]
  def add
    add_index "spree_orders", ["number"], name: "number_idx_unique", unique: true
    add_index "spree_shipments", ["number"], name: "number_idx_unique", unique: true
    add_index "spree_stock_transfers", ["number"], name: "number_idx_unique", unique: true
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
spree_purchase_order-3.7.0 spec/dummy/db/migrate/20191113195782_add_unique_index_to_orders_shipments_and_stock_transfers.spree.rb
spree_billing_sisow-0.9.2 spec/dummy/db/migrate/20190729091723_add_unique_index_to_orders_shipments_and_stock_transfers.spree.rb
spree_billing_sisow-0.9.1 spec/dummy/db/migrate/20190729091723_add_unique_index_to_orders_shipments_and_stock_transfers.spree.rb
spree_purchase_order-3.6.0 spec/dummy/db/migrate/20180516181911_add_unique_index_to_orders_shipments_and_stock_transfers.spree.rb
spree_purchase_order-3.5.0 spec/dummy/db/migrate/20180516181911_add_unique_index_to_orders_shipments_and_stock_transfers.spree.rb
spree_purchase_order-3.5.0.rc1 spec/dummy/db/migrate/20180516181911_add_unique_index_to_orders_shipments_and_stock_transfers.spree.rb
spree_purchase_order-3.4.0 spec/dummy/db/migrate/20180516181911_add_unique_index_to_orders_shipments_and_stock_transfers.spree.rb
spree_purchase_order-3.3.0 spec/dummy/db/migrate/20180516181911_add_unique_index_to_orders_shipments_and_stock_transfers.spree.rb
spree_purchase_order-3.2.0 spec/dummy/db/migrate/20180516181911_add_unique_index_to_orders_shipments_and_stock_transfers.spree.rb