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 13, 2024
1 parent 5b59b69 commit ef5a8f4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ For changes to the BPDM Helm charts please consult the [changelog](charts/bpdm/C
- BPDM Gate: Fixed construction logic for states and identifiers by enabling business partner type ([#1067](https://github.com/eclipse-tractusx/bpdm/pull/1067))
- 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. ([#1097](https://github.com/eclipse-tractusx/bpdm/pull/1097))
- BPDM Cleaning Service Dummy: Removed assignment of uncategorized identifier while performing cleaning task process. ([#1098](https://github.com/eclipse-tractusx/bpdm/pull/1098))
- BPDM Cleaning Service Dummy: Removed assignment of uncategorized identifier while performing cleaning task process. ([#1098](https://github.com/eclipse-tractusx/bpdm/pull/1098))
- 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 ef5a8f4

Please sign in to comment.