Wrap db:setup with Chewy.strategy(:mastodon) (#24302)
parent
1cec8e6335
commit
5e88776f9d
@ -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
|
||||
|
Loading…
Reference in new issue