Add full query index

This commit is contained in:
Michael Bumann
2022-12-26 23:23:26 +01:00
parent fa690530bb
commit b665172e5f

View File

@@ -34,6 +34,9 @@ CREATE INDEX CONCURRENTLY IF NOT EXISTS index_invoices_on_type_and_r_hash_and_st
--migration:split
CREATE INDEX CONCURRENTLY IF NOT EXISTS index_invoices_on_user_id_and_invoice_type_and_state_and_created_at ON invoices(user_id, invoice_type, state, created_at);
--migration:split
CREATE INDEX CONCURRENTLY IF NOT EXISTS index_transaction_entries_on_user_id ON transaction_entries(user_id);