Hi All,
Can anyone tell me the exact functionality of the uninstall_before_upgrade and remove_tables flag? I am amazed either their behavior is strange in all the other instances or I am missing something.
Regarding the uninstall_before_upgrade flag, I am setting it to "True" by assuming that all the traces of pre-installed packages will remove but it is not working always. Like sometimes it removed the previous packages although new package contains uninstall_before_upgrade => false and sometimes it didn't remove although the new one contains uninstall_before_upgrade => true
Similarly, either I am using remove_tables => 'prompt' or remove_tables => '' or remove_tables => false the data in my custom modules which are created by this package will delete although I want that when the new version of the package will install then it will not drop and recreate the tables for my custom modules which installed due to this package.
Please guide me if I am missing something for the proper working of these flags or correct me if I am assuming the wrong meaning of these flags.