I just opened a docker container on my mac. I noticed some database fields were not correct so I ran the sql_upgrade to get them up to the latest.
OpenEMR Database Upgrade
Processing 5_0_1-to-5_0_2_upgrade.sql …
UPDATEbackground_services
SETrequire_once
=’/library/MedEx/MedEx_background.php’ WHEREname
=‘MedEx’
Skipping section #IfNotTable form_eye_base
UPDATElist_options
setnotes
={form_npi: {numericality: {onlyInteger: true}, NPI: {message:"NPI is not valid"}}}
wherelist_id
=page_validation
andoption_id
=addrbook_edit#theform
andnotes
={}
Query ErrorERROR: query failed: UPDATE
list_options
setnotes
={form_npi: {numericality: {onlyInteger: true}, NPI: {message:"NPI is not valid"}}}
wherelist_id
=page_validation
andoption_id
=addrbook_edit#theform
andnotes
={}
Error: Unknown column ‘page_validation’ in ‘where clause’
/var/www/localhost/htdocs/openemr/library/sql_upgrade_fx.php at 892:sqlStatement
/var/www/localhost/htdocs/openemr/sql_upgrade.php at 91:upgradeFromSqlFile(5_0_1-to-5_0_2_upgrade.sql)