diff --git a/ubm_data.sql b/ubm_data.sql index 96a1f74..238684a 100644 --- a/ubm_data.sql +++ b/ubm_data.sql @@ -147,6 +147,12 @@ INSERT INTO map_rv (srce, target, retval, map) VALUES ('PNCC', 'ACH Debits', '{" INSERT INTO map_rv (srce, target, retval, map) VALUES ('PNCC', 'ACH Debits', '{"ini": "ACH DEBIT RECEIVED", "desc": " DBI COBRA", "compn": " DBI COBRA"}', '{"party": "ADP", "reason": "Payroll Direct Deposit"}'); +-- +-- Data for Name: trans_log; Type: TABLE DATA; Schema: tps; Owner: - +-- + + + SET search_path = evt, pg_catalog; -- @@ -162,7 +168,14 @@ SET search_path = tps, pg_catalog; -- Name: trans_id_seq; Type: SEQUENCE SET; Schema: tps; Owner: - -- -SELECT pg_catalog.setval('trans_id_seq', 1543757, true); +SELECT pg_catalog.setval('trans_id_seq', 1544069, true); + + +-- +-- Name: trans_log_id_seq; Type: SEQUENCE SET; Schema: tps; Owner: - +-- + +SELECT pg_catalog.setval('trans_log_id_seq', 1, false); -- diff --git a/ubm_schema.sql b/ubm_schema.sql index fcda4b0..a81bac7 100644 --- a/ubm_schema.sql +++ b/ubm_schema.sql @@ -237,6 +237,30 @@ ALTER TABLE trans ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( ); +-- +-- Name: trans_log; Type: TABLE; Schema: tps; Owner: - +-- + +CREATE TABLE trans_log ( + id integer NOT NULL, + info jsonb +); + + +-- +-- Name: trans_log_id_seq; Type: SEQUENCE; Schema: tps; Owner: - +-- + +ALTER TABLE trans_log ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME trans_log_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + SET search_path = evt, pg_catalog; -- @@ -273,6 +297,14 @@ ALTER TABLE ONLY srce ADD CONSTRAINT srce_pkey PRIMARY KEY (srce); +-- +-- Name: trans_log trans_log_pkey; Type: CONSTRAINT; Schema: tps; Owner: - +-- + +ALTER TABLE ONLY trans_log + ADD CONSTRAINT trans_log_pkey PRIMARY KEY (id); + + -- -- Name: trans trans_pkey; Type: CONSTRAINT; Schema: tps; Owner: - --