Skip to content

Migrate BAR 3.2 #32040

Closed
6 of 6 issues completed
Closed

Description

@argush3

TARGET PROD MIGRATION DATE: January 22nd, 2026

We would like to migrate all BAR businesses that mostly fit the same selection criteria used for batch 1.

We will just exclude the filter on last AR filing date i.e. exclude and months_since_last_bar_filing between 9 and 12 from the query against mv_legacy_corps_data

Selection criteria to use:

from mv_legacy_corps_data
where 1 = 1
  and group_name is null
  and is_active = true
  and is_frozen = false
  and migrated = false
  and has_officers = false
  and meets_main_criteria = true
  and has_3rd_party = false
  and email_used_count = 1
  and director_count = 1
  and has_bar_filing = true
  and bar_account_id is not null
  and address_all_any_bad_count = 0
  and meets_share_criteria = true
  -- note that there we also filter on BR accounts that have a mailing address.  we use a manual process to determine this as we don't have this properly in the mv_legacy_corps_data view 

When we are ready to run the tombstone pipeline, the corps we intend to load for this batch can be found in in the migration spreadsheet .

Link to the sequence of events for migration : https://bcgov.sharepoint.com/:x:/r/teams/07717/Shared%20Documents/Entities%20-%20Data%20Migration/On-Boarding%20-%20BAR/BAR-%20Business%20Onboarding.xlsx?d=wd52bebe10c49429ba25f72f6d6025f20&csf=1&web=1&e=OQfb9q

Sub-issues

Sub-issues

6 of 6 Issues completed
Loading 6 sub-issues

Metadata

Metadata

Labels

Entities - Data Migration

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions