Skip to content
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

PLAT-82: Add PostgreSQL support #77

Merged
merged 1 commit into from
Oct 21, 2024
Merged

Conversation

wikumChamith
Copy link
Member

Fixes PostgreSQL compatibility issues in the liquibase.xml

('Auto close queue entries Task', 'Auto close queue entries Task', 'org.openmrs.module.queue.tasks.AutoCloseQueueEntryTask',
TIMESTAMP(CURDATE()), 'MM/dd/yyyy HH:mm:ss', 86400, TRUE, 1, NOW(), UUID());
</sql>
<insert tableName="scheduler_task_config">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you confirm that that modifying this changeset will not lead to validation checksum errors?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should I create a separate changeset for Postgresql?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dkayiwa updated this by adding a validCheckSum tag.

@@ -400,7 +405,7 @@
<addForeignKeyConstraint baseColumnNames="visit_id" baseTableName="queue_entry" constraintName="queue_entry_visit_id_fk" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="visit_id" referencedTableName="visit"/>
</changeSet>

<changeSet id="migrate_visit_id_to_queue_entry_20231025" author="mseaton">
<changeSet id="migrate_visit_id_to_queue_entry_20231025" author="mseaton" dbms="mysql">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<changeSet id="migrate_visit_id_to_queue_entry_20231025" author="mseaton" dbms="mysql">
<changeSet id="migrate_visit_id_to_queue_entry_20231025" author="mseaton" dbms="mysql,mariadb">

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ibacher I updated the PR.

@ibacher ibacher merged commit a7f3aa0 into openmrs:main Oct 21, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants