mirror of
https://github.com/GrassrootsEconomics/cic-dw.git
synced 2024-12-22 10:57:33 +01:00
Mohamed Sohail
b59c0ba3fc
* sql: add transaction transaction record queries - get full tx history - get latest txs for a specific token * sql: (fix) add id column to select * sql: (fix) change column name to identifier * fix: pagination queries - refactor keyset pagination query to correctly fecth previous page - remove pagination from token list - add fetch latest transactions by token * tidy: remove dev logs * feat: (db) add index for desc for pagination
5 lines
126 B
SQL
5 lines
126 B
SQL
CREATE UNIQUE INDEX index_id ON transactions USING btree (ID DESC);
|
|
|
|
---- create above / drop below ----
|
|
|
|
DROP INDEX index_id; |