docs: Update migrations-and-tasks.md (#363)

Add missing filter to account for resources without repo
This commit is contained in:
Robert Timis 2024-07-25 16:46:14 +02:00 committed by GitHub
parent 2b4befedf1
commit be7329d21a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -129,6 +129,7 @@ Tasks that need to be executed in the released application (because mix is not p
domain
|> Ash.Domain.Info.resources()
|> Enum.map(&AshPostgres.DataLayer.Info.repo/1)
|> Enum.reject(&is_nil/1)
end)
|> Enum.uniq()
end