Save db data in uninstallation

26 views
Skip to first unread message

Michele Tarantino

unread,
Dec 3, 2020, 5:17:29 AM12/3/20
to Joomla Component Builder
Hi,
How can I preserve data when uninstalling a component? Is it possible to choose whether to keep the data or not?
Best regards,
Michele

Llewellyn van der Merwe

unread,
Dec 4, 2020, 10:42:34 AM12/4/20
to Joomla Component Builder, mtaran...@gmail.com
This is a feature request, please open this on GitHub as a feature request. Since at this time JCB automatically adds the uninstall sql to each component. We do this since the normal upgrade path in JCB for each component actually works very well, and usually uninstalling an extension is a very bad choice since it removes all remnants of the extension integration out of all core tables. I would never use this as a upgrade path... meaning to uninstall and then reinstall, JCB manages the SQL updates and stuff very good if the components meets the default development path, watch these tutorial:
https://www.youtube.com/watch?v=ZxC6z701ixA&list=PLQRGFI8XZ_wuzAQELTUUIDdqKFmLP9lSl&index=6

But adding the option not to remove the sql tables is not that hard to add, and a legitimate feature... so I am willing to look at this, maybe add this as a pro feature. But please reopen this as a feature request on GitHub.

Michele Tarantino

unread,
Dec 8, 2020, 3:15:12 PM12/8/20
to Joomla Component Builder, llewellyn.v...@community.joomla.org, Michele Tarantino
Ok Thanks I'll do it but it's not that urgent

((ewe))yn

unread,
Dec 19, 2020, 4:46:25 PM12/19/20
to Joomla Component Builder, mtaran...@gmail.com, llewellyn.v...@community.joomla.org
We are moving to GitHub Discussions. We will keep this open to give access to old issues, resolved. But please continue conversations on the new github discussions area ;)
Reply all
Reply to author
Forward
0 new messages