"Column publishDate in table Layout already is datetime2(6)" Warning During Upgrade
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
learn-legacy-article-disclaimer-text
Environment
- Liferay DXP 7.1
- Upgrading to Liferay DXP 2024.Q2
- SQL Server Database
Resolution
- This warning message can be safely ignored.
- The
publishDate column was added to the Layout table in a upgrade step from DXP 7.1 to DXP 7.2 and configured to use the datetime2(6) data type for SQL Server databases.
- This upgrade step between DXP 7.1 and 7.2 also checks all existing date time type columns and attempts to update them to the correct
datetime2(6) type if necessary (see LPS-84513).
- Since the column already exists with the correct data type, the upgrade process logs a warning indicating that no update is needed. This warning does not impact the upgrade process or the functionality of Liferay DXP.
did-this-article-resolve-your-issue