# rubocop:disable allclassRemoveDuplicatedKeys<ActiveRecord::Migrationdefupselect_all("SELECT fingerprint FROM #{quote_table_name(:keys)} GROUP BY fingerprint HAVING COUNT(*) > 1").eachdo|row|fingerprint=connection.quote(row['fingerprint'])execute(%Q{