diff --git a/ubm_data.sql b/ubm_data.sql index 094d8e9..93538cf 100644 --- a/ubm_data.sql +++ b/ubm_data.sql @@ -30,6 +30,13 @@ SET search_path = tps, pg_catalog; -- INSERT INTO srce (srce, defn) VALUES ('PNCC', '{"name": "PNCC", "type": "csv", "schema": [{"key": "AsOfDate", "type": "date"}, {"key": "BankId", "type": "text"}, {"key": "AccountNumber", "type": "text"}, {"key": "AccountName", "type": "text"}, {"key": "BaiControl", "type": "text"}, {"key": "Currency", "type": "text"}, {"key": "Transaction", "type": "text"}, {"key": "Reference", "type": "text"}, {"key": "Amount", "type": "text"}, {"key": "Description", "type": "text"}, {"key": "AdditionalRemittance", "type": "text"}], "unique_constraint": {"type": "range", "fields": ["{AsOfDate}"]}}'); +INSERT INTO srce (srce, defn) VALUES ('DCARD', '{"name": "DCARD", "type": "csv", "schema": [{"key": "Trans. Date", "type": "date"}, {"key": "Post Date", "type": "text"}, {"key": "Description", "type": "text"}, {"key": "Amount", "type": "text"}, {"key": "Category", "type": "text"}], "unique_constraint": {"type": "key", "fields": ["{Post Date}"]}}'); + + +-- +-- Data for Name: trans; Type: TABLE DATA; Schema: tps; Owner: - +-- + SET search_path = evt, pg_catalog; @@ -41,6 +48,16 @@ SET search_path = evt, pg_catalog; SELECT pg_catalog.setval('log_id_seq', 1, true); +SET search_path = tps, pg_catalog; + +-- +-- Name: trans_id_seq; Type: SEQUENCE SET; Schema: tps; Owner: - +-- + +SELECT pg_catalog.setval('trans_id_seq', 1, false); +---why is this here? + + -- -- PostgreSQL database dump complete -- diff --git a/ubm_schema.sql b/ubm_schema.sql index 3e04f5f..964a317 100644 --- a/ubm_schema.sql +++ b/ubm_schema.sql @@ -2,8 +2,8 @@ -- PostgreSQL database dump -- --- Dumped from database version 10rc1 --- Dumped by pg_dump version 10rc1 +-- Dumped from database version 10beta4 +-- Dumped by pg_dump version 10beta4 SET statement_timeout = 0; SET lock_timeout = 0;