bcgov / bcparks-ar-api

BCParks Attendance and Revenue Backend.
Apache License 2.0
2 stars 11 forks source link

A&R: Consolidate Data Discrepancies between Old and New Databases #380

Open davidclaveau opened 1 month ago

davidclaveau commented 1 month ago

Description:

Following a bug where data is being entered into the old production database, we need to write a migration to find any missing or changed data from the old database (for all parks, subareas, variances, etc.) and consolidate it into the new production database so that it is up to date.

This should happen after #379 is completed.

Acceptance Criteria:

Development Checklist:

Blocked by

Wireframe(s):

Workflows:

Definition of Ready (Note: If any of these points are not applicable, mark N/A)

Definition of Done

Notes:

davidclaveau commented 1 week ago

@manuji this is ready for review!

For testing, I've exported files for the Standard, Variance, and Missing data from the old database. Once this gets into TEST and I run the migration script I'll make sure to send you these files so you can compare to the exports/records for what exists after the migration.

It might not be the most fun way to test, but it should help show where some records were missing for an activity in August, September, etc. and how they are now present in the new exports after the migration.

Hope that makes sense! Let me know if you have any questions 😄