mix ash.codegen not detecting changes
I have just created a new project, added two resources to a new domain with
Diffs look fine. I accept each
I then manually add a corresponding
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
do you have AshPostgres.DataLayer in your resources? you probably need to add
--extend postgres