discourse/db/migrate/20160303183607_clear_common...

10 lines
221 B
Ruby

# frozen_string_literal: true
require "common_passwords/common_passwords"
class ClearCommonPasswordsCache < ActiveRecord::Migration[4.2]
def change
$redis.without_namespace.del CommonPasswords::LIST_KEY
end
end