Skip to content

Commit

Permalink
Merge pull request #6834 from ORCID/ETHOS-CASE-Sensitive
Browse files Browse the repository at this point in the history
ETHOS to be case sensitive
  • Loading branch information
leomendoza123 authored Jul 20, 2023
2 parents ed220a0 + 885e34b commit 6f025e1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions orcid-persistence/src/main/resources/db-master.xml
Original file line number Diff line number Diff line change
Expand Up @@ -371,4 +371,5 @@
<include file="/db/updates/add-kosovo-to-country-reference.xml" />
<include file="/db/updates/dw_profile_add_locale_reviewed_creation_method.xml" />
<include file="/db/updates/statistics.xml" />
<include file="/db/updates/identifier-types/update-ethos-to-be-case-sensitive.xml" />
</databaseChangeLog>
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-2.0.xsd">

<changeSet id="UPDATE-ETHOS-TO-BE-CASE-SENSITIVE" author="Angel Montenegro">
<preConditions onFail="MARK_RAN">
<sqlCheck expectedResult="1">select count(*) from identifier_type WHERE id_name = 'ETHOS';</sqlCheck>
</preConditions>
<sql>UPDATE identifier_type SET "case_sensitive" = true WHERE id_name = 'ETHOS';</sql>
</changeSet>

</databaseChangeLog>

0 comments on commit 6f025e1

Please sign in to comment.