Skip to content

Update Delete Flow to accommodate Cleanup for Unaffiliated Entities #32490

Closed

Description

@Rajandeep98

As a part of the upcoming corp migrations using the simplified account creation flow, in addition to migrating businesses, we will also need to do some auth and business related cleanup operations.

Cleanup Includes:
Delete affiliation invitations where type is UNAFFILIATED_EMAIL for identifier
Delete Entity for the respective affiliation invitations
Delete Entity Mapping for the identifier

Tasks:

  • Investigate Error

image.png

- [ ] ~Update Deletion Flow to Clean all the required table entries in Auth db~ - [x] Investigate If Flow Cleans all required tables entries in Business db

Activity

  1. added
    Entities - Data Migration
    on Feb 18, 2026
  2. self-assigned this
    on Feb 18, 2026
  3. Rajandeep98 commented on Feb 18, 2026

    @Rajandeep98
    CollaboratorAuthor
  4. Rajandeep98 commented on Feb 23, 2026

    @Rajandeep98
    CollaboratorAuthor

    API currently accommodate the deletion with Affiliation IDs, which will need additional computation to pull candidate in affiliation invitation on Migration pipeline, Additional changes to auth-api already merged to accommodate the deletion flow,
    holding till dev/test release auth-api
    bcgov/sbc-auth#3628

  5. Rajandeep98 commented on Feb 24, 2026

    @Rajandeep98
    CollaboratorAuthor

    Deletion works OK.

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