ipld-eth-db/db/migrations/00012_create_postgraphile_comments.sql

15 lines
571 B
MySQL
Raw Normal View History

2021-08-29 18:55:44 +00:00
-- +goose Up
COMMENT ON TABLE public.nodes IS E'@name NodeInfo';
COMMENT ON TABLE eth.transaction_cids IS E'@name EthTransactionCids';
COMMENT ON TABLE eth.header_cids IS E'@name EthHeaderCids';
COMMENT ON COLUMN public.nodes.node_id IS E'@name ChainNodeID';
2023-02-02 01:56:36 +00:00
COMMENT ON COLUMN eth.header_cids.node_ids IS E'@name EthNodeIDs';
2021-10-13 07:37:25 +00:00
-- +goose Down
COMMENT ON TABLE public.nodes IS NULL;
COMMENT ON TABLE eth.transaction_cids IS NULL;
COMMENT ON TABLE eth.header_cids IS NULL;
COMMENT ON COLUMN public.nodes.node_id IS NULL;
2023-02-02 01:56:36 +00:00
COMMENT ON COLUMN eth.header_cids.node_ids IS NULL;