Wrap db:setup with Chewy.strategy(:mastodon) (#24302)
parent
a766804e02
commit
782669a042
|
@ -1,5 +1,7 @@
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
Chewy.strategy(:mastodon) do
|
||||||
Dir[Rails.root.join('db', 'seeds', '*.rb')].sort.each do |seed|
|
Dir[Rails.root.join('db', 'seeds', '*.rb')].sort.each do |seed|
|
||||||
load seed
|
load seed
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
Loading…
Reference in New Issue