Sha256: 2543ab95894aba19fc58b5f29710c60a5b504beea5c8f8ab1c9174855e4280c7
Contents?: true
Size: 264 Bytes
Versions: 12
Compression:
Stored size: 264 Bytes
Contents
class AddUniqueIndexOnTaxonIdAndProductIdToSpreeProductsTaxons < ActiveRecord::Migration[6.0] def change add_index :spree_products_taxons, [:product_id, :taxon_id], unique: true unless index_exists? :spree_products_taxons, [:product_id, :taxon_id] end end
Version data entries
12 entries across 12 versions & 1 rubygems