chore(db): adiciona índice composto para filtros de lançamentos

This commit is contained in:
Felipe Coutinho
2026-03-17 17:07:48 +00:00
parent 36687debf2
commit ff016113b9
4 changed files with 2595 additions and 138 deletions

View File

@@ -0,0 +1 @@
CREATE INDEX "lancamentos_user_id_pagador_id_period_idx" ON "lancamentos" USING btree ("user_id","pagador_id","periodo");