mirror of
https://github.com/GrassrootsEconomics/cic-dw.git
synced 2025-02-01 10:27:32 +01:00
feat: (db) add index for desc for pagination
This commit is contained in:
parent
32f744ce24
commit
c7c48995aa
5
migrations/005_descending_index.sql
Normal file
5
migrations/005_descending_index.sql
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
CREATE UNIQUE INDEX index_id ON transactions USING btree (ID DESC);
|
||||||
|
|
||||||
|
---- create above / drop below ----
|
||||||
|
|
||||||
|
DROP INDEX index_id;
|
Loading…
Reference in New Issue
Block a user