Ash FrameworkAF
Ash Framework6mo ago
6 replies
Yahya Oxley

Completely delete a resource

Hi everyone. If I fully want to delete a resource (tables and everything). What do I need to do? Do I just delete every mention of it in my code (it's resource module, code interfaces etc) and run codegen? Or is there a different way? Thank you
Solution
You can do as you described, but then do mix ecto.gen.migration and add the ecto code there to drop the migration
Was this page helpful?