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

Add not null constraint to encounter_diagnosis.dx_rank column

    XMLWordPrintable

Details

    • Enhancement
    • Status: Code Review (Post-Commit)
    • Should
    • Resolution: Unresolved
    • None
    • Core 2.6.0
    • Data Model
    • 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

                wikumc Wikum Weerakutti
                wyclif Wyclif Luyima
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:

                  Time Tracking

                    Estimated:
                    Original Estimate - 1 day
                    1d
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 1 day
                    1d