add table comment, index, and column
This commit is contained in:
parent
144e18707a
commit
a0941d6478
@ -2,8 +2,8 @@
|
|||||||
-- PostgreSQL database dump
|
-- PostgreSQL database dump
|
||||||
--
|
--
|
||||||
|
|
||||||
-- Dumped from database version 10.2
|
-- Dumped from database version 10rc1
|
||||||
-- Dumped by pg_dump version 10.2
|
-- Dumped by pg_dump version 10rc1
|
||||||
|
|
||||||
SET statement_timeout = 0;
|
SET statement_timeout = 0;
|
||||||
SET lock_timeout = 0;
|
SET lock_timeout = 0;
|
||||||
@ -857,6 +857,13 @@ CREATE TABLE map_rm (
|
|||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Name: TABLE map_rm; Type: COMMENT; Schema: tps; Owner: -
|
||||||
|
--
|
||||||
|
|
||||||
|
COMMENT ON TABLE map_rm IS 'regex instructions';
|
||||||
|
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Name: map_rv; Type: TABLE; Schema: tps; Owner: -
|
-- Name: map_rv; Type: TABLE; Schema: tps; Owner: -
|
||||||
--
|
--
|
||||||
@ -869,6 +876,13 @@ CREATE TABLE map_rv (
|
|||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Name: TABLE map_rv; Type: COMMENT; Schema: tps; Owner: -
|
||||||
|
--
|
||||||
|
|
||||||
|
COMMENT ON TABLE map_rv IS 'map return value assignemnt';
|
||||||
|
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Name: srce; Type: TABLE; Schema: tps; Owner: -
|
-- Name: srce; Type: TABLE; Schema: tps; Owner: -
|
||||||
--
|
--
|
||||||
@ -879,6 +893,13 @@ CREATE TABLE srce (
|
|||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Name: TABLE srce; Type: COMMENT; Schema: tps; Owner: -
|
||||||
|
--
|
||||||
|
|
||||||
|
COMMENT ON TABLE srce IS 'source master listing and definition';
|
||||||
|
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Name: trans; Type: TABLE; Schema: tps; Owner: -
|
-- Name: trans; Type: TABLE; Schema: tps; Owner: -
|
||||||
--
|
--
|
||||||
@ -889,10 +910,18 @@ CREATE TABLE trans (
|
|||||||
rec jsonb,
|
rec jsonb,
|
||||||
parse jsonb,
|
parse jsonb,
|
||||||
map jsonb,
|
map jsonb,
|
||||||
allj jsonb
|
allj jsonb,
|
||||||
|
logid bigint
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Name: TABLE trans; Type: COMMENT; Schema: tps; Owner: -
|
||||||
|
--
|
||||||
|
|
||||||
|
COMMENT ON TABLE trans IS 'source records';
|
||||||
|
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Name: trans_id_seq; Type: SEQUENCE; Schema: tps; Owner: -
|
-- Name: trans_id_seq; Type: SEQUENCE; Schema: tps; Owner: -
|
||||||
--
|
--
|
||||||
@ -917,6 +946,13 @@ CREATE TABLE trans_log (
|
|||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Name: TABLE trans_log; Type: COMMENT; Schema: tps; Owner: -
|
||||||
|
--
|
||||||
|
|
||||||
|
COMMENT ON TABLE trans_log IS 'import event information';
|
||||||
|
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Name: trans_log_id_seq; Type: SEQUENCE; Schema: tps; Owner: -
|
-- Name: trans_log_id_seq; Type: SEQUENCE; Schema: tps; Owner: -
|
||||||
--
|
--
|
||||||
@ -985,6 +1021,13 @@ CREATE INDEX trans_allj ON trans USING gin (allj);
|
|||||||
CREATE INDEX trans_rec ON trans USING gin (rec);
|
CREATE INDEX trans_rec ON trans USING gin (rec);
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Name: trans_srce; Type: INDEX; Schema: tps; Owner: -
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE INDEX trans_srce ON trans USING btree (srce);
|
||||||
|
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Name: map_rm map_rm_fk_srce; Type: FK CONSTRAINT; Schema: tps; Owner: -
|
-- Name: map_rm map_rm_fk_srce; Type: FK CONSTRAINT; Schema: tps; Owner: -
|
||||||
--
|
--
|
||||||
|
Loading…
Reference in New Issue
Block a user