2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-05 08:59:27 +08:00
discourse/db/migrate/20160303183607_clear_common_passwords_cache.rb

7 lines
190 B
Ruby

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