2016-03-04 02:39:22 +08:00
|
|
|
require "common_passwords/common_passwords"
|
|
|
|
|
2017-08-31 12:06:56 +08:00
|
|
|
class ClearCommonPasswordsCache < ActiveRecord::Migration[4.2]
|
2016-03-04 02:39:22 +08:00
|
|
|
def change
|
|
|
|
$redis.without_namespace.del CommonPasswords::LIST_KEY
|
|
|
|
end
|
|
|
|
end
|