Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-78233

Add extra functionality to UpgradeProcess.Alterable to only execute alter when needed

    Details

      Description

      Add additional method to UpgradeProcess.Alterable that verifies if the alter is needed. For example:

      • AlterColumnName: Only needed if the new column doesn't exist already in the table.
      • AlterColumnType: Only needed if current column type is different.
      • AlterTableAddColumn: Only needed if new column doesn't already exist in the table.
      • AlterTableDropColumn: Only needed if column to drop exists in the table.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Packages

                Version Package