AshPaperTrail - change module name and migrations are not genearted

1. Is it possible to change autogenerated module suffix Version to something different? 2. I have added AshPaperTrail and configured it to resource. But mix ash_postgres.generate_migrations --name add_paper_trail detect not changes so no new tables in migrations are added. And now I have error after updating resource that ERROR 42P01 (undefined_table) relation \"xxx_versions\" does not exist
Solution:
I don't believe there is a way to customize the name right now no
Jump to solution
4 Replies
ostatni5
ostatni5OP2mo ago
ad2. I missed in domain:
paper_trail do
include_versions? true
end
paper_trail do
include_versions? true
end
Solution
ZachDaniel
ZachDaniel2mo ago
I don't believe there is a way to customize the name right now no
ZachDaniel
ZachDaniel2mo ago
Please open an issue requesting that if you'd like it
ostatni5
ostatni5OP2mo ago
Ok thanks

Did you find this page helpful?