-- CreateIndex
-- CONCURRENTLY:表已 371 万行,理由同 20260701060607(不锁表);部署时手动 psql 先建 + resolve --applied。
CREATE INDEX CONCURRENTLY IF NOT EXISTS "patient_facts_host_id_tenant_id_status_idx" ON "patient_facts"("host_id", "tenant_id", "status");
