Skip to content

Commit

Permalink
BAH-3336 | Vijay | incorporate PR comments with additional constraint
Browse files Browse the repository at this point in the history
  • Loading branch information
vijayanandtwks committed Dec 14, 2023
1 parent 1e6cc94 commit b2ea151
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions bahmnicore-omod/src/main/resources/liquibase.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4580,9 +4580,8 @@
</preConditions>
<comment>Update datatype of patient stage program attribute type</comment>
<sql>
UPDATE program_attribute_type
SET datatype = 'org.openmrs.customdatatype.datatype.ConceptDatatype'
WHERE name = 'Stage';
UPDATE program_attribute_type SET datatype = 'org.openmrs.customdatatype.datatype.ConceptDatatype' WHERE
name = 'Stage' AND datatype = 'org.bahmni.module.bahmnicore.customdatatype.datatype.CodedConceptDatatype';
</sql>
</changeSet>

Expand Down

0 comments on commit b2ea151

Please sign in to comment.