Skip to content

Commit

Permalink
(VDB-1207) Remove non-essential smart comments (#53)
Browse files Browse the repository at this point in the history
- configure via postgraphile.tags.json5 instead
  • Loading branch information
rmulhol authored Feb 24, 2020
1 parent c222468 commit f3b3c36
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 40 deletions.
3 changes: 0 additions & 3 deletions db/migrations/00001_create_nodes_table.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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;
3 changes: 0 additions & 3 deletions db/migrations/00004_create_checked_headers_table.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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;
3 changes: 0 additions & 3 deletions db/migrations/00007_create_receipts_table.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
3 changes: 0 additions & 3 deletions db/migrations/00009_create_watched_logs_table.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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;
28 changes: 0 additions & 28 deletions db/schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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: -
--
Expand Down Expand Up @@ -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: -
--
Expand Down Expand Up @@ -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: -
--
Expand Down Expand Up @@ -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: -
--
Expand Down

0 comments on commit f3b3c36

Please sign in to comment.