diff --git a/db/migrations/00026_create_postgraphile_comments.sql b/db/migrations/00026_create_postgraphile_comments.sql new file mode 100644 index 00000000..567ba6b5 --- /dev/null +++ b/db/migrations/00026_create_postgraphile_comments.sql @@ -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'; \ No newline at end of file diff --git a/pkg/super_node/backfiller.go b/pkg/super_node/backfiller.go index 851f601c..de8a78d1 100644 --- a/pkg/super_node/backfiller.go +++ b/pkg/super_node/backfiller.go @@ -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 {