Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-6081

Add not null constraint to encounter_diagnosis.dx_rank column

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Ready for Work
    • Priority: Should
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Data Model
    • Labels:
    • Complexity:
      Low

      Description

      Diagnosis.rank is marked as not nullable via the JPA annotations but encounter_diagnosis.dx_rank column seems to be missing the constraint in the database, seem like the constraint was implicitly dropped by the liquibase changeset in 2.5 where the column was renamed.

      Was this intentional or an oversight?

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Unassigned Unassigned
                Reporter:
                wyclif Wyclif Luyima
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated: