-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
feat: Nationality list refactor for uniqueness and refactor nationality layout for new list #6936
Conversation
refactor list for uniqueness remove old pre production list refactor nationaliy layout for new list
sql/7_0_1-to-7_0_2_upgrade.sql
Outdated
#IfMissingColumn patient_data nationality_country | ||
ALTER TABLE `patient_data` ADD `nationality_country` TINYTEXT; | ||
#EndIf |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this block was already added above
sql/7_0_1-to-7_0_2_upgrade.sql
Outdated
#IfRow2D list_options list_id lists option_id Nationality_and_Country | ||
DELETE FROM `list_options` WHERE `list_id` = 'lists' AND `option_id` = 'Nationality_and_Country'; | ||
#EndIf |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this block was already completed above
sql/7_0_1-to-7_0_2_upgrade.sql
Outdated
#IfRow list_options list_id Nationality_and_Country | ||
DELETE FROM `list_options` WHERE `list_id` LIKE 'Nationality_and_Country'; | ||
#EndIf |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this block was already completed above
@sjpadgett , just noted couple duplicate blocks in upgrade script. Otherwise looks great! |
sql/7_0_1-to-7_0_2_upgrade.sql
Outdated
#EndIf | ||
|
||
#IfRow2D layout_options form_id DEM field_id nationality_country |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actually to be safe here (only ensure it runs once and doesn't overwrite future customizations), would do:
#IfRow3D layout_options form_id DEM field_id nationality_country list_id Nationality_and_Country
Fixes #
Short description of what this resolves:
refactor list for uniqueness
remove old pre production list
refactor nationality layout for new list