Sha256: 2a2ee5ff58b50fc34329910363255565fa2dbe115704a8abcf184d3b6f42fa28
Contents?: true
Size: 264 Bytes
Versions: 10
Compression:
Stored size: 264 Bytes
Contents
class AddUniqueIndexOnTaxonIdAndProductIdToSpreeProductsTaxons < ActiveRecord::Migration[5.2] 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
10 entries across 10 versions & 1 rubygems