mix ash.codegen not detecting changes
I have just created a new project, added two resources to a new domain with
mix ash.gen.resource
, and mix ash.codegen
is says No changes detected, so no migrations or snapshots have been created.
I am also getting a strange compiler warning about redefined modules, which makes me suspect something has gone wrong with the generators.
Diffs look fine. I accept each Proceed with changes?
prompt.
I then manually add a corresponding belongs_to
relationship to Track
.Solution:Jump to solution
do you have AshPostgres.DataLayer in your resources? you probably need to add
--extend postgres
4 Replies
Solution
do you have AshPostgres.DataLayer in your resources? you probably need to add
--extend postgres
That's what was missing, thanks!