Skip to content

Updates to support amalgamations in pre-screening process #31757

Closed
0 of 1 issue completed
Closed

Description

@argush3

As we start dealing with migrating more corps, we have started to deal with amalgamations more. We may need to make updates to support migrating TINGs more easily but for the time being, we want to make updates to the pre-screening process to identify the TINGs associated with a TED. Note that there are also scenarios where there are nested amalgamations.

In this ticket, we want make update to the pre-screening process so we’re able to easily identify all corps(TINGs) associated with a corp that was formed via amalgamation. The solution should also make it easy to track nested amalgamations.

Tasks

  • Add a field to the mv_legacy_corps_data that will provide TINGs for a corp that was formed via amalgamation. Will need to recursively search for nested amalgamations. corp_involved_amalgamating in the COLIN extract contains the TING info. Maybe a jsonb field is ideal. The structure of the JSON in this field should support nested fields.
  • Verify this works with corps that were formed via amalgamation. BC0870016 is an example of a corp that was formed via a nested amalgamation.

Example of a corp formed via amalgamation:
image.png

Sub-issues

Sub-issues

0 of 1 Issues completed
Loading 1 sub-issues

Activity

  1. added
    Entities - Data Migration
    on Dec 18, 2025
  2. self-assigned this
    on Dec 29, 2025
  3. Rajandeep98 commented on Dec 29, 2025

    @Rajandeep98
    Collaborator

    image.png

  4. Rajandeep98 commented on Jan 2, 2026

    @Rajandeep98
    Collaborator

    Test:

    Request latest extract and Restore it your local testing db
    Check if Column ting_corps exists and has historical amalgamated businesses array

  5. gunanagar commented on Jan 13, 2026

    @gunanagar
    Collaborator

    Tested with Extract - pg_colin_mig_corps_prod_local_dump_20260109.tar, its looks good.

    Screenshot 2026-01-13 at 1.41.06 PM.png

  6. gunanagar commented on Jan 14, 2026

    @gunanagar
    Collaborator

    Tested between source and the target

    Screenshot 2026-01-14 at 4.19.01 PM.png

    Screenshot 2026-01-14 at 4.17.17 PM.png

  7. gunanagar commented on Jan 14, 2026

    @gunanagar
    Collaborator

    Validated one more record, it mached

    Screenshot 2026-01-14 at 4.37.58 PM.png

    Screenshot 2026-01-14 at 4.37.35 PM.png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Entities - Data Migration

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions