From b66898e599d176330521196068250c3fb665f58c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Aaron?= Date: Wed, 22 Feb 2023 20:19:50 +0100 Subject: [PATCH] feat: db index for subscriptions query --- db/migrations/2023021603000_invoice_expiresat.sql | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 db/migrations/2023021603000_invoice_expiresat.sql diff --git a/db/migrations/2023021603000_invoice_expiresat.sql b/db/migrations/2023021603000_invoice_expiresat.sql new file mode 100644 index 00000000..f30363a7 --- /dev/null +++ b/db/migrations/2023021603000_invoice_expiresat.sql @@ -0,0 +1,2 @@ +CREATE INDEX CONCURRENTLY IF NOT EXISTS index_invoices_on_expires_at + ON invoices (expires_at); \ No newline at end of file