I have a custom plugin. And I did a redesigned plugin for the same plugin as well. My plan is to remove my existing plugin and use my new plugin forward. The new plugin will use the same custom created database tables as the previous one. Since I am removing my old plugin, I copied all my database queries in install.xml file into the new plugins install.xml file. But now when I am installing the new plugin, it tries to execute the install.xml files contents and tries to create the tables that is already existing.
Is there a way to tell moodle "Well, please install my plugin. But dont execute the content inside the install.xml"? And will the install.xml files get executed each time I update my plugin? (Not the install.php file, I am telling about the XML file)