mirror of
https://github.com/kikobar/mastodon.git
synced 2024-11-16 20:22:18 +00:00
Fix db:encryption:init
requiring ActiveRecord encryption variables to be set (#30202)
This commit is contained in:
parent
6167894547
commit
996292cd55
|
@ -6,7 +6,7 @@ Rake::Task['db:encryption:init'].clear
|
||||||
namespace :db do
|
namespace :db do
|
||||||
namespace :encryption do
|
namespace :encryption do
|
||||||
desc 'Generate a set of keys for configuring Active Record encryption in a given environment'
|
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
|
puts <<~MSG
|
||||||
Add these environment variables to your Mastodon environment:#{' '}
|
Add these environment variables to your Mastodon environment:#{' '}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue