mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-14 02:44:13 +00:00
Wrap db:setup with Chewy.strategy(:mastodon) (#24302)
This commit is contained in:
parent
aa37eeadf3
commit
971e8b8f5f
|
@ -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 a new issue