Skip to content

Commit c5d6b8a

Browse files
committed
Restore Index
1 parent ed61714 commit c5d6b8a

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

cardano-chain-gen/test/Test/Cardano/Db/Mock/Unit/Babbage/CommandLineArg/ForceIndex.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ checkForceIndexesArg =
1919
withCustomConfig commandLineForceIndexArgs babbageConfigDir testLabel $ \_ _ dbSyncEnv -> do
2020
startDBSync dbSyncEnv
2121
threadDelay 3_000_000
22-
assertEqQuery dbSyncEnv DB.queryPgIndexesCount 161 "there wasn't the correct number of indexes"
22+
assertEqQuery dbSyncEnv DB.queryPgIndexesCount 162 "there wasn't the correct number of indexes"
2323
where
2424
testLabel = "CLAcheckForceIndexesArg"
2525
commandLineForceIndexArgs =

cardano-chain-gen/test/Test/Cardano/Db/Mock/Unit/Conway/CommandLineArg/ForceIndex.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ checkForceIndexesArg =
1717
startDBSync dbSync
1818

1919
-- Verify number of DB indexes
20-
assertEqQuery dbSync DB.queryPgIndexesCount 161 "unexpected number of indexes"
20+
assertEqQuery dbSync DB.queryPgIndexesCount 162 "unexpected number of indexes"
2121
where
2222
cliArgs = initCommandLineArgs {claForceIndexes = True}
2323
testLabel = "conwayCLACheckForceIndexesArg"

schema/migration-4-0002-20200810.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11

22
CREATE INDEX IF NOT EXISTS idx_block_time ON block(time);
3+
CREATE INDEX IF NOT EXISTS idx_tx_out_payment_cred ON tx_out(payment_cred);
34
CREATE INDEX IF NOT EXISTS idx_pool_update_hash_id ON pool_update(hash_id);

0 commit comments

Comments
 (0)