Legacy Knowledge Base
Published Sep. 10, 2025

Tables from version 7.0 still persist in DB after upgrade

Written By

Kanchan Bisht

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • Is there any specific reason for not removing 'old unused' tables from the database after the upgrade? For example, Liferay Bookmarks were archived with no direct replacements in Liferay 7.3 but after the upgrade, 'BookmarksEntry' and 'BookmarksFolder' tables remain in the database.

Environment

  • Liferay DXP 7.3

Resolution

  • Liferay can not remove tables automatically during the upgrade because some users may want to continue using them. Tables can be removed when the data has been migrated to another place first (for example JournalArticleImage). So, Liferay is covering the removal of those tables in the Data Cleanup application

Additional Information

  • As always, before deleting this data either through the tool or manually, users must carry out a complete preliminary analysis in the respective environment and verify that they no longer make use of those specific portlets or related data. 
  • It is recommendable to make a database backup before executing the process.
Did this article resolve your issue ?

Legacy Knowledge Base