sharix_open_local_testdata.sql 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. --
  2. -- PostgreSQL database dump
  3. --
  4. -- Dumped from database version 12.7
  5. -- Dumped by pg_dump version 12.7
  6. SET statement_timeout = 0;
  7. SET lock_timeout = 0;
  8. SET idle_in_transaction_session_timeout = 0;
  9. SET client_encoding = 'UTF8';
  10. SET standard_conforming_strings = on;
  11. SELECT pg_catalog.set_config('search_path', '', false);
  12. SET check_function_bodies = false;
  13. SET xmloption = content;
  14. SET client_min_messages = warning;
  15. SET row_security = off;
  16. --
  17. -- Data for Name: resourse_log; Type: TABLE DATA; Schema: public; Owner: postgres
  18. --
  19. COPY public.resourse_log (id, resource_id, time_log_created, operation, user_id) FROM stdin;
  20. 1 1 2022-04-17 12:02:03+03 O 23
  21. 2 2 2022-04-18 15:23:03+03 O 23
  22. 3 3 2022-04-19 21:23:12+03 O 23
  23. \.
  24. --
  25. -- Data for Name: current_resourse; Type: TABLE DATA; Schema: public; Owner: postgres
  26. --
  27. COPY public.current_resourse (id, resource_id, user_id, order_status, order_id, current_token, doors_output, engine_input, central_lock_input, ignition_input, doors_input, input4, controller_status, signal_gsm, operator_gsm, signal_gps, location, speed, direction, address, battery_level, board_voltage) FROM stdin;
  28. 1 1 1 \N \N ghjkdgfshkl C O C O C \N n 100 Мегафон 123 -22.951916, -43.2104872 90 N Тверская область, город Щёлково, ш 45 12.6
  29. 2 2 2 \N \N ghjkdgfshkldfikjeo C O C O C \N n 100 Водафон 123 -22.9512323, -34.2345856 90 N Город Москва, Ленинградское шоссе, 45 12.6
  30. 3 3 3 \N \N ghjkdgfshkldfikjeo C O C O C \N n 100 Билайн 123 -31.9556213, -34.2342387 90 N Город Санкт-Петербург, улица Ленин 45 12.6
  31. \.
  32. --
  33. -- Data for Name: current_timetable; Type: TABLE DATA; Schema: public; Owner: postgres
  34. --
  35. COPY public.current_timetable (id, order_id, service_type_id, privider_id, resource_id, time_start_predicted, time_finished_predicted, gap) FROM stdin;
  36. 1 1 1 1 1 2022-04-17 01:02:03+03 2022-05-17 03:15:23+03 60
  37. 2 2 2 2 2 2022-04-18 02:03:04+03 2022-04-19 03:03:04+03 60
  38. 3 3 3 3 3 2022-05-19 03:04:05+03 2022-05-19 04:04:05+03 60
  39. \.
  40. --
  41. -- Data for Name: order_list_log; Type: TABLE DATA; Schema: public; Owner: postgres
  42. --
  43. COPY public.order_list_log (id, payment_transaction_id, service_id, service_type_id, time_placed, time_start, time_finish_predicted, time_finish_real, order_place_start, order_place_predicted, order_place_real, price, provider, receiver, client) FROM stdin;
  44. 1 1 1 1 2022-06-17 01:02:03+03 2022-06-17 01:02:03+03 2022-06-17 12:02:03+03 2022-06-17 12:02:03+03 Walmart street, 14.24 Times street, 13.14 Walmart street, 14.24 100,00 ₽ 1 1 1
  45. 2 2 2 2 2022-06-18 01:03:03+03 2022-06-18 01:04:03+03 2022-06-18 01:05:03+03 2022-06-18 03:02:03+03 Genesis street, 13.22 Franklin street, 13.14 Genesis street, 14.24 100,00 ₽ 1 1 1
  46. 3 3 3 3 2022-06-19 12:05:03+03 2022-06-19 12:17:03+03 2022-06-19 14:05:03+03 2022-06-18 03:02:03+03 Rose street, 13.22 Franklin street, 13.14 Genesis street, 14.24 100,00 ₽ 1 1 1
  47. \.
  48. --
  49. -- Data for Name: tickets; Type: TABLE DATA; Schema: public; Owner: postgres
  50. --
  51. COPY public.tickets (id, type, id_reporter, id_asignee, time_created, time_assigned, time_changed, time_closed, status, description) FROM stdin;
  52. 1 n 1 1 2022-04-17 01:02:03+03 2022-05-17 01:02:03+03 2022-06-17 01:02:03+03 2022-07-17 01:02:03+03 A описание заявки для человека или для автоматической обработки
  53. 2 n 2 2 2022-04-18 02:03:04+03 2022-04-17 01:02:03+03 2022-06-17 01:02:03+03 2022-07-17 01:02:03+03 A описание заявки для человека или для автоматической обработки
  54. 3 n 3 3 2022-04-19 02:03:04+03 2022-04-19 03:02:03+03 2022-04-19 04:02:03+03 2022-07-17 01:02:03+03 A описание заявки для человека или для автоматической обработки
  55. \.
  56. --
  57. -- Name: resourse_log_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
  58. --
  59. SELECT pg_catalog.setval('public.resourse_log_id_seq', 3, true);
  60. --
  61. -- Name: current_resourse_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
  62. --
  63. SELECT pg_catalog.setval('public.current_resourse_id_seq', 3, true);
  64. --
  65. -- Name: current_timetable_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
  66. --
  67. SELECT pg_catalog.setval('public.current_timetable_id_seq', 1, false);
  68. --
  69. -- Name: order_list_log_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
  70. --
  71. SELECT pg_catalog.setval('public.order_list_log_id_seq', 1, false);
  72. --
  73. -- Name: tickets_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
  74. --
  75. SELECT pg_catalog.setval('public.tickets_id_seq', 1, false);
  76. --
  77. -- PostgreSQL database dump complete
  78. --