diff --git a/ubm_data.sql b/ubm_data.sql index c47619b..352bd02 100644 --- a/ubm_data.sql +++ b/ubm_data.sql @@ -32,6 +32,14 @@ INSERT INTO log (id, rec, post_stmp) VALUES (9, '{"GL": [{"amt": 2.49, "item": " INSERT INTO log (id, rec, post_stmp) VALUES (10, '{"GL": [{"amt": 9.42, "item": "candle", "reason": "supplies", "account": "home supplies", "vend item": "BWH 14.5Z FC LEAVES"}, {"amt": 9.42, "item": "candle", "reason": "supplies", "account": "home supplies", "vend item": "BWH 14.5Z FC AUTUMN10"}, {"amt": 10.25, "item": "candle", "reason": "supplies", "account": "home supplies", "vend item": "BWH 14.5Z FC CAMP WINTER"}, {"amt": 10.25, "item": "candle", "reason": "supplies", "account": "home supplies", "vend item": "BWH 14.5Z FC SPICEAPLETODY"}, {"amt": 1.41, "item": "soap", "reason": "hygeine", "account": "home supplies", "vend item": "SANI 10Z HGEL SPED HPYBRTHDY"}, {"amt": 2.75, "item": "sales tax", "rate": "0.675", "reason": "sales tax", "account": "sales tax", "vend item": "OHIO Tax"}, {"amt": -9.42, "item": "candle", "reason": "supplies", "account": "dcard", "vend item": "BWH 14.5Z FC LEAVES"}, {"amt": -9.42, "item": "candle", "reason": "supplies", "account": "dcard", "vend item": "BWH 14.5Z FC AUTUMN10"}, {"amt": -10.25, "item": "candle", "reason": "supplies", "account": "dcard", "vend item": "BWH 14.5Z FC CAMP WINTER"}, {"amt": -10.25, "item": "candle", "reason": "supplies", "account": "dcard", "vend item": "BWH 14.5Z FC SPICEAPLETODY"}, {"amt": -1.41, "item": "soap", "reason": "hygeine", "account": "dcard", "vend item": "SANI 10Z HGEL SPED HPYBRTHDY"}, {"amt": -2.75, "item": "sales tax", "rate": "0.675", "reason": "sales tax", "account": "dcard", "vend item": "OHIO Tax"}], "header": {"date": "10/9/2017", "total": 43.5, "module": "MJE", "vendor": "Bath & Body Works", "location": "stow, oh", "instrument": "Discover Card", "transaction": "purchase"}}', '2017-10-27 00:58:27.819126-04'); INSERT INTO log (id, rec, post_stmp) VALUES (11, '{"GL": [{"amt": "0.99", "item": "gum", "reason": "recreation", "account": "recreation", "vend item": "TRIDENT"}, {"amt": 9.58, "item": "legos", "reason": "recreation", "account": "recreation", "vend item": "BUILDING SET"}, {"amt": "0.65", "rate": "0.675", "vend item": "OH TAX"}, {"amt": -0.99, "item": "gum", "reason": "recreation", "account": "recreation", "vend item": "TRIDENT"}, {"amt": -9.58, "item": "legos", "reason": "recreation", "account": "recreation", "vend item": "BUILDING SET"}, {"amt": -0.65, "rate": "0.675", "vend item": "OH TAX"}], "header": {"date": "10/9/2017", "total": 11.22, "module": "MJE", "vendor": "Target", "location": "stow, oh", "instrument": "Discover Card", "transaction": "purchase"}}', '2017-10-27 01:00:22.193526-04'); INSERT INTO log (id, rec, post_stmp) VALUES (12, '{"GL": [{"amt": 4.29, "item": "toothpaste", "reason": "hygeine", "account": "home supplies", "vend item": "TOMS 4.7OZ"}, {"amt": 6.49, "item": "makeup", "reason": "hygeine", "account": "home supplies", "vend item": "MASCARA"}, {"amt": 5.99, "item": "hand soap", "reason": "hygeine", "account": "home supplies", "vend item": "RENPURE"}, {"amt": 5.99, "item": "hand soap", "reason": "hygeine", "account": "home supplies", "vend item": "RENPURE"}, {"amt": 9.58, "item": "legos", "reason": "recreation", "account": "recreation", "vend item": "BUILDING SET"}, {"amt": 2.18, "item": "sales tax", "rate": "0.675", "reason": "sales tax", "account": "sales tax", "vend item": "OH TAX"}, {"amt": -4.29, "item": "toothpaste", "reason": "hygeine", "account": "home supplies", "vend item": "TOMS 4.7OZ"}, {"amt": -6.49, "item": "makeup", "reason": "hygeine", "account": "home supplies", "vend item": "MASCARA"}, {"amt": -5.99, "item": "hand soap", "reason": "hygeine", "account": "home supplies", "vend item": "RENPURE"}, {"amt": -5.99, "item": "hand soap", "reason": "hygeine", "account": "home supplies", "vend item": "RENPURE"}, {"amt": -9.58, "item": "legos", "reason": "recreation", "account": "recreation", "vend item": "BUILDING SET"}, {"amt": -2.18, "item": "sales tax", "rate": "0.675", "reason": "sales tax", "account": "sales tax", "vend item": "OH TAX"}], "header": {"date": "10/9/2017", "total": 34.52, "module": "MJE", "vendor": "Target", "location": "stow, oh", "instrument": "Discover Card", "transaction": "purchase"}}', '2017-10-27 01:03:13.761154-04'); +INSERT INTO log (id, rec, post_stmp) VALUES (13, '{"GL": [{"amt": 3.49, "item": "ice", "reason": "food", "account": "food", "vend item": "ACME ICE"}, {"amt": -3.49, "item": "ice", "reason": "food", "account": "dcard", "vend item": "ACME ICE"}], "header": {"date": "10/12/2017", "total": 3.49, "module": "MJE", "vendor": "RSVP", "location": "stow, oh", "instrument": "Discover Card", "transaction": "purchase"}}', '2017-10-27 01:05:39.734436-04'); +INSERT INTO log (id, rec, post_stmp) VALUES (14, '{"GL": [{"amt": 1, "item": "candy", "reason": "food", "account": "food", "vend item": "M&M''S PNT BTR"}, {"amt": 4.99, "item": "stuffed animal", "reason": "Phoebe - Rhembmer Nhu", "account": "gifts", "vend item": "PATCHES - LEOPARD"}, {"amt": 1.29, "item": "candy", "reason": "food", "account": "food", "vend item": "AIRHEADS"}, {"amt": 1.29, "item": "candy", "reason": "food", "account": "food", "vend item": "AIRHEADS"}, {"amt": 1.29, "item": "candy", "reason": "food", "account": "food", "vend item": "AIRHEADS"}, {"amt": "0.34", "item": "sales tax", "reason": "sales tax", "account": "sales tax", "vend item": "TAX"}, {"amt": -1, "item": "candy", "reason": "food", "account": "dcard", "vend item": "M&M''S PNT BTR"}, {"amt": -4.99, "item": "stuffed animal", "reason": "Phoebe - Rhembmer Nhu", "account": "dcard", "vend item": "PATCHES - LEOPARD"}, {"amt": -1.29, "item": "candy", "reason": "food", "account": "dcard", "vend item": "AIRHEADS"}, {"amt": -1.29, "item": "candy", "reason": "food", "account": "dcard", "vend item": "AIRHEADS"}, {"amt": -1.29, "item": "candy", "reason": "food", "account": "dcard", "vend item": "AIRHEADS"}, {"amt": -0.34, "item": "sales tax", "reason": "sales tax", "account": "dcard", "vend item": "TAX"}], "header": {"date": "10/18/2017", "total": 10.2, "module": "MJE", "vendor": "Giant Eagle", "location": "stow, oh", "instrument": "Discover Card", "transaction": "purchase"}}', '2017-10-27 01:14:48.16421-04'); +INSERT INTO log (id, rec, post_stmp) VALUES (15, '{"GL": [{"amt": 20, "qty": 20, "uom": "ea", "item": "glow sticks", "reason": "Rhemember Nhu missions team support", "account": "gifts", "vend item": "GLOW BRACELET"}, {"amt": 1.35, "item": "sales tax", "reason": "sales tax", "account": "sales tax", "vend item": "SALES TAX"}, {"amt": -20, "qty": 20, "uom": "ea", "item": "glow sticks", "reason": "Rhemember Nhu missions team support", "account": "gifts", "vend item": "GLOW BRACELET"}, {"amt": -1.35, "item": "sales tax", "reason": "sales tax", "account": "sales tax", "vend item": "SALES TAX"}], "header": {"date": "10/18/2017", "total": 21.35, "module": "MJE", "vendor": "Dollar Tree", "location": "4332 Kent Road, Stow, OH", "instrument": "Discover Card", "transaction": "purchase"}}', '2017-10-27 01:18:39.821262-04'); +INSERT INTO log (id, rec, post_stmp) VALUES (16, '{"GL": [{"amt": 6.99, "item": "doll", "reason": "Phoebe -Remember Nhu", "account": "gifts", "vend item": "CHLSE FRIENDS"}, {"amt": 21.99, "item": "toy", "reason": "Tatum - birthday", "account": "gifts", "vend item": "FP POP DINO"}, {"amt": 1.96, "item": "sales tax", "rate": "0.675", "reason": "sales tax", "account": "sales tax", "vend item": "OH TAX"}, {"amt": -6.99, "item": "doll", "reason": "Phoebe -Remember Nhu", "account": "gifts", "vend item": "CHLSE FRIENDS"}, {"amt": -21.99, "item": "toy", "reason": "Tatum - birthday", "account": "gifts", "vend item": "FP POP DINO"}, {"amt": -1.96, "item": "sales tax", "rate": "0.675", "reason": "sales tax", "account": "sales tax", "vend item": "OH TAX"}], "header": {"date": "10/18/2017", "total": 30.94, "module": "MJE", "vendor": "Target", "location": "Stow, OH", "instrument": "Discover Card", "transaction": "purchase"}}', '2017-10-27 01:22:05.101991-04'); +INSERT INTO log (id, rec, post_stmp) VALUES (17, '{"GL": [{"amt": 6.99, "item": "lacquer thinner", "reason": "kitchen remodel", "account": "home supplies", "vend item": "LACQUER THINNER"}, {"amt": 1.29, "item": "paint brush", "reason": "kitchen remodel", "account": "home supplies", "vend item": "PAINT BRUSH - SPIFFY"}, {"amt": 1.99, "item": "paint brush", "reason": "kitchen remodel", "account": "home supplies", "vend item": "PAINT BRUSH - SPIFFY"}, {"amt": 7.99, "item": "batteries", "reason": "Tatum - birthday", "account": "gifts", "vend item": "DURACELL BATTERIES 4PK"}, {"amt": 3.99, "item": "matches", "reason": "supplies", "account": "home supplies", "vend item": "MATCHES WOOD KITCHEN"}, {"amt": 1.5, "item": "sales tax", "rate": "0.675", "reason": "sales tax", "account": "sales tax", "vend item": "SALES TAX"}, {"amt": -6.99, "item": "lacquer thinner", "reason": "kitchen remodel", "account": "home supplies", "vend item": "LACQUER THINNER"}, {"amt": -1.29, "item": "paint brush", "reason": "kitchen remodel", "account": "home supplies", "vend item": "PAINT BRUSH - SPIFFY"}, {"amt": -1.99, "item": "paint brush", "reason": "kitchen remodel", "account": "home supplies", "vend item": "PAINT BRUSH - SPIFFY"}, {"amt": -7.99, "item": "batteries", "reason": "Tatum - birthday", "account": "gifts", "vend item": "DURACELL BATTERIES 4PK"}, {"amt": -3.99, "item": "matches", "reason": "supplies", "account": "home supplies", "vend item": "MATCHES WOOD KITCHEN"}, {"amt": -1.5, "item": "sales tax", "rate": "0.675", "reason": "sales tax", "account": "sales tax", "vend item": "SALES TAX"}], "header": {"date": "10/21/2017", "total": 23.75, "module": "MJE", "vendor": "Drug Mart", "location": "4044 Fishcreek Rd, Stow, OH", "instrument": "Discover Card", "transaction": "purchase"}}', '2017-10-27 01:26:31.408625-04'); +INSERT INTO log (id, rec, post_stmp) VALUES (18, '{"GL": [{"amt": 14.99, "item": "diapers", "reason": "hygeine", "account": "home supplies", "vend item": "UPUP DIAPERS"}, {"amt": 24.99, "item": "diapers", "reason": "hygeine", "account": "home supplies", "vend item": "PULL - UPS"}, {"amt": 8.54, "item": "candy", "reason": "food", "account": "food", "vend item": "M AND M"}, {"amt": 3.5, "item": "ice cream", "reason": "food", "account": "food", "vend item": "DREYERS EDYS"}, {"amt": 3.5, "item": "ice cream", "reason": "food", "account": "food", "vend item": "DREYERS EDYS"}, {"amt": 18.59, "item": "toilet paper", "reason": "hygeine", "account": "home supplies", "vend item": "CHARMIN"}, {"amt": 4.25, "item": "sales tax", "rate": "0.675", "reason": "sales tax", "account": "sales tax", "vend item": "OH TAX"}, {"amt": -14.99, "item": "diapers", "reason": "hygeine", "account": "home supplies", "vend item": "UPUP DIAPERS"}, {"amt": -24.99, "item": "diapers", "reason": "hygeine", "account": "home supplies", "vend item": "PULL - UPS"}, {"amt": -8.54, "item": "candy", "reason": "food", "account": "food", "vend item": "M AND M"}, {"amt": -3.5, "item": "ice cream", "reason": "food", "account": "food", "vend item": "DREYERS EDYS"}, {"amt": -3.5, "item": "ice cream", "reason": "food", "account": "food", "vend item": "DREYERS EDYS"}, {"amt": -18.59, "item": "toilet paper", "reason": "hygeine", "account": "home supplies", "vend item": "CHARMIN"}, {"amt": -4.25, "item": "sales tax", "rate": "0.675", "reason": "sales tax", "account": "sales tax", "vend item": "OH TAX"}], "header": {"date": "10/20/2017", "total": 78.36, "module": "MJE", "vendor": "Target", "location": "Streetsboro, OH", "instrument": "Discover Card", "transaction": "purchase"}}', '2017-10-27 01:32:49.615675-04'); +INSERT INTO log (id, rec, post_stmp) VALUES (19, '{"GL": [{"amt": 1.99, "item": "relish", "reason": "food", "account": "food", "vend item": "DILL RELISH"}, {"amt": -1.99, "item": "relish", "reason": "food", "account": "dcard", "vend item": "DILL RELISH"}], "header": {"date": "10/14/2017", "total": 1.99, "module": "MJE", "vendor": "Drug Mart", "location": "4044 Fishcreek Rd, Stow, OH", "instrument": "Discover Card", "transaction": "purchase"}}', '2017-10-27 01:34:34.223324-04'); +INSERT INTO log (id, rec, post_stmp) VALUES (20, '{"GL": [{"amt": 23.39, "item": "birch plywood", "reason": "kitchen remodel", "account": "home supplies", "vend item": "TC MAPLE HARDWD"}, {"amt": 1.7, "item": "sales tax", "reason": "sales tax", "account": "sales tax", "vend item": "TAX"}, {"amt": -23.39, "item": "birch plywood", "reason": "kitchen remodel", "account": "home supplies", "vend item": "TC MAPLE HARDWD"}, {"amt": -1.7, "item": "sales tax", "reason": "sales tax", "account": "sales tax", "vend item": "TAX"}], "header": {"date": "10/14/2017", "total": 25.09, "module": "MJE", "vendor": "Lowe''s", "location": "1210 State Road, Stow, OH", "instrument": "Lowes Credit", "transaction": "purchase"}}', '2017-10-27 01:37:51.365572-04'); SET search_path = tps, pg_catalog; @@ -3105,7 +3113,7 @@ SET search_path = evt, pg_catalog; -- Name: log_id_seq; Type: SEQUENCE SET; Schema: evt; Owner: - -- -SELECT pg_catalog.setval('log_id_seq', 12, true); +SELECT pg_catalog.setval('log_id_seq', 20, true); SET search_path = tps, pg_catalog;