fix: cannot uninstall app with virtual doctype (#15136)
fix: cannot uninstall app with virtual doctype (#15136)

* Update installer.py

* fix: Drop table only if it exists

* revert: "Update installer.py"

This reverts commit 0e8370ede8a9c2b1c0687e5c216ecf67566da0f5.

Co-authored-by: Suraj Shetty <6a5b03d338bb1d5b47942f4959ae8e4fa60dfc8a@gmail.com>
frappe/frappe,mhbu50/frappe,frappe/frappe,almeidapaulopt/frappe,yashodhank/frappe,almeidapaulopt/frappe,yashodhank/frappe,StrellaGroup/frappe,yashodhank/frappe,almeidapaulopt/frappe,almeidapaulopt/frappe,mhbu50/frappe,mhbu50/frappe,yashodhank/frappe,frappe/frappe,StrellaGroup/frappe,StrellaGroup/frappe,mhbu50/frappe