Details

    • Type: Bug
    • Status: Done
    • Priority: Blocker
    • Resolution: Done
    • Affects versions: None
    • Fix versions: 3.3
    • Components: Reference Data
    • Labels:
      None
    • Sprint:
      Parrot Sprint 48, Parrot Sprint 49
    • Story Points:
      1

      Description

      When running referencedata migrations on an existing OpenLMIS 3.2 database, one of them fails with the following error:

      referencedata_1          | Message    : ERROR: column "type" contains null values
      referencedata_1          | Location   : db/migration/20180205211153916__add_type_to_dispensables.sql (/file:/service.jar!/BOOT-INF/classes!/db/migration/20180205211153916__add_type_to_dispensables.sql)
      referencedata_1          | Line       : 1
      referencedata_1          | Statement  : ALTER TABLE referencedata.dispensables ADD COLUMN type text NOT NULL
      

      Desired Behavior

      • migrations need to work for users deploying 3.x

        Checklists

          Attachments

            Issue links

              Activity

                People

                • Assignee:
                  sbrudzinski Sebastian Brudziński
                  Reporter:
                  jkondrat Jakub Kondrat
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - 2 days
                    2d
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 2 days
                    2d