Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

data_init.sql 9.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. --
  2. -- PostgreSQL database dump
  3. --
  4. SET statement_timeout = 0;
  5. SET lock_timeout = 0;
  6. SET client_encoding = 'UTF8';
  7. SET standard_conforming_strings = on;
  8. SET check_function_bodies = false;
  9. SET client_min_messages = warning;
  10. SET search_path = public, pg_catalog;
  11. --
  12. -- Data for Name: luticate_groups; Type: TABLE DATA; Schema: public; Owner: dev
  13. --
  14. INSERT INTO luticate_groups VALUES (0, 'Super Administrators');
  15. INSERT INTO luticate_groups VALUES (1, 'Administrators');
  16. --
  17. -- Name: luticate_groups_id_seq; Type: SEQUENCE SET; Schema: public; Owner: dev
  18. --
  19. SELECT pg_catalog.setval('luticate_groups_id_seq', 1, true);
  20. --
  21. -- Data for Name: luticate_permissions; Type: TABLE DATA; Schema: public; Owner: dev
  22. --
  23. INSERT INTO luticate_permissions VALUES ('LU_USER_GET', false);
  24. INSERT INTO luticate_permissions VALUES ('LU_USER_SET_PASSWORD', false);
  25. INSERT INTO luticate_permissions VALUES ('LU_USER_LOGIN', true);
  26. INSERT INTO luticate_permissions VALUES ('LU_USER_EDIT_ME', true);
  27. INSERT INTO luticate_permissions VALUES ('LU_USER_SET_PASSWORD_ME', true);
  28. INSERT INTO luticate_permissions VALUES ('LU_GROUP_ADD', false);
  29. INSERT INTO luticate_permissions VALUES ('LU_GROUP_DEL', false);
  30. INSERT INTO luticate_permissions VALUES ('LU_GROUP_EDIT', false);
  31. INSERT INTO luticate_permissions VALUES ('LU_GROUP_USER_ADD', false);
  32. INSERT INTO luticate_permissions VALUES ('LU_GROUP_USER_DEL', false);
  33. INSERT INTO luticate_permissions VALUES ('LU_PERM_ADD', false);
  34. INSERT INTO luticate_permissions VALUES ('LU_PERM_DEL', false);
  35. INSERT INTO luticate_permissions VALUES ('LU_PERM_EDIT', false);
  36. INSERT INTO luticate_permissions VALUES ('LU_PERM_EFFECTIVE_GET', false);
  37. INSERT INTO luticate_permissions VALUES ('LU_PERM_GET', false);
  38. INSERT INTO luticate_permissions VALUES ('LU_PERM_GROUP_ADD', false);
  39. INSERT INTO luticate_permissions VALUES ('LU_PERM_GROUP_DEL', false);
  40. INSERT INTO luticate_permissions VALUES ('LU_PERM_GROUP_EDIT', false);
  41. INSERT INTO luticate_permissions VALUES ('LU_PERM_GROUP_GET', false);
  42. INSERT INTO luticate_permissions VALUES ('LU_GROUP_GET', false);
  43. INSERT INTO luticate_permissions VALUES ('LU_PERM_USER_ADD', false);
  44. INSERT INTO luticate_permissions VALUES ('LU_PERM_USER_DEL', false);
  45. INSERT INTO luticate_permissions VALUES ('LU_PERM_USER_EDIT', false);
  46. INSERT INTO luticate_permissions VALUES ('LU_USER_EDIT', false);
  47. INSERT INTO luticate_permissions VALUES ('LU_USER_DEL', false);
  48. INSERT INTO luticate_permissions VALUES ('LU_USER_ADD', false);
  49. INSERT INTO luticate_permissions VALUES ('LU_PERM_USER_GET', false);
  50. --
  51. -- Data for Name: luticate_permissions_groups; Type: TABLE DATA; Schema: public; Owner: dev
  52. --
  53. INSERT INTO luticate_permissions_groups VALUES ('LU_GROUP_ADD', true, 0);
  54. INSERT INTO luticate_permissions_groups VALUES ('LU_GROUP_DEL', true, 0);
  55. INSERT INTO luticate_permissions_groups VALUES ('LU_GROUP_EDIT', true, 0);
  56. INSERT INTO luticate_permissions_groups VALUES ('LU_GROUP_GET', true, 0);
  57. INSERT INTO luticate_permissions_groups VALUES ('LU_GROUP_USER_ADD', true, 0);
  58. INSERT INTO luticate_permissions_groups VALUES ('LU_GROUP_USER_DEL', true, 0);
  59. INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_EFFECTIVE_GET', true, 0);
  60. INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_GET', true, 0);
  61. INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_GROUP_ADD', true, 0);
  62. INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_GROUP_DEL', true, 0);
  63. INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_GROUP_EDIT', true, 0);
  64. INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_GROUP_GET', true, 0);
  65. INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_USER_ADD', true, 0);
  66. INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_USER_DEL', true, 0);
  67. INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_USER_EDIT', true, 0);
  68. INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_USER_GET', true, 0);
  69. INSERT INTO luticate_permissions_groups VALUES ('LU_USER_ADD', true, 0);
  70. INSERT INTO luticate_permissions_groups VALUES ('LU_USER_DEL', true, 0);
  71. INSERT INTO luticate_permissions_groups VALUES ('LU_USER_EDIT', true, 0);
  72. INSERT INTO luticate_permissions_groups VALUES ('LU_USER_EDIT_ME', true, 0);
  73. INSERT INTO luticate_permissions_groups VALUES ('LU_USER_GET', true, 0);
  74. INSERT INTO luticate_permissions_groups VALUES ('LU_USER_LOGIN', true, 0);
  75. INSERT INTO luticate_permissions_groups VALUES ('LU_USER_SET_PASSWORD', true, 0);
  76. INSERT INTO luticate_permissions_groups VALUES ('LU_USER_SET_PASSWORD_ME', true, 0);
  77. INSERT INTO luticate_permissions_groups VALUES ('LU_GROUP_ADD', true, 1);
  78. INSERT INTO luticate_permissions_groups VALUES ('LU_GROUP_DEL', true, 1);
  79. INSERT INTO luticate_permissions_groups VALUES ('LU_GROUP_EDIT', true, 1);
  80. INSERT INTO luticate_permissions_groups VALUES ('LU_GROUP_GET', true, 1);
  81. INSERT INTO luticate_permissions_groups VALUES ('LU_GROUP_USER_ADD', true, 1);
  82. INSERT INTO luticate_permissions_groups VALUES ('LU_GROUP_USER_DEL', true, 1);
  83. INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_EFFECTIVE_GET', true, 1);
  84. INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_GET', true, 1);
  85. INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_GROUP_ADD', true, 1);
  86. INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_GROUP_DEL', true, 1);
  87. INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_GROUP_EDIT', true, 1);
  88. INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_GROUP_GET', true, 1);
  89. INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_USER_ADD', true, 1);
  90. INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_USER_DEL', true, 1);
  91. INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_USER_EDIT', true, 1);
  92. INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_USER_GET', true, 1);
  93. INSERT INTO luticate_permissions_groups VALUES ('LU_USER_ADD', true, 1);
  94. INSERT INTO luticate_permissions_groups VALUES ('LU_USER_DEL', true, 1);
  95. INSERT INTO luticate_permissions_groups VALUES ('LU_USER_EDIT', true, 1);
  96. INSERT INTO luticate_permissions_groups VALUES ('LU_USER_EDIT_ME', true, 1);
  97. INSERT INTO luticate_permissions_groups VALUES ('LU_USER_GET', true, 1);
  98. INSERT INTO luticate_permissions_groups VALUES ('LU_USER_LOGIN', true, 1);
  99. INSERT INTO luticate_permissions_groups VALUES ('LU_USER_SET_PASSWORD', true, 1);
  100. INSERT INTO luticate_permissions_groups VALUES ('LU_USER_SET_PASSWORD_ME', true, 1);
  101. INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_EDIT', true, 0);
  102. INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_DEL', true, 0);
  103. INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_ADD', true, 0);
  104. INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_ADD', false, 1);
  105. INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_EDIT', false, 1);
  106. INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_DEL', false, 1);
  107. --
  108. -- Data for Name: luticate_users; Type: TABLE DATA; Schema: public; Owner: dev
  109. --
  110. INSERT INTO luticate_users VALUES (0, 'anonymous', 'anonymous@example.com', '', '', NULL, 'anonymous', 'anonymous');
  111. INSERT INTO luticate_users VALUES (1, 'root', 'root@example.com', '$2y$10$ec8HHsBm1hFoiCtyj51Gwuj42PZ2oUp5BOnYq5/oh.FNAHIkgSGYO', 'LNzBBugvD6', NULL, 'root', 'root');
  112. --
  113. -- Data for Name: luticate_permissions_users; Type: TABLE DATA; Schema: public; Owner: dev
  114. --
  115. INSERT INTO luticate_permissions_users VALUES ('LU_GROUP_ADD', false, 0);
  116. INSERT INTO luticate_permissions_users VALUES ('LU_GROUP_DEL', false, 0);
  117. INSERT INTO luticate_permissions_users VALUES ('LU_GROUP_EDIT', false, 0);
  118. INSERT INTO luticate_permissions_users VALUES ('LU_GROUP_GET', false, 0);
  119. INSERT INTO luticate_permissions_users VALUES ('LU_GROUP_USER_ADD', false, 0);
  120. INSERT INTO luticate_permissions_users VALUES ('LU_GROUP_USER_DEL', false, 0);
  121. INSERT INTO luticate_permissions_users VALUES ('LU_PERM_ADD', false, 0);
  122. INSERT INTO luticate_permissions_users VALUES ('LU_PERM_DEL', false, 0);
  123. INSERT INTO luticate_permissions_users VALUES ('LU_PERM_EDIT', false, 0);
  124. INSERT INTO luticate_permissions_users VALUES ('LU_PERM_EFFECTIVE_GET', false, 0);
  125. INSERT INTO luticate_permissions_users VALUES ('LU_PERM_GET', false, 0);
  126. INSERT INTO luticate_permissions_users VALUES ('LU_PERM_GROUP_ADD', false, 0);
  127. INSERT INTO luticate_permissions_users VALUES ('LU_PERM_GROUP_DEL', false, 0);
  128. INSERT INTO luticate_permissions_users VALUES ('LU_PERM_GROUP_EDIT', false, 0);
  129. INSERT INTO luticate_permissions_users VALUES ('LU_PERM_GROUP_GET', false, 0);
  130. INSERT INTO luticate_permissions_users VALUES ('LU_PERM_USER_ADD', false, 0);
  131. INSERT INTO luticate_permissions_users VALUES ('LU_PERM_USER_DEL', false, 0);
  132. INSERT INTO luticate_permissions_users VALUES ('LU_PERM_USER_EDIT', false, 0);
  133. INSERT INTO luticate_permissions_users VALUES ('LU_PERM_USER_GET', false, 0);
  134. INSERT INTO luticate_permissions_users VALUES ('LU_USER_ADD', false, 0);
  135. INSERT INTO luticate_permissions_users VALUES ('LU_USER_DEL', false, 0);
  136. INSERT INTO luticate_permissions_users VALUES ('LU_USER_EDIT', false, 0);
  137. INSERT INTO luticate_permissions_users VALUES ('LU_USER_EDIT_ME', false, 0);
  138. INSERT INTO luticate_permissions_users VALUES ('LU_USER_GET', false, 0);
  139. INSERT INTO luticate_permissions_users VALUES ('LU_USER_SET_PASSWORD', false, 0);
  140. INSERT INTO luticate_permissions_users VALUES ('LU_USER_SET_PASSWORD_ME', false, 0);
  141. INSERT INTO luticate_permissions_users VALUES ('LU_USER_LOGIN', true, 0);
  142. --
  143. -- Data for Name: luticate_users_groups; Type: TABLE DATA; Schema: public; Owner: dev
  144. --
  145. INSERT INTO luticate_users_groups VALUES (1, 0);
  146. --
  147. -- Name: luticate_users_id_seq; Type: SEQUENCE SET; Schema: public; Owner: dev
  148. --
  149. SELECT pg_catalog.setval('luticate_users_id_seq', 1, true);
  150. --
  151. -- PostgreSQL database dump complete
  152. --