-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2f8657f
commit 49c3dd8
Showing
11 changed files
with
129 additions
and
83 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
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
40 changes: 0 additions & 40 deletions
40
...ence/src/main/java/org/orcid/persistence/jpa/entities/InvalidIssnGroupIdRecordEntity.java
This file was deleted.
Oops, something went wrong.
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
50 changes: 50 additions & 0 deletions
50
...main/resources/db/updates/add_fail_count_fail_reason_and_sync_date_to_group_id_record.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,50 @@ | ||
<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="ADD-ISSN_LOADER_FAIL_COUNT" author="Angel Montenegro"> | ||
<preConditions onFail="MARK_RAN"> | ||
<not> | ||
<columnExists tableName="group_id_record" columnName="issn_loader_fail_count"/> | ||
</not> | ||
</preConditions> | ||
<sql>ALTER TABLE group_id_record ADD COLUMN issn_loader_fail_count INTEGER default 0;</sql> | ||
</changeSet> | ||
|
||
<changeSet id="ADD-FAIL_REASON" author="Angel Montenegro"> | ||
<preConditions onFail="MARK_RAN"> | ||
<not> | ||
<columnExists tableName="group_id_record" columnName="fail_reason"/> | ||
</not> | ||
</preConditions> | ||
<sql>ALTER TABLE group_id_record ADD COLUMN fail_reason VARCHAR(50);</sql> | ||
</changeSet> | ||
|
||
<changeSet id="ADD-SYNC_DATE" author="Angel Montenegro"> | ||
<preConditions onFail="MARK_RAN"> | ||
<not> | ||
<columnExists tableName="group_id_record" columnName="sync_date"/> | ||
</not> | ||
</preConditions> | ||
<sql>ALTER TABLE group_id_record ADD COLUMN sync_date timestamp;</sql> | ||
</changeSet> | ||
|
||
<changeSet id="ISSN_LOADER_FAIL_COUNT-INDEX" author="Angel Montenegro"> | ||
<preConditions onFail="MARK_RAN"> | ||
<not> | ||
<indexExists indexName="group_id_record_issn_loader_fail_count_index" tableName="group_id_record" /> | ||
</not> | ||
</preConditions> | ||
<sql>create index group_id_record_issn_loader_fail_count_index on group_id_record(issn_loader_fail_count);</sql> | ||
</changeSet> | ||
|
||
<changeSet id="ISSN_LOADER_SYNC_DATE-INDEX" author="Angel Montenegro"> | ||
<preConditions onFail="MARK_RAN"> | ||
<not> | ||
<indexExists indexName="group_id_record_sync_date_index" tableName="group_id_record" /> | ||
</not> | ||
</preConditions> | ||
<sql>create index group_id_record_sync_date_index on group_id_record(sync_date);</sql> | ||
</changeSet> | ||
|
||
</databaseChangeLog> |
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
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