fix: uninstall.mysql.sql missing DROP for snapshots table #181
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
sql/uninstall.mysql.sqldrops#__mokosuitebackup_profiles,#__mokosuitebackup_records, and#__mokosuitebackup_remotesbut is missingDROP TABLE IF EXISTS #__mokosuitebackup_snapshots.Uninstalling the component leaves an orphaned table in the database.
Location
source/packages/com_mokosuitebackup/sql/uninstall.mysql.sqlFix
Add:
DROP TABLE IF EXISTS #__mokosuitebackup_snapshots;Branch created:
feature/181-fix-uninstall-mysql-sql-missing-drop-forConfirmed in 02.56.05 — keep open.
sql/uninstall.mysql.sqldrops only three tables (remotes, records, profiles); there is noDROP TABLE IF EXISTS #__mokosuitebackup_snapshots;. The snapshots table is left orphaned on uninstall. Add the missing DROP.