Closed brainlid closed 2 years ago
Hi @brainlid
This is mentioned in docs. You must set opt_app
using configuration file if you want to run the task from umbrella root.
Also, you can try to change directory to apps/core
or to apps/web
and run task there.
@fuelen Thanks for the tip! I didn't open the docs and went off the README. Are you open to a PR in the README to update that and link to the online docs?
It worked well by running it from the directory of an application in apps/
. Thanks!
Yes, but the link to docs is already present at the bottom of README :)
I'll close the issue. If you wish to improve the docs, PRs are welcome :slightly_smiling_face:
I have a "core" app with the majority of my Ecto schemas. Then I have a "web" app that depends on "core". The "web" app also introduces some embedded Ecto schemas that are used for form validation but not tied to a DB table.
When I run it on this project, I get the following error:
I tested it on a non-umbrella application (standard Phoenix app) and it worked.