Sha256: e756b5b65fc44344110e7c2ec5949ea91d870f992127a1fe6e756a0ffc1d6d50
Contents?: true
Size: 211 Bytes
Versions: 16
Compression:
Stored size: 211 Bytes
Contents
class AddUniquenessConstraintToProductTranslations < ActiveRecord::Migration[6.1] def change add_index :spree_product_translations, [:locale, :slug], unique: true, name: 'unique_slug_per_locale' end end
Version data entries
16 entries across 16 versions & 1 rubygems