diff --git a/pkg/storage/sqlstorage/migrates/21-optimized-temporal/postgres.sql b/pkg/storage/sqlstorage/migrates/21-optimized-temporal/postgres.sql new file mode 100644 index 000000000..1cb956ddd --- /dev/null +++ b/pkg/storage/sqlstorage/migrates/21-optimized-temporal/postgres.sql @@ -0,0 +1,2 @@ +--statement +CREATE INDEX IF NOT EXISTS transactions_ts_desc ON "VAR_LEDGER_NAME".transactions ("timestamp" DESC); \ No newline at end of file