Skip to content

Commit

Permalink
BAH-3037 | adding provider attribute for "login locations" (#223)
Browse files Browse the repository at this point in the history
  • Loading branch information
angshu authored Jul 20, 2023
1 parent e07f387 commit e129f78
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions bahmnicore-omod/src/main/resources/liquibase.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4558,4 +4558,17 @@
</changeSet>

<include file="addAtomfeedMigrations.xml"/>
<changeSet id="provider-attribute-login-locations-202307191200" author="BAHMNI">
<preConditions onFail="MARK_RAN">
<sqlCheck expectedResult="0">
SELECT count(*) FROM provider_attribute_type where name="Login Locations";
</sqlCheck>
</preConditions>
<comment>Adding provider attribute type - Login Locations</comment>
<sql>
INSERT INTO provider_attribute_type (name, description, datatype, min_occurs, creator, date_created, retired, uuid)
VALUES ("Login Locations","Specific locations for providers to login", "org.openmrs.customdatatype.datatype.LocationDatatype", 0, 1, NOW(), 0, UUID());
</sql>
</changeSet>

</databaseChangeLog>

0 comments on commit e129f78

Please sign in to comment.