PLAT-82: Add PostgreSQL support to reference application modules#162
PLAT-82: Add PostgreSQL support to reference application modules#162wikumChamith wants to merge 1 commit intoBahmni:masterfrom
Conversation
|
@angshu can you take a look at this? |
There was a problem hiding this comment.
Thank you for the update! I would recommend reconsidering the use of ANY in this changeset. I checked the checksum of the below changeSet, and got entirely different ones (screenshot attached below).
My understanding is that if raw SQL (...) is used instead of structured XML (), Liquibase does not normalize it across different databases and the database might generate different checksums. I recommend avoiding ANY as this will prevent detection of future accidental changes to the changeset.
Let me know your thoughts, and thanks for your effort on this!
There was a problem hiding this comment.
I couldn't find any use of ANY. Could you point out where it's being used? Thanks!
|
Hey @wikumChamith , so with these changes the Initializer complains with the following error: The error i believe occurred because the Hibernate mapping explicitly referenced a sequence named The fix was to remove the explicit sequence name from the Hibernate mapping and rely on the <generator class="native">
<param name="sequence">speciality_id_seq</param>
</generator>to simply: <generator class="native"/>Also did the above step for Caused by: org.postgresql.util.PSQLException: ERROR: relation "appointment_service_id_seq" does not exist
Here are the logs just incase you need to look them over: https://paste.ubuntu.com/p/RYWwsD3ktS/ cc: @dkayiwa |
|
Just following up on this. @wikumChamith @mherman22 any resolution to this? |

Fixes PostgreSQL compatibility issues in the liquibase.xml
https://openmrs.atlassian.net/browse/PLAT-82