Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

add index on report_card.type (#63493)

Oleksandr Solovyov28014961c324
diff --git a/resources/migrations/056_update_migrations.yaml b/resources/migrations/056_update_migrations.yaml
index 4c8b4f497d7..20ad9a88989 100644
--- a/resources/migrations/056_update_migrations.yaml
+++ b/resources/migrations/056_update_migrations.yaml
@@ -839,6 +839,17 @@ databaseChangeLog:
column:
name: created_at
+ - changeSet:
+ id: v56.2025-09-24T11:27:00
+ author: piranha
+ comment: Add an index on report_card.type since we're using this field for filtering all the time
+ changes:
+ - createIndex:
+ tableName: report_card
+ indexName: idx_report_card_type
+ columns:
+ - column:
+ name: type
# >>>>>>>>>> DO NOT ADD NEW MIGRATIONS BELOW THIS LINE! ADD THEM ABOVE <<<<<<<<<<