bench
bench copied to clipboard
bench uninstall-app should run migrations again for remaining apps after uninstall
Issue: Feature Request
Is your feature request related to a problem? Please describe. Currently, if two apps have the same doctype, uninstalling one breaks the other because of missing tables.
Describe the solution you'd like Perhaps someone else can weigh in on this but I am not sure if preventing doctype name collisions is possible. An easy solution would be to re-run migrations (or offer a flag to re-run migrations) once the uninstall is complete.
Describe alternatives you've considered None.
Additional context See this issue - https://github.com/frappe/desk/issues/750