Wrap db:setup with Chewy.strategy(:mastodon) (#24302)

This commit is contained in:
Robert R George 2023-03-29 00:58:27 -07:00 committed by Claire
parent aa37eeadf3
commit 971e8b8f5f

View File

@ -1,5 +1,7 @@
# frozen_string_literal: true
Dir[Rails.root.join('db', 'seeds', '*.rb')].sort.each do |seed|
load seed
Chewy.strategy(:mastodon) do
Dir[Rails.root.join('db', 'seeds', '*.rb')].sort.each do |seed|
load seed
end
end