This object is in archive!
Install/Uninstall function also while creating other modules than addon module.
ptomter shared this idea 5 years ago
For addon modules there is an option to run queries when module is activated or deactivated
function modulename_activate() or function modulename_deactivate()
Would be excellent to also have this possibility for custom Registrar modules.