discourse/db/migrate/20160303183607_clear_common_passwords_cache.rb
Loïc Guitaut 008b700a3f DEV: Upgrade to Rails 7
This patch upgrades Rails to version 7.0.2.4.
2022-04-28 11:51:03 +02:00

10 lines
213 B
Ruby

# frozen_string_literal: true
require "common_passwords"
class ClearCommonPasswordsCache < ActiveRecord::Migration[4.2]
def change
Discourse.redis.without_namespace.del CommonPasswords::LIST_KEY
end
end