This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/db/migrate/20160303183607_clear_common_passwords_cache.rb

8 lines
185 B
Ruby

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