Sha256: 91bbf420109460acde6cd765724aaf517b00a0d23b1f8466e8b9f9f6ce4d80d0
Contents?: true
Size: 330 Bytes
Versions: 13
Compression:
Stored size: 330 Bytes
Contents
begin ActiveRecord::Base.connection.execute("SELECT owner_id, owner_type, name, value FROM spree_preferences WHERE 'key' IS NULL").each do |pref| warn "[WARNING] Orphaned preference `#{pref[2]}` with value `#{pref[3]}` for #{pref[1]} with id of: #{pref[0]}, you should reset the preference value manually." end rescue end
Version data entries
13 entries across 13 versions & 2 rubygems