gearheads
/
mastodon
Archived
2
0
Fork 0

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

gh/dev
Robert R George 2023-03-29 00:58:27 -07:00 committed by GitHub
parent a766804e02
commit 782669a042
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

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