Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update account IDs when registrations become historical. #1954

Merged
merged 1 commit into from
Jun 26, 2024
Merged

Update account IDs when registrations become historical. #1954

merged 1 commit into from
Jun 26, 2024

Conversation

doug-lovett
Copy link
Collaborator

@doug-lovett doug-lovett commented Jun 26, 2024

Issue #: /bcgov/entity#21973

Description of changes:

  • Create sql script to update accounts IDs for existing registrations that are historical.
  • Create job to update accounts IDs for registrations that became historical within the last day.
  • Update account ID's when removing/restoring registrations created by the account.
  • SQL script run in DEV. Job deployed, configured, tested in DEV. Scheduled to run once a week in non-PROD: Wednesdays at 10:15 PM.

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

@doug-lovett doug-lovett self-assigned this Jun 26, 2024
@doug-lovett doug-lovett requested a review from cameron-eyds June 26, 2024 17:42
Copy link
Collaborator

@cameron-eyds cameron-eyds left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@doug-lovett doug-lovett merged commit ce98a2f into bcgov:main Jun 26, 2024
2 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants