-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix - Removal of unused fields on Pool and Gate Entities and addition of Delivery Service Qualifier #303
Fix - Removal of unused fields on Pool and Gate Entities and addition of Delivery Service Qualifier #303
Conversation
… added deliveryServiceQualifier
5c3fc21
to
3c24d03
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some issues while testing
@@ -105,4 +66,7 @@ class AlternativePostalAddress( | |||
*/ | |||
@Column(name = "alt_delivery_service_number") | |||
val deliveryServiceNumber: String = "", | |||
|
|||
@Column(name = "alt_delivery_service_qualifier") | |||
val deliveryServiceQualifier: String = "", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this is a new column added here, the existing business partners have NULL written in it. Since this entity expects a non null value it leads to an error. In general, if an entity field is not nullable, its column should be not nullable
@@ -98,4 +65,7 @@ class AlternativePostalAddress( | |||
*/ | |||
@Column(name = "alt_delivery_service_number") | |||
val deliveryServiceNumber: String = "", | |||
|
|||
@Column(name = "alt_delivery_service_qualifier") | |||
val deliveryServiceQualifier: String = "", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this is a new column added here, the existing business partners have NULL written in it. Since this entity expects a non null value it leads to an error. In general, if an entity field is not nullable, its column should be not nullable
name: Removal of unused fields on Pool and Gate Entities and addition of Delivery Service Qualifier
Description
This PR removes unused and unnecessary columns in the Entities and Database from the Gate and Pool, and addition of Delivery Service Qualifier on the Alternative Postal Address of both Pool and Gate.
Related issues: fix #284 fix #281 fix #282 fix #283
Pre-review checks
Please ensure to do as many of the following checks as possible, before asking for committer review: