-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reimplement SQL that populates person_status. The old implementation
used _person.status references as the indicator of whether a person status was used, but that ignores references in serialized person reports and action plans. As a result, the generated person_status table was missing necessary rows. The new approach is to derive person_status purely from PERSON_STATUS_OPTIONS. This necessitates using a MySQL 8.0 feature (json_table()).
- Loading branch information
Showing
1 changed file
with
73 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters