sharix_open_testdata.sql 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275
  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: cars_log; Type: TABLE DATA; Schema: public; Owner: postgres
  18. --
  19. COPY public.cars_log (id, resource_id, time_log_created, operation, user_id) FROM stdin;
  20. 1 1 2022-04-17 22:59:55+03 O 23
  21. \.
  22. --
  23. -- Data for Name: client; Type: TABLE DATA; Schema: public; Owner: postgres
  24. --
  25. COPY public.client (id, user_id, requirements, status, ticket_status, id_metaservice, is_global, is_visible) FROM stdin;
  26. 1 1 sgGshHz A 1 1 t f
  27. \.
  28. --
  29. -- Data for Name: company; Type: TABLE DATA; Schema: public; Owner: postgres
  30. --
  31. COPY public.company (id, legal_name, provider_id, kpp, ogrn, bank_name, bik, ks, rs, address, id_metaservice, is_global, is_visible, requirements, status, ticket_status) FROM stdin;
  32. 1768457325 HfnyHk JKhdymk 2 876753121 7845637495863 HtGdtesgG 983744234 3 5 JhduYdyd 1 t f fsdkjh A 1
  33. \.
  34. --
  35. -- Data for Name: current_cars; Type: TABLE DATA; Schema: public; Owner: postgres
  36. --
  37. COPY public.current_cars (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;
  38. 1 1 1 \N \N ghjkdgfshkl C O C O C \N n 100 Мегафон 123 -22.951916, -43.2104872 90 N Тверская область, город Щёлково, ш 45 12.6
  39. \.
  40. --
  41. -- Data for Name: current_orders; Type: TABLE DATA; Schema: public; Owner: postgres
  42. --
  43. COPY public.current_orders (id, service_id, service_type_id, state, id_metaservice, time_created, time_placed, time_start, time_finish_predicted, time_finish_real, provider_id, receiver_id, client_id, predicted_price, real_price, is_global, is_visible) FROM stdin;
  44. 1 1 9 111 1 2022-04-17 01:02:03+03 2022-04-17 01:02:03+03 2022-04-17 01:02:03+03 2022-04-17 01:02:03+03 2022-04-17 01:02:03+03 1 12 2 435.66 546987.88 t f
  45. \.
  46. --
  47. -- Data for Name: current_timetable; Type: TABLE DATA; Schema: public; Owner: postgres
  48. --
  49. COPY public.current_timetable (id, order_id, service_type_id, provider_id, resource_id, time_start_predicted, time_finished_predicted, gap) FROM stdin;
  50. \.
  51. --
  52. -- Data for Name: documents; Type: TABLE DATA; Schema: public; Owner: postgres
  53. --
  54. COPY public.documents (id, id_metaservice, doctype, expire_date, datalink, user_id, company_id, is_global, is_visible, check_level, check_by, check_date, status, ticket_status) FROM stdin;
  55. 1 1 99 2022-04-17 C:\\Folder 1 1 t f C 1 2022-04-17 01:02:03+03 A 213
  56. \.
  57. --
  58. -- Data for Name: order_list_log; Type: TABLE DATA; Schema: public; Owner: sharix
  59. --
  60. COPY public.order_list_log (id, payment_transaction_id, service_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;
  61. \.
  62. --
  63. -- Data for Name: orders; Type: TABLE DATA; Schema: public; Owner: postgres
  64. --
  65. COPY public.orders (id, service_id, service_type_id, state, id_metaservice, time_created, time_placed, time_start, time_finish_predicted, time_finish_real, provider_id, receiver_id, client_id, predicted_price, real_price, is_global, is_visible) FROM stdin;
  66. \.
  67. --
  68. -- Data for Name: permissions; Type: TABLE DATA; Schema: public; Owner: postgres
  69. --
  70. COPY public.permissions (id, id_metaservice, id_permission, user_id, is_global, is_visible, check_level, check_by, check_date, status, ticket_status) FROM stdin;
  71. 1 1 9 1 t f C 1 2022-04-17 01:02:03+03 A 213
  72. \.
  73. --
  74. -- Data for Name: provider; Type: TABLE DATA; Schema: public; Owner: postgres
  75. --
  76. COPY public.provider (id, type, id_company, user_id, requirements, status, ticket_status, id_metaservice, is_global, is_visible, location_type, default_location) FROM stdin;
  77. 1 1 1 1 sgGsGgHz A 1 1 t f GhYiy OIcyY
  78. \.
  79. --
  80. -- Data for Name: relationship; Type: TABLE DATA; Schema: public; Owner: postgres
  81. --
  82. COPY public.relationship (id, user_id_who, user_id_whom, neg_type, id_metaservice, is_global, is_visible, requirements, status, ticket_status) FROM stdin;
  83. 1 1 1 2 1 t f fsdkjh A 1
  84. \.
  85. --
  86. -- Data for Name: resource; Type: TABLE DATA; Schema: public; Owner: postgres
  87. --
  88. COPY public.resource (id, type_id, user_id, requirements, status, ticket_status, id_metaservice, is_global, is_visible) FROM stdin;
  89. 1 1 1 sgGshHz A 1 1 t f
  90. \.
  91. --
  92. -- Data for Name: service; Type: TABLE DATA; Schema: public; Owner: postgres
  93. --
  94. COPY public.service (id, servicetype_id, id_provider, resourse_id, price_alg, price_km, price_min, price_amount, id_metaservice, is_global, is_visible, requirements, status, ticket_status) FROM stdin;
  95. 1 1 1 1 sdf87675312-sdfsdf=sfer 212 13 1415 1 t f fsdkjh A 1
  96. \.
  97. --
  98. -- Data for Name: servicetype; Type: TABLE DATA; Schema: public; Owner: postgres
  99. --
  100. COPY public.servicetype (id, caption, description, pricetype, id_metaservice, is_global, is_visible, requirements, status, ticket_status) FROM stdin;
  101. 1 HfnyHkJKhdymk sdf87675312 sdfsdf sfer 12 1 t f fsdkjh A 1
  102. \.
  103. --
  104. -- Data for Name: tickets; Type: TABLE DATA; Schema: public; Owner: sharix
  105. --
  106. COPY public.tickets (id, id_reporter, id_asignee, time_created, time_assigned, time_changed, time_closed, status, description) FROM stdin;
  107. \.
  108. --
  109. -- Data for Name: users; Type: TABLE DATA; Schema: public; Owner: drive
  110. --
  111. COPY public.users (id, name, access, login, password) FROM stdin;
  112. \.
  113. --
  114. -- Name: cars_log_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
  115. --
  116. SELECT pg_catalog.setval('public.cars_log_id_seq', 1, true);
  117. --
  118. -- Name: client_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
  119. --
  120. SELECT pg_catalog.setval('public.client_id_seq', 1, true);
  121. --
  122. -- Name: current_cars_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
  123. --
  124. SELECT pg_catalog.setval('public.current_cars_id_seq', 1, true);
  125. --
  126. -- Name: current_orders_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
  127. --
  128. SELECT pg_catalog.setval('public.current_orders_id_seq', 1, true);
  129. --
  130. -- Name: current_timetable_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
  131. --
  132. SELECT pg_catalog.setval('public.current_timetable_id_seq', 1, false);
  133. --
  134. -- Name: documents_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
  135. --
  136. SELECT pg_catalog.setval('public.documents_id_seq', 1, true);
  137. --
  138. -- Name: order_list_log_id_seq; Type: SEQUENCE SET; Schema: public; Owner: sharix
  139. --
  140. SELECT pg_catalog.setval('public.order_list_log_id_seq', 1, false);
  141. --
  142. -- Name: orders_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
  143. --
  144. SELECT pg_catalog.setval('public.orders_id_seq', 1, false);
  145. --
  146. -- Name: permissions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
  147. --
  148. SELECT pg_catalog.setval('public.permissions_id_seq', 1, true);
  149. --
  150. -- Name: provider_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
  151. --
  152. SELECT pg_catalog.setval('public.provider_id_seq', 1, true);
  153. --
  154. -- Name: relationship_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
  155. --
  156. SELECT pg_catalog.setval('public.relationship_id_seq', 1, true);
  157. --
  158. -- Name: resource_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
  159. --
  160. SELECT pg_catalog.setval('public.resource_id_seq', 1, true);
  161. --
  162. -- Name: service_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
  163. --
  164. SELECT pg_catalog.setval('public.service_id_seq', 1, true);
  165. --
  166. -- Name: servicetype_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
  167. --
  168. SELECT pg_catalog.setval('public.servicetype_id_seq', 1, true);
  169. --
  170. -- Name: tickets_id_seq; Type: SEQUENCE SET; Schema: public; Owner: sharix
  171. --
  172. SELECT pg_catalog.setval('public.tickets_id_seq', 1, false);
  173. --
  174. -- PostgreSQL database dump complete
  175. --