]> wagnertech.de Git - mfinanz.git/blob - Test/etc/auth_3.9.2.dump
date error in mapping
[mfinanz.git] / Test / etc / auth_3.9.2.dump
1 --
2 -- PostgreSQL database dump
3 --
4
5 \restrict 7ORcvckz8vcHkck0VJfFbdyNwzkfePflTJHwaai2zf5AmjJ4Kqo25TYwtJcNjsN
6
7 -- Dumped from database version 13.23 (Debian 13.23-0+deb11u3)
8 -- Dumped by pg_dump version 13.23 (Debian 13.23-0+deb11u3)
9
10 SET statement_timeout = 0;
11 SET lock_timeout = 0;
12 SET idle_in_transaction_session_timeout = 0;
13 SET client_encoding = 'UTF8';
14 SET standard_conforming_strings = on;
15 SELECT pg_catalog.set_config('search_path', '', false);
16 SET check_function_bodies = false;
17 SET xmloption = content;
18 SET client_min_messages = warning;
19 SET row_security = off;
20
21 --
22 -- Name: auth; Type: SCHEMA; Schema: -; Owner: kivitendo
23 --
24
25 CREATE SCHEMA auth;
26
27
28 ALTER SCHEMA auth OWNER TO kivitendo;
29
30 SET default_tablespace = '';
31
32 SET default_table_access_method = heap;
33
34 --
35 -- Name: clients; Type: TABLE; Schema: auth; Owner: kivitendo
36 --
37
38 CREATE TABLE auth.clients (
39     id integer NOT NULL,
40     name text NOT NULL,
41     dbhost text NOT NULL,
42     dbport integer DEFAULT 5432 NOT NULL,
43     dbname text NOT NULL,
44     dbuser text NOT NULL,
45     dbpasswd text NOT NULL,
46     is_default boolean DEFAULT false NOT NULL,
47     task_server_user_id integer
48 );
49
50
51 ALTER TABLE auth.clients OWNER TO kivitendo;
52
53 --
54 -- Name: clients_groups; Type: TABLE; Schema: auth; Owner: kivitendo
55 --
56
57 CREATE TABLE auth.clients_groups (
58     client_id integer NOT NULL,
59     group_id integer NOT NULL
60 );
61
62
63 ALTER TABLE auth.clients_groups OWNER TO kivitendo;
64
65 --
66 -- Name: clients_id_seq; Type: SEQUENCE; Schema: auth; Owner: kivitendo
67 --
68
69 CREATE SEQUENCE auth.clients_id_seq
70     START WITH 1
71     INCREMENT BY 1
72     NO MINVALUE
73     NO MAXVALUE
74     CACHE 1;
75
76
77 ALTER TABLE auth.clients_id_seq OWNER TO kivitendo;
78
79 --
80 -- Name: clients_id_seq; Type: SEQUENCE OWNED BY; Schema: auth; Owner: kivitendo
81 --
82
83 ALTER SEQUENCE auth.clients_id_seq OWNED BY auth.clients.id;
84
85
86 --
87 -- Name: clients_users; Type: TABLE; Schema: auth; Owner: kivitendo
88 --
89
90 CREATE TABLE auth.clients_users (
91     client_id integer NOT NULL,
92     user_id integer NOT NULL
93 );
94
95
96 ALTER TABLE auth.clients_users OWNER TO kivitendo;
97
98 --
99 -- Name: group_id_seq; Type: SEQUENCE; Schema: auth; Owner: kivitendo
100 --
101
102 CREATE SEQUENCE auth.group_id_seq
103     START WITH 1
104     INCREMENT BY 1
105     NO MINVALUE
106     NO MAXVALUE
107     CACHE 1;
108
109
110 ALTER TABLE auth.group_id_seq OWNER TO kivitendo;
111
112 --
113 -- Name: group; Type: TABLE; Schema: auth; Owner: kivitendo
114 --
115
116 CREATE TABLE auth."group" (
117     id integer DEFAULT nextval('auth.group_id_seq'::regclass) NOT NULL,
118     name text NOT NULL,
119     description text
120 );
121
122
123 ALTER TABLE auth."group" OWNER TO kivitendo;
124
125 --
126 -- Name: group_rights; Type: TABLE; Schema: auth; Owner: kivitendo
127 --
128
129 CREATE TABLE auth.group_rights (
130     group_id integer NOT NULL,
131     "right" text NOT NULL,
132     granted boolean NOT NULL
133 );
134
135
136 ALTER TABLE auth.group_rights OWNER TO kivitendo;
137
138 --
139 -- Name: master_rights; Type: TABLE; Schema: auth; Owner: kivitendo
140 --
141
142 CREATE TABLE auth.master_rights (
143     id integer NOT NULL,
144     "position" integer NOT NULL,
145     name text NOT NULL,
146     description text NOT NULL,
147     category boolean DEFAULT false NOT NULL
148 );
149
150
151 ALTER TABLE auth.master_rights OWNER TO kivitendo;
152
153 --
154 -- Name: master_rights_id_seq; Type: SEQUENCE; Schema: auth; Owner: kivitendo
155 --
156
157 CREATE SEQUENCE auth.master_rights_id_seq
158     START WITH 1
159     INCREMENT BY 1
160     NO MINVALUE
161     NO MAXVALUE
162     CACHE 1;
163
164
165 ALTER TABLE auth.master_rights_id_seq OWNER TO kivitendo;
166
167 --
168 -- Name: master_rights_id_seq; Type: SEQUENCE OWNED BY; Schema: auth; Owner: kivitendo
169 --
170
171 ALTER SEQUENCE auth.master_rights_id_seq OWNED BY auth.master_rights.id;
172
173
174 --
175 -- Name: schema_info; Type: TABLE; Schema: auth; Owner: kivitendo
176 --
177
178 CREATE TABLE auth.schema_info (
179     tag text NOT NULL,
180     login text,
181     itime timestamp without time zone DEFAULT now()
182 );
183
184
185 ALTER TABLE auth.schema_info OWNER TO kivitendo;
186
187 --
188 -- Name: session; Type: TABLE; Schema: auth; Owner: kivitendo
189 --
190
191 CREATE TABLE auth.session (
192     id text NOT NULL,
193     ip_address inet,
194     mtime timestamp without time zone,
195     api_token text
196 );
197
198
199 ALTER TABLE auth.session OWNER TO kivitendo;
200
201 --
202 -- Name: session_content; Type: TABLE; Schema: auth; Owner: kivitendo
203 --
204
205 CREATE TABLE auth.session_content (
206     session_id text NOT NULL,
207     sess_key text NOT NULL,
208     sess_value text,
209     auto_restore boolean
210 );
211
212
213 ALTER TABLE auth.session_content OWNER TO kivitendo;
214
215 --
216 -- Name: user_id_seq; Type: SEQUENCE; Schema: auth; Owner: kivitendo
217 --
218
219 CREATE SEQUENCE auth.user_id_seq
220     START WITH 1
221     INCREMENT BY 1
222     NO MINVALUE
223     NO MAXVALUE
224     CACHE 1;
225
226
227 ALTER TABLE auth.user_id_seq OWNER TO kivitendo;
228
229 --
230 -- Name: user; Type: TABLE; Schema: auth; Owner: kivitendo
231 --
232
233 CREATE TABLE auth."user" (
234     id integer DEFAULT nextval('auth.user_id_seq'::regclass) NOT NULL,
235     login text NOT NULL,
236     password text
237 );
238
239
240 ALTER TABLE auth."user" OWNER TO kivitendo;
241
242 --
243 -- Name: user_config; Type: TABLE; Schema: auth; Owner: kivitendo
244 --
245
246 CREATE TABLE auth.user_config (
247     user_id integer NOT NULL,
248     cfg_key text NOT NULL,
249     cfg_value text
250 );
251
252
253 ALTER TABLE auth.user_config OWNER TO kivitendo;
254
255 --
256 -- Name: user_group; Type: TABLE; Schema: auth; Owner: kivitendo
257 --
258
259 CREATE TABLE auth.user_group (
260     user_id integer NOT NULL,
261     group_id integer NOT NULL
262 );
263
264
265 ALTER TABLE auth.user_group OWNER TO kivitendo;
266
267 --
268 -- Name: clients id; Type: DEFAULT; Schema: auth; Owner: kivitendo
269 --
270
271 ALTER TABLE ONLY auth.clients ALTER COLUMN id SET DEFAULT nextval('auth.clients_id_seq'::regclass);
272
273
274 --
275 -- Name: master_rights id; Type: DEFAULT; Schema: auth; Owner: kivitendo
276 --
277
278 ALTER TABLE ONLY auth.master_rights ALTER COLUMN id SET DEFAULT nextval('auth.master_rights_id_seq'::regclass);
279
280
281 --
282 -- Data for Name: clients; Type: TABLE DATA; Schema: auth; Owner: kivitendo
283 --
284
285 COPY auth.clients (id, name, dbhost, dbport, dbname, dbuser, dbpasswd, is_default, task_server_user_id) FROM stdin;
286 1       firma   localhost       5432    firma   kivitendo       kivitendo       t       \N
287 \.
288
289
290 --
291 -- Data for Name: clients_groups; Type: TABLE DATA; Schema: auth; Owner: kivitendo
292 --
293
294 COPY auth.clients_groups (client_id, group_id) FROM stdin;
295 1       1
296 \.
297
298
299 --
300 -- Data for Name: clients_users; Type: TABLE DATA; Schema: auth; Owner: kivitendo
301 --
302
303 COPY auth.clients_users (client_id, user_id) FROM stdin;
304 1       1
305 \.
306
307
308 --
309 -- Data for Name: group; Type: TABLE DATA; Schema: auth; Owner: kivitendo
310 --
311
312 COPY auth."group" (id, name, description) FROM stdin;
313 1       Vollzugriff     Vollzugriff
314 \.
315
316
317 --
318 -- Data for Name: group_rights; Type: TABLE DATA; Schema: auth; Owner: kivitendo
319 --
320
321 COPY auth.group_rights (group_id, "right", granted) FROM stdin;
322 1       customer_vendor_edit    t
323 1       customer_vendor_all_edit        t
324 1       part_service_assembly_edit      t
325 1       part_service_assembly_details   t
326 1       shop_part_edit  t
327 1       assembly_edit   t
328 1       project_edit    t
329 1       project_edit_view_invoices_permission   t
330 1       show_extra_record_tab_customer  t
331 1       show_extra_record_tab_vendor    t
332 1       requirement_spec_edit   t
333 1       sales_quotation_edit    t
334 1       shop_order      t
335 1       sales_order_edit        t
336 1       sales_delivery_order_edit       t
337 1       invoice_edit    t
338 1       dunning_edit    t
339 1       sales_letter_edit       t
340 1       sales_all_edit  t
341 1       sales_edit_prices       t
342 1       show_ar_transactions    t
343 1       delivery_plan   t
344 1       delivery_value_report   t
345 1       sales_letter_report     t
346 1       import_ar       t
347 1       request_quotation_edit  t
348 1       purchase_order_edit     t
349 1       purchase_delivery_order_edit    t
350 1       vendor_invoice_edit     t
351 1       purchase_letter_edit    t
352 1       purchase_all_edit       t
353 1       purchase_edit_prices    t
354 1       show_ap_transactions    t
355 1       purchase_letter_report  t
356 1       import_ap       t
357 1       warehouse_contents      t
358 1       warehouse_management    t
359 1       general_ledger  t
360 1       gl_transactions t
361 1       ar_transactions t
362 1       ap_transactions t
363 1       datev_export    t
364 1       cash    t
365 1       bank_transaction        t
366 1       report  t
367 1       advance_turnover_tax_return     t
368 1       batch_printing  f
369 1       config  t
370 1       admin   t
371 1       edit_shop_config        t
372 1       custom_data_export_designer     t
373 1       email_bcc       f
374 1       email_journal   f
375 1       email_employee_readall  f
376 1       productivity    f
377 1       display_admin_link      f
378 1       record_links    f
379 1       all_drafts_edit f
380 1       time_recording  t
381 1       time_recording_show_all t
382 1       time_recording_edit_all t
383 1       assortment_edit t
384 1       request_quotation_view  t
385 1       sales_invoice_view      t
386 1       purchase_invoice_view   t
387 1       sales_delivery_order_view       t
388 1       purchase_delivery_order_view    t
389 1       sales_quotation_view    t
390 1       purchase_order_view     t
391 1       sales_order_view        t
392 1       sales_reclamation_edit  t
393 1       purchase_reclamation_edit       t
394 1       custom_data_report      t
395 1       sales_financial_controlling     t
396 1       part_service_assembly_edit_prices       t
397 1       sales_order_item_search t
398 1       sales_report    t
399 1       sales_order_reports_amounts     t
400 1       purchase_order_reports_amounts  t
401 1       customer_report_view    t
402 1       vendor_report_view      t
403 1       contact_person_report_view      t
404 \.
405
406
407 --
408 -- Data for Name: master_rights; Type: TABLE DATA; Schema: auth; Owner: kivitendo
409 --
410
411 COPY auth.master_rights (id, "position", name, description, category) FROM stdin;
412 1       100     master_data     Master Data     t
413 2       200     customer_vendor_edit    Create customers and vendors. Edit all vendors. Edit only customers where salesman equals employee (login)      f
414 3       300     customer_vendor_all_edit        Create customers and vendors. Edit all vendors. Edit all customers      f
415 4       400     part_service_assembly_edit      Create and edit parts, services, assemblies     f
416 5       500     part_service_assembly_details   Show details and reports of parts, services, assemblies f
417 6       600     project_edit    Create and edit projects        f
418 7       700     ar      AR      t
419 8       800     requirement_spec_edit   Create and edit requirement specs       f
420 9       900     sales_quotation_edit    Create and edit sales quotations        f
421 10      1000    sales_order_edit        Create and edit sales orders    f
422 11      1100    sales_delivery_order_edit       Create and edit sales delivery orders   f
423 12      1200    invoice_edit    Create and edit invoices and credit notes       f
424 13      1300    dunning_edit    Create and edit dunnings        f
425 14      1400    sales_letter_edit       Edit sales letters      f
426 15      1500    sales_all_edit  View/edit all employees sales documents f
427 17      1700    show_ar_transactions    Show AR transactions as part of AR invoice report       f
428 18      1800    delivery_plan   Show delivery plan      f
429 19      1900    delivery_value_report   Show delivery value report      f
430 20      2000    sales_letter_report     Show sales letters report       f
431 21      2100    ap      AP      t
432 22      2200    request_quotation_edit  Create and edit RFQs    f
433 23      2300    purchase_order_edit     Create and edit purchase orders f
434 24      2400    purchase_delivery_order_edit    Create and edit purchase delivery orders        f
435 25      2500    vendor_invoice_edit     Create and edit vendor invoices f
436 26      2600    show_ap_transactions    Show AP transactions as part of AP invoice report       f
437 27      2700    warehouse       Warehouse management    t
438 28      2800    warehouse_contents      View warehouse content  f
439 29      2900    warehouse_management    Warehouse management    f
440 30      3000    general_ledger_cash     General ledger and cash t
441 32      3200    datev_export    DATEV Export    f
442 33      3300    cash    Receipt, payment, reconciliation        f
443 34      3400    bank_transaction        Bank transactions       f
444 35      3500    reports Reports t
445 36      3600    report  All reports     f
446 37      3700    advance_turnover_tax_return     Advance turnover tax return     f
447 38      3800    batch_printing_category Batch Printing  t
448 39      3900    batch_printing  Batch Printing  f
449 31      3100    general_ledger  AP/AR Aging & Journal   f
450 16      1600    sales_edit_prices       Edit prices and discount (if not used, textfield is ONLY set readonly)  f
451 50      2050    import_ar       Import AR from Scanner or Email f
452 52      2550    purchase_letter_edit    Edit purchase letters   f
453 53      2650    purchase_letter_report  Show purchase letters report    f
454 55      3130    gl_transactions General Ledger Transaction      f
455 56      3150    ar_transactions AR Transactions f
456 57      3170    ap_transactions AP Transactions f
457 51      2680    import_ap       Import AP from Scanner or Email f
458 58      550     assembly_edit   Always edit assembly items (user can change/delete items even if assemblies are already produced)       f
459 61      950     shop_order      Get shoporders  f
460 63      610     show_extra_record_tab_customer  Show record tab in customer     f
461 64      611     show_extra_record_tab_vendor    Show record tab in vendor       f
462 65      602     project_edit_view_invoices_permission   Projects: edit the list of employees allowed to view invoices   f
463 66      2560    purchase_all_edit       View/edit all employees purchase documents      f
464 67      2570    purchase_edit_prices    Edit prices and discount (if not used, textfield is ONLY set readonly)  f
465 40      5000    configuration   Configuration   t
466 41      5100    config  Change kivitendo installation settings (most entries in the 'System' menu)      f
467 42      5200    admin   Client administration: configuration, editing templates, task server control, background jobs (remaining entries in the 'System' menu)  f
468 43      5300    others  Others  t
469 44      5400    email_bcc       May set the BCC field when sending emails       f
470 69      4300    time_recording  Create, edit and list time recordings   f
471 46      5600    display_admin_link      Show administration link        f
472 47      6000    all_drafts_edit Edit all drafts f
473 70      4320    time_recording_show_all List time recordings of all staff members       f
474 71      4340    time_recording_edit_all Edit time recordings of all staff members       f
475 54      5750    record_links    Linked Records  f
476 59      5275    custom_data_export_designer     Custom data export      f
477 62      5250    edit_shop_config        Create and edit webshops        f
478 68      4000    productivity_category   Productivity    t
479 45      4100    productivity    Productivity (TODO list, Follow-Ups)    f
480 48      4200    email_journal   E-Mail-Journal  f
481 49      4250    email_employee_readall  Read all employee e-mails       f
482 60      580     shop_part_edit  Create and edit shopparts       f
483 72      5220    developer       See various menu entries intended for developers        f
484 73      560     assortment_edit Always edit assortment items (user can change/delete items even if assortments are already used)        f
485 74      910     sales_quotation_view    View sales quotations   f
486 75      1010    sales_order_view        View sales orders       f
487 76      1110    sales_delivery_order_view       View sales delivery orders      f
488 77      1210    sales_invoice_view      View sales invoices and credit notes    f
489 78      2210    request_quotation_view  View RFQs       f
490 79      2310    purchase_order_view     View purchase orders    f
491 80      2410    purchase_delivery_order_view    View purchase delivery orders   f
492 81      2510    purchase_invoice_view   View purchase invoices  f
493 82      1150    sales_reclamation_edit  Create and edit sales reclamation       f
494 83      2450    purchase_reclamation_edit       Create and edit purchase reclamation    f
495 84      3720    custom_data_report      May use Custom Data Report at all       f
496 85      1760    sales_financial_controlling     Show sales financial controlling        f
497 86      410     part_service_assembly_edit_prices       Edit prices for parts, services, assemblies     f
498 87      1750    sales_order_item_search Show sales order item search    f
499 88      1770    sales_report    Show sales report       f
500 89      1015    sales_order_reports_amounts     Show sales order reports with amounts (and links to open documents)     f
501 90      2315    purchase_order_reports_amounts  Show purchase order reports with amounts (and links to open documents)  f
502 91      310     customer_report_view    View customer report    f
503 92      320     vendor_report_view      View vendor report      f
504 93      330     contact_person_report_view      View contact person report      f
505 \.
506
507
508 --
509 -- Data for Name: schema_info; Type: TABLE DATA; Schema: auth; Owner: kivitendo
510 --
511
512 COPY auth.schema_info (tag, login, itime) FROM stdin;
513 add_api_token   admin   2018-11-30 19:52:50.606337
514 add_batch_printing_to_full_access       admin   2018-11-30 19:52:50.612204
515 auth_schema_normalization_1     admin   2018-11-30 19:52:50.679835
516 password_hashing        admin   2018-11-30 19:52:50.757564
517 remove_menustyle_v4     admin   2018-11-30 19:52:50.787919
518 remove_menustyle_xml    admin   2018-11-30 19:52:50.79445
519 session_content_auto_restore    admin   2018-11-30 19:52:50.799888
520 release_3_0_0   admin   2018-11-30 19:52:50.831311
521 clients admin   2018-11-30 19:52:50.877394
522 clients_webdav  admin   2018-11-30 19:52:50.98643
523 foreign_key_constraints_on_delete       admin   2018-11-30 19:52:50.993769
524 release_3_2_0   admin   2018-11-30 19:52:51.066536
525 add_master_rights       admin   2018-11-30 19:52:51.076355
526 bank_transaction_rights admin   2018-11-30 19:52:51.158372
527 delivery_plan_rights    admin   2018-11-30 19:52:51.184635
528 delivery_process_value  admin   2018-11-30 19:52:51.192706
529 details_and_report_of_parts     admin   2018-11-30 19:52:51.221993
530 productivity_rights     admin   2018-11-30 19:52:51.232101
531 requirement_spec_rights admin   2018-11-30 19:52:51.255307
532 rights_for_showing_ar_and_ap_transactions       admin   2018-11-30 19:52:51.262267
533 sales_letter_rights     admin   2018-11-30 19:52:51.2917
534 release_3_3_0   admin   2018-11-30 19:52:51.296489
535 client_task_server      admin   2018-11-30 19:52:51.304536
536 remove_insecurely_hashed_passwords      admin   2018-11-30 19:52:51.33197
537 session_content_primary_key     admin   2018-11-30 19:52:51.339007
538 release_3_4_0   admin   2018-11-30 19:52:51.368148
539 master_rights_position_gaps     admin   2021-01-16 23:27:44.749094
540 all_drafts_edit admin   2021-01-16 23:27:44.847437
541 mail_journal_rights     admin   2021-01-16 23:27:44.899515
542 other_file_sources      admin   2021-01-16 23:27:44.931875
543 purchase_letter_rights  admin   2021-01-16 23:27:44.946762
544 record_links_rights     admin   2021-01-16 23:27:44.964905
545 split_transaction_rights        admin   2021-01-16 23:27:44.984987
546 other_file_sources2     admin   2021-01-16 23:27:45.030195
547 rename_general_ledger_rights    admin   2021-01-16 23:27:45.043693
548 release_3_5_0   admin   2021-01-16 23:27:45.066912
549 assembly_edit_right     admin   2021-01-16 23:27:45.095898
550 custom_data_export_rights       admin   2021-01-16 23:27:45.120899
551 webshop_api_rights      admin   2021-01-16 23:27:45.140731
552 webshop_api_rights_2    admin   2021-01-16 23:27:45.167397
553 release_3_5_1   admin   2021-01-16 23:27:45.175067
554 release_3_5_2   admin   2021-01-16 23:27:45.183556
555 customer_vendor_record_extra_tab_rights admin   2021-01-16 23:27:45.189809
556 release_3_5_3   admin   2021-01-16 23:27:45.19872
557 rights_for_viewing_project_specific_invoices    admin   2021-01-16 23:27:45.210894
558 release_3_5_4   admin   2021-01-16 23:27:45.21948
559 right_purchase_all_edit admin   2021-01-16 23:27:45.227773
560 rights_sales_purchase_edit_prices       admin   2021-01-16 23:27:45.256678
561 master_rights_positions_fix     admin   2021-01-16 23:27:45.267954
562 release_3_5_5   admin   2021-01-16 23:27:45.285413
563 release_3_5_6   admin   2021-01-16 23:27:45.313788
564 release_3_5_6_1 admin   2021-01-16 23:27:45.326867
565 right_productivity_as_category  admin   2023-12-16 23:40:01.312572
566 right_time_recording    admin   2023-12-16 23:40:01.391342
567 rights_time_recording_show_edit_all     admin   2023-12-16 23:40:01.402884
568 release_3_5_7   admin   2023-12-16 23:40:01.417409
569 move_shop_part_edit_right       admin   2023-12-16 23:40:01.422614
570 right_develop   admin   2023-12-16 23:40:01.429334
571 right_assortment_edit   admin   2023-12-16 23:40:01.43762
572 release_3_5_8   admin   2023-12-16 23:40:01.445316
573 convert_columns_to_html_for_sending_html_emails admin   2023-12-16 23:40:01.453269
574 release_3_6_0   admin   2023-12-16 23:40:01.460452
575 rights_view_docs        admin   2023-12-16 23:40:01.466624
576 release_3_6_1   admin   2023-12-16 23:40:01.504979
577 rights_for_reclamation  admin   2026-04-24 23:21:20.921849
578 release_3_7_0   admin   2026-04-24 23:21:21.063779
579 release_3_8_0   admin   2026-04-24 23:21:21.069875
580 release_3_9_0   admin   2026-04-24 23:21:21.077871
581 right_custom_data_report        admin   2026-04-24 23:21:21.08353
582 right_financial_controlling     admin   2026-04-24 23:21:21.165759
583 right_part_master_data_prices   admin   2026-04-24 23:21:21.176266
584 right_sales_order_item_search   admin   2026-04-24 23:21:21.187545
585 right_sales_report      admin   2026-04-24 23:21:21.198104
586 rights_order_reports_amounts    admin   2026-04-24 23:21:21.208217
587 rights_view_cv_report   admin   2026-04-24 23:21:21.226621
588 rights_view_cp_report   admin   2026-04-24 23:21:21.237947
589 release_3_9_1   admin   2026-04-24 23:21:21.246782
590 set_all_users_to_design40       admin   2026-04-24 23:21:21.253369
591 release_3_9_2   admin   2026-04-24 23:21:21.260221
592 \.
593
594
595 --
596 -- Data for Name: session; Type: TABLE DATA; Schema: auth; Owner: kivitendo
597 --
598
599 COPY auth.session (id, ip_address, mtime, api_token) FROM stdin;
600 5b7fa09a8133611fb5d808e8ab3aade3        127.0.0.1       2026-04-24 23:22:03.159092      7a18b42b57b7f86f45fec836318b2d79
601 \.
602
603
604 --
605 -- Data for Name: session_content; Type: TABLE DATA; Schema: auth; Owner: kivitendo
606 --
607
608 COPY auth.session_content (session_id, sess_key, sess_value, auto_restore) FROM stdin;
609 5b7fa09a8133611fb5d808e8ab3aade3        session_auth_status_root        --- 0\n \N
610 5b7fa09a8133611fb5d808e8ab3aade3        session_auth_status_user        --- 0\n \N
611 5b7fa09a8133611fb5d808e8ab3aade3        client_id       --- 1\n \N
612 5b7fa09a8133611fb5d808e8ab3aade3        login   --- michael\n   \N
613 \.
614
615
616 --
617 -- Data for Name: user; Type: TABLE DATA; Schema: auth; Owner: kivitendo
618 --
619
620 COPY auth."user" (id, login, password) FROM stdin;
621 1       michael {PBKDF2}eb582ba54e6c4aefdf12345026c9e4eb8e:42f75af3ca486e0de3e9d6e655d1db0f0e8122b0040f3f64ac92ff683e89a1ed
622 \.
623
624
625 --
626 -- Data for Name: user_config; Type: TABLE DATA; Schema: auth; Owner: kivitendo
627 --
628
629 COPY auth.user_config (user_id, cfg_key, cfg_value) FROM stdin;
630 1       mandatory_departments   0
631 1       signature       
632 1       numberformat    1.000,00
633 1       countrycode     de
634 1       tel     
635 1       menustyle       neu
636 1       vclimit 200
637 1       phone_extension 
638 1       dateformat      dd.mm.yy
639 1       name    michael
640 1       email   
641 1       phone_password  
642 1       fax     
643 1       stylesheet      design40.css
644 \.
645
646
647 --
648 -- Data for Name: user_group; Type: TABLE DATA; Schema: auth; Owner: kivitendo
649 --
650
651 COPY auth.user_group (user_id, group_id) FROM stdin;
652 1       1
653 \.
654
655
656 --
657 -- Name: clients_id_seq; Type: SEQUENCE SET; Schema: auth; Owner: kivitendo
658 --
659
660 SELECT pg_catalog.setval('auth.clients_id_seq', 1, true);
661
662
663 --
664 -- Name: group_id_seq; Type: SEQUENCE SET; Schema: auth; Owner: kivitendo
665 --
666
667 SELECT pg_catalog.setval('auth.group_id_seq', 1, true);
668
669
670 --
671 -- Name: master_rights_id_seq; Type: SEQUENCE SET; Schema: auth; Owner: kivitendo
672 --
673
674 SELECT pg_catalog.setval('auth.master_rights_id_seq', 93, true);
675
676
677 --
678 -- Name: user_id_seq; Type: SEQUENCE SET; Schema: auth; Owner: kivitendo
679 --
680
681 SELECT pg_catalog.setval('auth.user_id_seq', 1, true);
682
683
684 --
685 -- Name: clients clients_dbhost_dbport_dbname_key; Type: CONSTRAINT; Schema: auth; Owner: kivitendo
686 --
687
688 ALTER TABLE ONLY auth.clients
689     ADD CONSTRAINT clients_dbhost_dbport_dbname_key UNIQUE (dbhost, dbport, dbname);
690
691
692 --
693 -- Name: clients_groups clients_groups_pkey; Type: CONSTRAINT; Schema: auth; Owner: kivitendo
694 --
695
696 ALTER TABLE ONLY auth.clients_groups
697     ADD CONSTRAINT clients_groups_pkey PRIMARY KEY (client_id, group_id);
698
699
700 --
701 -- Name: clients clients_name_key; Type: CONSTRAINT; Schema: auth; Owner: kivitendo
702 --
703
704 ALTER TABLE ONLY auth.clients
705     ADD CONSTRAINT clients_name_key UNIQUE (name);
706
707
708 --
709 -- Name: clients clients_pkey; Type: CONSTRAINT; Schema: auth; Owner: kivitendo
710 --
711
712 ALTER TABLE ONLY auth.clients
713     ADD CONSTRAINT clients_pkey PRIMARY KEY (id);
714
715
716 --
717 -- Name: clients_users clients_users_pkey; Type: CONSTRAINT; Schema: auth; Owner: kivitendo
718 --
719
720 ALTER TABLE ONLY auth.clients_users
721     ADD CONSTRAINT clients_users_pkey PRIMARY KEY (client_id, user_id);
722
723
724 --
725 -- Name: group group_name_key; Type: CONSTRAINT; Schema: auth; Owner: kivitendo
726 --
727
728 ALTER TABLE ONLY auth."group"
729     ADD CONSTRAINT group_name_key UNIQUE (name);
730
731
732 --
733 -- Name: group group_pkey; Type: CONSTRAINT; Schema: auth; Owner: kivitendo
734 --
735
736 ALTER TABLE ONLY auth."group"
737     ADD CONSTRAINT group_pkey PRIMARY KEY (id);
738
739
740 --
741 -- Name: group_rights group_rights_pkey; Type: CONSTRAINT; Schema: auth; Owner: kivitendo
742 --
743
744 ALTER TABLE ONLY auth.group_rights
745     ADD CONSTRAINT group_rights_pkey PRIMARY KEY (group_id, "right");
746
747
748 --
749 -- Name: master_rights master_rights_name_key; Type: CONSTRAINT; Schema: auth; Owner: kivitendo
750 --
751
752 ALTER TABLE ONLY auth.master_rights
753     ADD CONSTRAINT master_rights_name_key UNIQUE (name);
754
755
756 --
757 -- Name: master_rights master_rights_pkey; Type: CONSTRAINT; Schema: auth; Owner: kivitendo
758 --
759
760 ALTER TABLE ONLY auth.master_rights
761     ADD CONSTRAINT master_rights_pkey PRIMARY KEY (id);
762
763
764 --
765 -- Name: schema_info schema_info_pkey; Type: CONSTRAINT; Schema: auth; Owner: kivitendo
766 --
767
768 ALTER TABLE ONLY auth.schema_info
769     ADD CONSTRAINT schema_info_pkey PRIMARY KEY (tag);
770
771
772 --
773 -- Name: session_content session_content_pkey; Type: CONSTRAINT; Schema: auth; Owner: kivitendo
774 --
775
776 ALTER TABLE ONLY auth.session_content
777     ADD CONSTRAINT session_content_pkey PRIMARY KEY (session_id, sess_key);
778
779
780 --
781 -- Name: session session_pkey; Type: CONSTRAINT; Schema: auth; Owner: kivitendo
782 --
783
784 ALTER TABLE ONLY auth.session
785     ADD CONSTRAINT session_pkey PRIMARY KEY (id);
786
787
788 --
789 -- Name: user_config user_config_pkey; Type: CONSTRAINT; Schema: auth; Owner: kivitendo
790 --
791
792 ALTER TABLE ONLY auth.user_config
793     ADD CONSTRAINT user_config_pkey PRIMARY KEY (user_id, cfg_key);
794
795
796 --
797 -- Name: user_group user_group_pkey; Type: CONSTRAINT; Schema: auth; Owner: kivitendo
798 --
799
800 ALTER TABLE ONLY auth.user_group
801     ADD CONSTRAINT user_group_pkey PRIMARY KEY (user_id, group_id);
802
803
804 --
805 -- Name: user user_login_key; Type: CONSTRAINT; Schema: auth; Owner: kivitendo
806 --
807
808 ALTER TABLE ONLY auth."user"
809     ADD CONSTRAINT user_login_key UNIQUE (login);
810
811
812 --
813 -- Name: user user_pkey; Type: CONSTRAINT; Schema: auth; Owner: kivitendo
814 --
815
816 ALTER TABLE ONLY auth."user"
817     ADD CONSTRAINT user_pkey PRIMARY KEY (id);
818
819
820 --
821 -- Name: clients_groups clients_groups_client_id_fkey; Type: FK CONSTRAINT; Schema: auth; Owner: kivitendo
822 --
823
824 ALTER TABLE ONLY auth.clients_groups
825     ADD CONSTRAINT clients_groups_client_id_fkey FOREIGN KEY (client_id) REFERENCES auth.clients(id) ON DELETE CASCADE;
826
827
828 --
829 -- Name: clients_groups clients_groups_group_id_fkey; Type: FK CONSTRAINT; Schema: auth; Owner: kivitendo
830 --
831
832 ALTER TABLE ONLY auth.clients_groups
833     ADD CONSTRAINT clients_groups_group_id_fkey FOREIGN KEY (group_id) REFERENCES auth."group"(id) ON DELETE CASCADE;
834
835
836 --
837 -- Name: clients clients_task_server_user_id_fkey; Type: FK CONSTRAINT; Schema: auth; Owner: kivitendo
838 --
839
840 ALTER TABLE ONLY auth.clients
841     ADD CONSTRAINT clients_task_server_user_id_fkey FOREIGN KEY (task_server_user_id) REFERENCES auth."user"(id);
842
843
844 --
845 -- Name: clients_users clients_users_client_id_fkey; Type: FK CONSTRAINT; Schema: auth; Owner: kivitendo
846 --
847
848 ALTER TABLE ONLY auth.clients_users
849     ADD CONSTRAINT clients_users_client_id_fkey FOREIGN KEY (client_id) REFERENCES auth.clients(id) ON DELETE CASCADE;
850
851
852 --
853 -- Name: clients_users clients_users_user_id_fkey; Type: FK CONSTRAINT; Schema: auth; Owner: kivitendo
854 --
855
856 ALTER TABLE ONLY auth.clients_users
857     ADD CONSTRAINT clients_users_user_id_fkey FOREIGN KEY (user_id) REFERENCES auth."user"(id) ON DELETE CASCADE;
858
859
860 --
861 -- Name: group_rights group_rights_group_id_fkey; Type: FK CONSTRAINT; Schema: auth; Owner: kivitendo
862 --
863
864 ALTER TABLE ONLY auth.group_rights
865     ADD CONSTRAINT group_rights_group_id_fkey FOREIGN KEY (group_id) REFERENCES auth."group"(id) ON DELETE CASCADE;
866
867
868 --
869 -- Name: session_content session_content_session_id_fkey; Type: FK CONSTRAINT; Schema: auth; Owner: kivitendo
870 --
871
872 ALTER TABLE ONLY auth.session_content
873     ADD CONSTRAINT session_content_session_id_fkey FOREIGN KEY (session_id) REFERENCES auth.session(id) ON DELETE CASCADE;
874
875
876 --
877 -- Name: user_config user_config_user_id_fkey; Type: FK CONSTRAINT; Schema: auth; Owner: kivitendo
878 --
879
880 ALTER TABLE ONLY auth.user_config
881     ADD CONSTRAINT user_config_user_id_fkey FOREIGN KEY (user_id) REFERENCES auth."user"(id) ON DELETE CASCADE;
882
883
884 --
885 -- Name: user_group user_group_group_id_fkey; Type: FK CONSTRAINT; Schema: auth; Owner: kivitendo
886 --
887
888 ALTER TABLE ONLY auth.user_group
889     ADD CONSTRAINT user_group_group_id_fkey FOREIGN KEY (group_id) REFERENCES auth."group"(id) ON DELETE CASCADE;
890
891
892 --
893 -- Name: user_group user_group_user_id_fkey; Type: FK CONSTRAINT; Schema: auth; Owner: kivitendo
894 --
895
896 ALTER TABLE ONLY auth.user_group
897     ADD CONSTRAINT user_group_user_id_fkey FOREIGN KEY (user_id) REFERENCES auth."user"(id) ON DELETE CASCADE;
898
899
900 --
901 -- PostgreSQL database dump complete
902 --
903
904 \unrestrict 7ORcvckz8vcHkck0VJfFbdyNwzkfePflTJHwaai2zf5AmjJ4Kqo25TYwtJcNjsN
905