From 102076d86b87a4987f80b6c27cf755687cab4eea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Aaron?= Date: Thu, 6 Jun 2024 10:26:04 +0200 Subject: [PATCH] fix: index invoice state --- db/migrations/2024060603000_invoice_state.sql | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 db/migrations/2024060603000_invoice_state.sql diff --git a/db/migrations/2024060603000_invoice_state.sql b/db/migrations/2024060603000_invoice_state.sql new file mode 100644 index 00000000..229d1da2 --- /dev/null +++ b/db/migrations/2024060603000_invoice_state.sql @@ -0,0 +1,2 @@ +CREATE INDEX CONCURRENTLY IF NOT EXISTS index_invoices_on_state + ON invoices (state);