Fix `db:encryption:init` requiring ActiveRecord encryption variables to be set (#30202)

pull/30204/head
Claire 11 months ago committed by GitHub
parent 6167894547
commit 996292cd55
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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:#{' '}

Loading…
Cancel
Save