2019-05-02 18:17:27 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2016-03-03 13:39:22 -05:00
|
|
|
require "common_passwords/common_passwords"
|
|
|
|
|
2017-08-31 00:06:56 -04:00
|
|
|
class ClearCommonPasswordsCache < ActiveRecord::Migration[4.2]
|
2016-03-03 13:39:22 -05:00
|
|
|
def change
|
2019-12-03 04:05:53 -05:00
|
|
|
Discourse.redis.without_namespace.del CommonPasswords::LIST_KEY
|
2016-03-03 13:39:22 -05:00
|
|
|
end
|
|
|
|
end
|