Skip to content

Commit

Permalink
fix: remove not null constraint for TransferProcess
Browse files Browse the repository at this point in the history
  • Loading branch information
schoenenberg committed Jul 4, 2024
1 parent 88ada14 commit e2e7187
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ public void save(LoggingHouseMessage event) {
Objects.requireNonNull(event.getEventToLog());
Objects.requireNonNull(event.getCreateProcess());
Objects.requireNonNull(event.getProcessId());
Objects.requireNonNull(event.getStatus());
Objects.requireNonNull(event.getCreatedAt());

transactionContext.execute(() -> {
Expand Down Expand Up @@ -122,7 +121,6 @@ private ZonedDateTime mapToZonedDateTime(ResultSet resultSet, String column) thr
}

private LoggingHouseMessage mapResultSet(ResultSet resultSet) throws Exception {

Class eventType = toClass(resultSet.getString(statements.getEventTypeColumn()));

Object eventToLog;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ALTER TABLE edc_logging_house_message
ALTER COLUMN consumer_id DROP NOT NULL,
ALTER COLUMN provider_id DROP NOT NULL;

0 comments on commit e2e7187

Please sign in to comment.