sharix_open_testdata 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233
  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: client; Type: TABLE DATA; Schema: public; Owner: sharix
  18. --
  19. COPY public.client (id, userid, requirements, status, ticket_status, id_metaservice, is_visible, is_global) FROM stdin;
  20. \.
  21. --
  22. -- Data for Name: company; Type: TABLE DATA; Schema: public; Owner: sharix
  23. --
  24. COPY public.company (id, legalname, representative, inn, kpp, ogrn, bank_name, bik, ks, rs, address, requirements, status, ticket_status, id_metaservice, is_visible, is_global) FROM stdin;
  25. \.
  26. --
  27. -- Data for Name: current_orders; Type: TABLE DATA; Schema: public; Owner: sharix
  28. --
  29. COPY public.current_orders (id, service_id, service_type_id, state, id_metaservice, time_placed, time_start, time_finish_predicted, time_finish_real, provider, receiver, client, predicted_price, real_price, is_visible, is_global) FROM stdin;
  30. \.
  31. --
  32. -- Data for Name: current_timetable; Type: TABLE DATA; Schema: public; Owner: sharix
  33. --
  34. COPY public.current_timetable (id, order_id, service_type_id, provider_id, resource_id, time_start_predicted, time_finished_predicted, gap) FROM stdin;
  35. \.
  36. --
  37. -- Data for Name: documents; Type: TABLE DATA; Schema: public; Owner: sharix
  38. --
  39. COPY public.documents (id, id_metaservice, doctype, datalink, userid, company_id, is_visible, is_global, check_level, checked_by, check_date, status, ticket_status) FROM stdin;
  40. \.
  41. --
  42. -- Data for Name: order_list_log; Type: TABLE DATA; Schema: public; Owner: sharix
  43. --
  44. 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;
  45. \.
  46. --
  47. -- Data for Name: orders; Type: TABLE DATA; Schema: public; Owner: drive
  48. --
  49. COPY public.orders (id, car, model, color, rate, customer, organization, start, final, adress) FROM stdin;
  50. \.
  51. --
  52. -- Data for Name: permissions; Type: TABLE DATA; Schema: public; Owner: sharix
  53. --
  54. COPY public.permissions (id, id_metaservice, id_permission, user_id, is_visible, is_global, check_level, checked_by, check_date, status, ticket_status) FROM stdin;
  55. \.
  56. --
  57. -- Data for Name: provider; Type: TABLE DATA; Schema: public; Owner: sharix
  58. --
  59. COPY public.provider (id, type, company, userid, id_metaservice, requirements, status, ticket_status, is_visible, is_global, location_type, default_location) FROM stdin;
  60. \.
  61. --
  62. -- Data for Name: relationship; Type: TABLE DATA; Schema: public; Owner: sharix
  63. --
  64. COPY public.relationship (id, user_id_who, user_id_whom, neg_type, id_metaservice, is_visible, requirements, status, ticket_status, is_global) FROM stdin;
  65. \.
  66. --
  67. -- Data for Name: resources; Type: TABLE DATA; Schema: public; Owner: sharix
  68. --
  69. COPY public.resources (id, type_id, user_id, requirements, status, ticket_status, id_metaservice, is_visible, is_global) FROM stdin;
  70. \.
  71. --
  72. -- Data for Name: service; Type: TABLE DATA; Schema: public; Owner: sharix
  73. --
  74. COPY public.service (id, servicetype_id, id_provider, resource_id, requirements, id_metaservice, price_alg, price_km, price_min, price_amount, service_status, status, ticket_status, is_visible, is_global) FROM stdin;
  75. \.
  76. --
  77. -- Data for Name: servicetype; Type: TABLE DATA; Schema: public; Owner: sharix
  78. --
  79. COPY public.servicetype (id, codename, caption, description, requirements, pricetype, status, ticket_status, id_metaservice, is_visible, is_global) FROM stdin;
  80. \.
  81. --
  82. -- Data for Name: tickets; Type: TABLE DATA; Schema: public; Owner: sharix
  83. --
  84. COPY public.tickets (id, id_reporter, id_asignee, time_created, time_assigned, time_changed, time_closed, status, description) FROM stdin;
  85. \.
  86. --
  87. -- Data for Name: users; Type: TABLE DATA; Schema: public; Owner: drive
  88. --
  89. COPY public.users (id, name, access, login, password) FROM stdin;
  90. \.
  91. --
  92. -- Name: client_id_seq; Type: SEQUENCE SET; Schema: public; Owner: sharix
  93. --
  94. SELECT pg_catalog.setval('public.client_id_seq', 1, false);
  95. --
  96. -- Name: company_id_seq; Type: SEQUENCE SET; Schema: public; Owner: sharix
  97. --
  98. SELECT pg_catalog.setval('public.company_id_seq', 1, false);
  99. --
  100. -- Name: current_orders_id_seq; Type: SEQUENCE SET; Schema: public; Owner: sharix
  101. --
  102. SELECT pg_catalog.setval('public.current_orders_id_seq', 1, false);
  103. --
  104. -- Name: current_timetable_id_seq; Type: SEQUENCE SET; Schema: public; Owner: sharix
  105. --
  106. SELECT pg_catalog.setval('public.current_timetable_id_seq', 1, false);
  107. --
  108. -- Name: documents_id_seq; Type: SEQUENCE SET; Schema: public; Owner: sharix
  109. --
  110. SELECT pg_catalog.setval('public.documents_id_seq', 1, false);
  111. --
  112. -- Name: order_list_log_id_seq; Type: SEQUENCE SET; Schema: public; Owner: sharix
  113. --
  114. SELECT pg_catalog.setval('public.order_list_log_id_seq', 1, false);
  115. --
  116. -- Name: permissions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: sharix
  117. --
  118. SELECT pg_catalog.setval('public.permissions_id_seq', 1, false);
  119. --
  120. -- Name: provider_id_seq; Type: SEQUENCE SET; Schema: public; Owner: sharix
  121. --
  122. SELECT pg_catalog.setval('public.provider_id_seq', 1, false);
  123. --
  124. -- Name: relationship_id_seq; Type: SEQUENCE SET; Schema: public; Owner: sharix
  125. --
  126. SELECT pg_catalog.setval('public.relationship_id_seq', 1, false);
  127. --
  128. -- Name: resources_id_seq; Type: SEQUENCE SET; Schema: public; Owner: sharix
  129. --
  130. SELECT pg_catalog.setval('public.resources_id_seq', 1, false);
  131. --
  132. -- Name: service_id_seq; Type: SEQUENCE SET; Schema: public; Owner: sharix
  133. --
  134. SELECT pg_catalog.setval('public.service_id_seq', 1, false);
  135. --
  136. -- Name: servicetype_id_seq; Type: SEQUENCE SET; Schema: public; Owner: sharix
  137. --
  138. SELECT pg_catalog.setval('public.servicetype_id_seq', 1, false);
  139. --
  140. -- Name: tickets_id_seq; Type: SEQUENCE SET; Schema: public; Owner: sharix
  141. --
  142. SELECT pg_catalog.setval('public.tickets_id_seq', 1, false);
  143. --
  144. -- PostgreSQL database dump complete
  145. --