Details
-
Task
-
Status: Closed
-
Must
-
Resolution: Fixed
-
Platform 1.10.0
-
None
Description
If the order_type table is empty or only has the drug order type, could the database update script automatically add the new columns? It looks like the script should do this per the listed database update steps...
Adding java_class_name column to order_type table Add Column wyclif Adding parent column to order_type table Add Column wyclif
Currently you have to add the columns manually (which is documented) or you get the following error...
??? Reason: ??? Unable to update the database. See server error logs for the full stacktrace. ???:??? ??? liquibase-update-to-latest.xml : Cannot update order_type table, please see the 1.10 release notes for how to modify the order_type table before upgrading ??? ???There was an error while updating the database to the latest. file: liquibase-update-to-latest.xml. Error: Migration failed for change set liquibase-update-to-latest.xml::201404091110::wyclif:??? ??? Caused By: Preconditions Failed???
This happens when upgrading from OpenMRS 1.9.7.