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

Analyze changes in the DEFAULT clause when ALTER COLUMN is executed during an upgrade

    Details

    • Type: Spike
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Spike Type:
      Technical

      Description

      In some cases, when upgrading from 6.2 to master, we find the following differences between an upgraded and a fresh database:

      AssetEntries_AssetTags
      `companyId` bigint(20) DEFAULT NULL
      `companyId` bigint(20) NOT NULL
      

      We should analyze if there is an error defining the upgrade or the upgrade framework does not allow this kind of change.

      See LRQA-68307 for more information

        Attachments

          Activity

            People

            Assignee:
            team-upgrades Product Team Upgrades
            Reporter:
            alberto.chaparro Alberto Chaparro
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:

                Packages

                Version Package