Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

test_permissions.sql 1.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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. COPY luticate_groups (id, name) FROM stdin;
  15. 1 test
  16. 2 test2
  17. \.
  18. --
  19. -- Name: luticate_groups_id_seq; Type: SEQUENCE SET; Schema: public; Owner: dev
  20. --
  21. SELECT pg_catalog.setval('luticate_groups_id_seq', 2, true);
  22. --
  23. -- Data for Name: luticate_permissions; Type: TABLE DATA; Schema: public; Owner: dev
  24. --
  25. COPY luticate_permissions (name, value) FROM stdin;
  26. perm_1 t
  27. perm_2 f
  28. perm_3 t
  29. perm_4 f
  30. perm_5 t
  31. perm_6 f
  32. perm_7 f
  33. perm_8 t
  34. \.
  35. --
  36. -- Data for Name: luticate_permissions_groups; Type: TABLE DATA; Schema: public; Owner: dev
  37. --
  38. COPY luticate_permissions_groups (name, value, group_id) FROM stdin;
  39. perm_3 t 1
  40. perm_4 f 1
  41. perm_5 t 1
  42. perm_5 f 2
  43. perm_6 t 1
  44. perm_6 t 2
  45. perm_7 f 1
  46. \.
  47. --
  48. -- Data for Name: luticate_users; Type: TABLE DATA; Schema: public; Owner: dev
  49. --
  50. COPY luticate_users (id, username, email, password, salt) FROM stdin;
  51. 1 test test@test.test test test
  52. \.
  53. --
  54. -- Data for Name: luticate_permissions_users; Type: TABLE DATA; Schema: public; Owner: dev
  55. --
  56. COPY luticate_permissions_users (name, value, user_id) FROM stdin;
  57. perm_7 t 1
  58. perm_8 f 1
  59. \.
  60. --
  61. -- Data for Name: luticate_users_groups; Type: TABLE DATA; Schema: public; Owner: dev
  62. --
  63. COPY luticate_users_groups (user_id, group_id) FROM stdin;
  64. 1 1
  65. 1 2
  66. \.
  67. --
  68. -- Name: luticate_users_id_seq; Type: SEQUENCE SET; Schema: public; Owner: dev
  69. --
  70. SELECT pg_catalog.setval('luticate_users_id_seq', 1, true);
  71. --
  72. -- PostgreSQL database dump complete
  73. --