Sha256: 56434d8c4b90d44c5ad77f53e4a5761c6f2306322b39e60f4736e7680b5d3f3a
Contents?: true
Size: 276 Bytes
Versions: 2
Compression:
Stored size: 276 Bytes
Contents
# This migration comes from spree (originally 20141217215630) class UpdateProductSlugIndex < ActiveRecord::Migration include Spree::MigrationHelpers def change safe_remove_index :spree_products, :slug safe_add_index :spree_products, :slug, unique: true end end
Version data entries
2 entries across 2 versions & 1 rubygems