Skip to content

Commit

Permalink
fix(Pool): retrieving legacy legal form data
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoprow committed Nov 12, 2024
1 parent 5da5d96 commit c6f8fae
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ For changes to the BPDM Helm charts please consult the [changelog](charts/bpdm/C
- BPDM Pool: When processing golden record tasks the Pool now ignores isCatenaXMemberData field if it is set to null. ([#1069](https://github.com/eclipse-tractusx/bpdm/issues/1069))
- BPDM Gate: Fixed gate output logic to provide states based on business partner type.
- BPDM Cleaning Service Dummy: Removed assignment of uncategorized identifier while performing cleaning task process.
- BPDM Pool: Fix error querying legal forms when non-gleif legacy legal forms are present in the database ([#1107](https://github.com/eclipse-tractusx/bpdm/issues/1107))

## [6.1.0] - [2024-07-15]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class LegalFormDb(
@JoinColumn(name = "region_id")
val administrativeArea: RegionDb?,

@Column(name = "is_active")
@Column(name = "is_active", nullable = false)
val isActive: Boolean

) : BaseEntity()
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
UPDATE legal_forms
SET is_active = false
WHERE is_active IS NULL;

ALTER TABLE legal_forms
ALTER COLUMN is_active SET NOT NULL;

0 comments on commit c6f8fae

Please sign in to comment.