mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 20:26:35 +08:00
8 lines
185 B
Ruby
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
|