aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb/0003-aml_history.sql
diff options
context:
space:
mode:
Diffstat (limited to 'src/exchangedb/0003-aml_history.sql')
-rw-r--r--src/exchangedb/0003-aml_history.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exchangedb/0003-aml_history.sql b/src/exchangedb/0003-aml_history.sql
index c2ab532da..1c737265b 100644
--- a/src/exchangedb/0003-aml_history.sql
+++ b/src/exchangedb/0003-aml_history.sql
@@ -110,7 +110,7 @@ BEGIN
EXECUTE FORMAT (
'CREATE INDEX ' || table_name || '_main_index '
'ON ' || table_name || ' '
- '(h_payto ASC, decision_time ASC);'
+ '(h_payto, decision_time DESC);'
);
END $$;