db comments to resolve postgraphile type conflicts

This commit is contained in:
Ian Norden 2020-03-08 14:11:31 -05:00
parent aad318c67b
commit be875c0100
2 changed files with 9 additions and 1 deletions

View File

@ -0,0 +1,8 @@
-- +goose Up
COMMENT ON TABLE public.nodes IS E'@name NodeIDs';
COMMENT ON TABLE btc.header_cids IS E'@name BtcHeaderCids';
COMMENT ON TABLE btc.transaction_cids IS E'@name BtcTransactionCids';
COMMENT ON TABLE btc.queue_data IS E'@name BtcQueueData';
COMMENT ON TABLE eth.transaction_cids IS E'@name EthTransactionCids';
COMMENT ON TABLE eth.header_cids IS E'@name EthHeaderCids';
COMMENT ON TABLE eth.queue_data IS E'@name EthQueueData';

View File

@ -128,7 +128,7 @@ func (bfs *BackFillService) FillGapsInSuperNode(wg *sync.WaitGroup) {
}
gaps, err := bfs.Retriever.RetrieveGapsInData()
if err != nil {
log.Error("super node db backfill RetrieveGapsInData error for chain %s: %v", bfs.chain.String(), err)
log.Errorf("super node db backfill RetrieveGapsInData error for chain %s: %v", bfs.chain.String(), err)
continue
}
for _, gap := range gaps {