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

SF rule to avoid mistakes with alter column during the upgrade

    Details

    • Sprint:
      Upgrade|5.11-23.11|BoqueronesV, Upgrade|23.11-7.12|Bravas, Upgrade|14.12-28.12|Callos, Upgrade|4.1-18.1|CarneEnSarsa, Upgrade|1.18-2.1|CazónEnAdobo, Upgrade|2.1-2.15|Ensaladilla, Upgrade|2.17-3.3|Espeto, Upgrade|3.3-3.17|Gallinejas, Upgrade|3.17-3.31|Gazpacho

      Description

      This rule should follow these cases:

      • null or not null is always provided when changing a VARCHAR/STRING/TEXT field, for example:
        new AlterColumnType("name", "VARCHAR(150) null"));
        or
        new AlterColumnType("name", "VARCHAR(150) not null"));

        Attachments

          Activity

            People

            Assignee:
            kevin.lee Kevin Lee
            Reporter:
            alberto.chaparro Alberto Chaparro
            Engineering Assignee:
            Kevin Lee
            Recent user:
            Kevin Lee
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:

                Packages

                Version Package