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

Data Migration for "Tasks & Confirmations Upgraded" #66

Closed
ric-evans opened this issue Aug 26, 2022 · 1 comment
Closed

Data Migration for "Tasks & Confirmations Upgraded" #66

ric-evans opened this issue Aug 26, 2022 · 1 comment
Assignees
Labels
data fix change existing persisted data

Comments

@ric-evans
Copy link
Member

ric-evans commented Aug 26, 2022

We'll need to migrate existing data to match the new InstitutionValues schema

Originally posted by @ric-evans in #65 (comment)

Plan

Confirmations

  • 3 new "confirmation" field dictionaries
  • all "confirmation" fields are now dicts (from mongo's POV), not bools
  • remove/migrate the previous 3 timestamp-based fields

Task Categories

Dynamically adding columns is fine in the DB, however we want the highlighting syntax to work on missing Task Category data, so add empty strings to the "live" collection

@ric-evans ric-evans self-assigned this Aug 26, 2022
@ric-evans ric-evans added the data fix change existing persisted data label Aug 26, 2022
@ric-evans ric-evans added this to the v2.2: Tasks Upgraded milestone Aug 26, 2022
@ric-evans ric-evans changed the title Data Migration for Aug '22 Enhancements Data Migration for Late '22 Enhancements Sep 13, 2022
@ric-evans ric-evans changed the title Data Migration for Late '22 Enhancements Data Migration for "Tasks & Confirmations Upgraded" Sep 13, 2022
@ric-evans
Copy link
Member Author

no longer needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data fix change existing persisted data
Projects
None yet
Development

No branches or pull requests

1 participant