Skip to content

Conversation

@Rajandeep98
Copy link
Collaborator

@Rajandeep98 Rajandeep98 commented Feb 11, 2026

Issue #: /bcgov/entity#32415

Description of changes:

Merge Only Corp Processing Table Entries from Diff Dumps

Workflow:

  • DELTA_MODE=true
  • only preserve and add the entries from corp_processing table, and only those which are not present in existing dump only delta rows will be added
  • renames the corp_processing table to corp_processing_old, preserving existing data
  • creates empty corp_processing table same as before
  • dumps rows from corp_processing from dump to empty newly created corp_processing in target table
  • checks if (corp_num, flow_name, environment) has same already exists then handle it with updated data , inserts rows from corp_processing to corp_processing_old , now corp_processing_old has all the data
  • deletes table temp corp_processing
  • alters the name from corp_processing_old to corp_processing

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the lear license (Apache 2.0).

@Rajandeep98 Rajandeep98 self-assigned this Feb 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant