Fix `db:encryption:init` requiring ActiveRecord encryption variables to be set

This commit is contained in:
Claire 2024-05-07 10:16:48 +02:00
parent 2fe1b8d169
commit aaa946fa10
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ Rake::Task['db:encryption:init'].clear
namespace :db do
namespace :encryption do
desc 'Generate a set of keys for configuring Active Record encryption in a given environment'
task init: :environment do
task :init do # rubocop:disable Rails/RakeEnvironment
puts <<~MSG
Add these environment variables to your Mastodon environment:#{' '}