Sha256: 1e0c2fa20aaf734526cf65ab2ab0c6000c260c29190514225e2e9ef1b5c5df82
Contents?: true
Size: 477 Bytes
Versions: 7
Compression:
Stored size: 477 Bytes
Contents
# This migration comes from spree (originally 20101117031806) class FixProblematicIndexNames < ActiveRecord::Migration def up begin remove_index :preferences, :name => 'index_preferences_on_owner_and_attribute_and_preference' rescue ArgumentError # ignore - already remove then end add_index :preferences, [:owner_id, :owner_type, :name, :group_id, :group_type], :name => 'ix_prefs_on_owner_attr_pref', :unique => true end def down end end
Version data entries
7 entries across 7 versions & 2 rubygems