diff --git a/db/migrations/00001_create_nodes_table.sql b/db/migrations/00001_create_nodes_table.sql index e01e362f9..bf14a279f 100644 --- a/db/migrations/00001_create_nodes_table.sql +++ b/db/migrations/00001_create_nodes_table.sql @@ -9,8 +9,5 @@ CREATE TABLE eth_nodes UNIQUE (genesis_block, network_id, eth_node_id, client_name) ); -COMMENT ON TABLE public.eth_nodes - IS E'@omit'; - -- +goose Down DROP TABLE eth_nodes; diff --git a/db/migrations/00004_create_checked_headers_table.sql b/db/migrations/00004_create_checked_headers_table.sql index e979df0b7..45ad295db 100644 --- a/db/migrations/00004_create_checked_headers_table.sql +++ b/db/migrations/00004_create_checked_headers_table.sql @@ -5,8 +5,5 @@ CREATE TABLE public.checked_headers header_id INTEGER UNIQUE NOT NULL REFERENCES headers (id) ON DELETE CASCADE ); -COMMENT ON TABLE public.checked_headers - IS E'@omit'; - -- +goose Down DROP TABLE public.checked_headers; diff --git a/db/migrations/00007_create_receipts_table.sql b/db/migrations/00007_create_receipts_table.sql index 8adcd4b97..2686f3ea6 100644 --- a/db/migrations/00007_create_receipts_table.sql +++ b/db/migrations/00007_create_receipts_table.sql @@ -19,9 +19,6 @@ CREATE INDEX receipts_contract_address CREATE INDEX receipts_transaction ON public.receipts (transaction_id); -COMMENT ON TABLE public.receipts - IS E'@omit'; - -- +goose Down DROP INDEX receipts_transaction; DROP INDEX receipts_contract_address; diff --git a/db/migrations/00009_create_watched_logs_table.sql b/db/migrations/00009_create_watched_logs_table.sql index 6a3631586..4268a68a1 100644 --- a/db/migrations/00009_create_watched_logs_table.sql +++ b/db/migrations/00009_create_watched_logs_table.sql @@ -7,9 +7,6 @@ CREATE TABLE public.watched_logs topic_zero VARCHAR(66) ); -COMMENT ON TABLE public.watched_logs - IS E'@omit'; - -- +goose Down -- SQL in this section is executed when the migration is rolled back. DROP TABLE public.watched_logs; diff --git a/db/schema.sql b/db/schema.sql index 0d7364d8e..ba0c922a6 100644 --- a/db/schema.sql +++ b/db/schema.sql @@ -75,13 +75,6 @@ CREATE TABLE public.checked_headers ( ); --- --- Name: TABLE checked_headers; Type: COMMENT; Schema: public; Owner: - --- - -COMMENT ON TABLE public.checked_headers IS '@omit'; - - -- -- Name: checked_headers_id_seq; Type: SEQUENCE; Schema: public; Owner: - -- @@ -115,13 +108,6 @@ CREATE TABLE public.eth_nodes ( ); --- --- Name: TABLE eth_nodes; Type: COMMENT; Schema: public; Owner: - --- - -COMMENT ON TABLE public.eth_nodes IS '@omit'; - - -- -- Name: eth_nodes_id_seq; Type: SEQUENCE; Schema: public; Owner: - -- @@ -269,13 +255,6 @@ CREATE TABLE public.receipts ( ); --- --- Name: TABLE receipts; Type: COMMENT; Schema: public; Owner: - --- - -COMMENT ON TABLE public.receipts IS '@omit'; - - -- -- Name: receipts_id_seq; Type: SEQUENCE; Schema: public; Owner: - -- @@ -382,13 +361,6 @@ CREATE TABLE public.watched_logs ( ); --- --- Name: TABLE watched_logs; Type: COMMENT; Schema: public; Owner: - --- - -COMMENT ON TABLE public.watched_logs IS '@omit'; - - -- -- Name: watched_logs_id_seq; Type: SEQUENCE; Schema: public; Owner: - --