Skip to content

Commit

Permalink
KH-501: Added duration_unit_uuid and encounter_datetime column indexes
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruhanga committed Jul 5, 2024
1 parent 2e7c098 commit 624e7e1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions analytics/liquibase/analytics/changelogs/0001-init.xml
Original file line number Diff line number Diff line change
Expand Up @@ -492,4 +492,16 @@
<column name="answer_datetime"/>
</createIndex>
</changeSet>

<changeSet author="ruhanga" id="1720167101123" >
<!-- Indexes for orders table -->
<createIndex tableName="orders" indexName="idx_orders_duration_unit_uuid">
<column name="duration_unit_uuid"/>
</createIndex>

<!-- Indexes for encounters table -->
<createIndex tableName="encounters" indexName="idx_encounters_encounter_datetime">
<column name="encounter_datetime"/>
</createIndex>
</changeSet>
</databaseChangeLog>

0 comments on commit 624e7e1

Please sign in to comment.