Skip to content

Commit

Permalink
Merge branch 'master' into modelinks-139
Browse files Browse the repository at this point in the history
  • Loading branch information
mukhiddin-yusuf authored Nov 15, 2023
2 parents 2cc52f6 + 61a276c commit 329139d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 23 deletions.
3 changes: 2 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@
* Requires `API_NAME vX.Y`

### Features
* Implement Authority Archiving for deleted authoritites ([MODELINKS-138](https://issues.folio.org/browse/MODELINKS-138))
* Implement Authority Archiving for deleted authorities ([MODELINKS-138](https://issues.folio.org/browse/MODELINKS-138))
* Add scheduled job to expire archive records with tenant-level retention policy ([MODELINKS-139](https://issues.folio.org/browse/MODELINKS-139))

### Bug fixes
* Fix secure setup of system users by default ([MODELINKS-135](https://issues.folio.org/browse/MODELINKS-135))
* Updating authority's source file field to null is failed ([MODELINKS-143](https://issues.folio.org/browse/MODELINKS-143))
* Failed to send update event if sourceFile is null ([MODELINKS-144](https://issues.folio.org/browse/MODELINKS-144))
* Remove foreign key for authority_data_stat ([MODELINKS-155](https://issues.folio.org/browse/MODELINKS-155))

### Tech Dept
* Description ([ISSUE_NUMBER](https://issues.folio.org/browse/ISSUE_NUMBER))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,26 +84,4 @@
onDelete="CASCADE"/>
</changeSet>

<changeSet id="MODELINKS-2@@add-authority_data_stat-authority_id-foreign-key" author="Mukhiddin_Yusupov">
<preConditions onFail="MARK_RAN">
<and>
<tableExists tableName="authority"/>
<tableExists tableName="authority_data_stat"/>
<not>
<foreignKeyConstraintExists foreignKeyName="fk_authority_data_stat_authority_id"
schemaName="${database.defaultSchemaName}"
foreignKeyTableName="authority_data_stat"/>
</not>
</and>
</preConditions>

<comment>Add FK for authority_id in authority_data_stat referenced to authority.id</comment>

<addForeignKeyConstraint baseTableName="authority_data_stat"
baseColumnNames="authority_id"
referencedTableName="authority"
referencedColumnNames="id"
constraintName="fk_authority_data_stat_authority_id"/>
</changeSet>

</databaseChangeLog>

0 comments on commit 329139d

Please sign in to comment.