From 23cc1889727109646e6f4cabd8c17fe12e695163 Mon Sep 17 00:00:00 2001 From: Light1YT Date: Sat, 27 Jun 2026 10:06:33 +0500 Subject: [PATCH] fix(perf): move migration 171 to repo-root data/sql/ so the deploy applies it MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The objective_corpus_room_month index migration (#1942) was committed to backend/data/sql/171_*, but the main deploy runner applies migrations from repo-root data/sql/*.sql (deploy.yml:280) and the path trigger is data/sql/**. So the file never ran — prod still seq-scans (verified post-deploy: index absent, query 265ms). Move it to data/sql/171_* (alongside 170) so it deploys. No SQL change; the index itself was dry-run-verified on prod (BEGIN/ROLLBACK). --- {backend/data => data}/sql/171_objective_crm_report_month_idx.sql | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {backend/data => data}/sql/171_objective_crm_report_month_idx.sql (100%) diff --git a/backend/data/sql/171_objective_crm_report_month_idx.sql b/data/sql/171_objective_crm_report_month_idx.sql similarity index 100% rename from backend/data/sql/171_objective_crm_report_month_idx.sql rename to data/sql/171_objective_crm_report_month_idx.sql