Skip to content

Commit c08cb3d

Browse files
committed
Rollbacks the metadata tables
1 parent 9395f55 commit c08cb3d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cardano-db/src/Cardano/Db/Delete.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ deleteTablesAfterBlockId blkId mtxId minIds = do
117117
whenJust mvaId $ \vaId -> do
118118
mocvdId <- queryMinRefId OffChainVoteDataVotingAnchorId vaId
119119
whenJust mocvdId $ \ocvdId -> do
120+
queryFirstAndDeleteAfter OffChainVoteGovActionDataOffChainVoteDataId ocvdId
121+
queryFirstAndDeleteAfter OffChainVoteDrepDataOffChainVoteDataId ocvdId
120122
queryFirstAndDeleteAfter OffChainVoteAuthorOffChainVoteDataId ocvdId
121123
queryFirstAndDeleteAfter OffChainVoteReferenceOffChainVoteDataId ocvdId
122124
queryFirstAndDeleteAfter OffChainVoteExternalUpdateOffChainVoteDataId ocvdId

0 commit comments

Comments
 (0)