-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6965 from ORCID/8984-fix-the-outstanding-issues-t…
…hat-we-have-with-a-small-number-of-work-identifiers fix: Add OL identifier case sensitive and RRID regex validator
- Loading branch information
Showing
3 changed files
with
34 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
...istence/src/main/resources/db/updates/identifier-types/update-ol-to-be-case-sensitive.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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="Daniel Palafox"> | ||
<preConditions onFail="MARK_RAN"> | ||
<sqlCheck expectedResult="1">select count(*) from identifier_type WHERE id_name = 'OL';</sqlCheck> | ||
</preConditions> | ||
<sql>UPDATE identifier_type SET "case_sensitive" = true WHERE id_name = 'OL';</sql> | ||
</changeSet> | ||
|
||
</databaseChangeLog> |