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

Mapping tables do not have not null restriction for companyId column after an upgrade

Details

    Description

      Steps to reproduce it:

      1. Start Liferay 6.2
      2. Upgrade that database to master

      Current results:
      AssetEntries_AssetTags has columnId DEFAULT NULL

      Expected results:
      AssetEntries_AssetTags has columnId NOT NULL

      Technical analysis:
      See LPS-135372, we should update these columns to make them NOT NULL with new upgrade processes. Also, we should fix the old ones in BaseCompanyIdUpgradeProcess and potentially the classes where these tables are passed like UpgradeCompanyId.java

      Attachments

        Issue Links

          Activity

            People

              susan.chen Susan Chen
              alberto.chaparro Alberto Chaparro
              Felipe Lins Felipe Lins
              Luis Ortiz Luis Ortiz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                10 weeks, 5 days ago

                Packages

                  Version Package
                  7.4.3.17 CE GA17
                  7.4.3.44 CE GA44
                  7.4.3.45 CE GA45
                  Master