diff --git a/extern/boostd-data/yugabyte/create.cql b/extern/boostd-data/yugabyte/create.cql index 0e7c01e48..fba47dbe4 100644 --- a/extern/boostd-data/yugabyte/create.cql +++ b/extern/boostd-data/yugabyte/create.cql @@ -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);