Skip to content

Commit

Permalink
fix: add missing PieceDeal (PieceCid) index (#1551)
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkmc authored and LexLuthr committed Jul 20, 2023
1 parent 618216f commit 29ad70f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion extern/boostd-data/yugabyte/create.cql
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,6 @@ CREATE TABLE IF NOT EXISTS idx.PieceDeal (
PieceOffset BIGINT,
PieceLength BIGINT,
CarLength BIGINT
);
) WITH transactions = { 'enabled' : true };

CREATE INDEX IF NOT EXISTS PieceDealPieceCid ON idx.PieceDeal (PieceCid);

0 comments on commit 29ad70f

Please sign in to comment.