base case for fetch ledger page

This commit is contained in:
CJ Cobb
2021-05-29 16:41:37 -04:00
parent 4c12bb51dd
commit 756436dd31
2 changed files with 16 additions and 2 deletions

View File

@@ -790,7 +790,7 @@ CREATE TABLE IF NOT EXISTS objects (
object bytea
) PARTITION BY RANGE (ledger_seq);
CREATE INDEX objects_idx ON objects USING btree(ledger_seq,key);
CREATE INDEX objects_idx ON objects USING btree(key,ledger_seq);
create table if not exists objects1 partition of objects for values from (0) to (10000000);
create table if not exists objects2 partition of objects for values from (10000000) to (20000000);