File: flyspray-0.9.8.pgsql

package info (click to toggle)
flyspray 0.9.8-10
  • links: PTS
  • area: main
  • in suites: etch-m68k
  • size: 2,444 kB
  • ctags: 3,031
  • sloc: php: 17,634; sh: 301; makefile: 12
file content (1178 lines) | stat: -rw-r--r-- 39,900 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
--
-- PostgreSQL database dump
--

SET client_encoding = 'UNICODE';

--
-- Name: flyspray_admin_requests; Type: TABLE; Schema: public; Owner: cr; Tablespace:
--

CREATE TABLE flyspray_admin_requests (
    request_id bigint DEFAULT nextval('"flyspray_admin_requests_request_id_seq"'::text) NOT NULL,
    project_id bigint DEFAULT 0::numeric NOT NULL,
    task_id bigint DEFAULT 0::numeric NOT NULL,
    submitted_by bigint DEFAULT 0::numeric NOT NULL,
    request_type bigint DEFAULT 0::numeric NOT NULL,
    time_submitted text DEFAULT ''::text NOT NULL,
    resolved_by bigint DEFAULT 0::numeric NOT NULL,
    time_resolved text DEFAULT ''::text NOT NULL,
    reason_given text NOT NULL,
    deny_reason text DEFAULT ''::text NOT NULL
);


--
-- Name: flyspray_admin_requests_request_id_seq; Type: SEQUENCE; Schema: public; Owner: cr
--

CREATE SEQUENCE flyspray_admin_requests_request_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MAXVALUE
    NO MINVALUE
    CACHE 1;


--
-- Name: flyspray_admin_requests_request_id_seq; Type: SEQUENCE SET; Schema: public; Owner: cr
--

SELECT pg_catalog.setval('flyspray_admin_requests_request_id_seq', 1, false);


--
-- Name: flyspray_assigned; Type: TABLE; Schema: public; Owner: cr; Tablespace:
--

CREATE TABLE flyspray_assigned (
    assigned_id bigint DEFAULT nextval('"flyspray_assigned_assigned_id_seq"'::text) NOT NULL,
    task_id bigint DEFAULT 0 NOT NULL,
    assignee_id bigint DEFAULT 0 NOT NULL,
    user_or_group character varying(1) DEFAULT 0 NOT NULL
);


--
-- Name: flyspray_assigned_assigned_id_seq; Type: SEQUENCE SET; Schema: public; Owner: cr
--
CREATE SEQUENCE flyspray_assigned_assigned_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MAXVALUE
    NO MINVALUE
    CACHE 1;

SELECT pg_catalog.setval('flyspray_assigned_assigned_id_seq', 1, false);


--
-- Name: flyspray_attachments; Type: TABLE; Schema: public; Owner: cr; Tablespace:
--

CREATE TABLE flyspray_attachments (
    attachment_id bigint DEFAULT nextval('"flyspray_attachments_attachment_id_seq"'::text) NOT NULL,
    task_id bigint DEFAULT 0::numeric NOT NULL,
    orig_name text DEFAULT ''::text NOT NULL,
    file_name text DEFAULT ''::text NOT NULL,
    file_desc text DEFAULT ''::text NOT NULL,
    file_type text DEFAULT ''::text NOT NULL,
    file_size bigint DEFAULT 0::numeric NOT NULL,
    added_by bigint DEFAULT 0::numeric NOT NULL,
    date_added text DEFAULT ''::text NOT NULL,
    comment_id bigint NOT NULL
);


--
-- Name: flyspray_attachments_attachment_id_seq; Type: SEQUENCE; Schema: public; Owner: cr
--

CREATE SEQUENCE flyspray_attachments_attachment_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MAXVALUE
    NO MINVALUE
    CACHE 1;


--
-- Name: flyspray_attachments_attachment_id_seq; Type: SEQUENCE SET; Schema: public; Owner: cr
--

SELECT pg_catalog.setval('flyspray_attachments_attachment_id_seq', 1, false);


--
-- Name: flyspray_comments; Type: TABLE; Schema: public; Owner: cr; Tablespace:
--

CREATE TABLE flyspray_comments (
    comment_id bigint DEFAULT nextval('"flyspray_comments_comment_id_seq"'::text) NOT NULL,
    task_id bigint DEFAULT 0::numeric NOT NULL,
    date_added text DEFAULT ''::text NOT NULL,
    user_id bigint DEFAULT 0::numeric NOT NULL,
    comment_text text NOT NULL
);


--
-- Name: flyspray_comments_comment_id_seq; Type: SEQUENCE; Schema: public; Owner: cr
--

CREATE SEQUENCE flyspray_comments_comment_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MAXVALUE
    NO MINVALUE
    CACHE 1;


--
-- Name: flyspray_comments_comment_id_seq; Type: SEQUENCE SET; Schema: public; Owner: cr
--

SELECT pg_catalog.setval('flyspray_comments_comment_id_seq', 1, false);


--
-- Name: flyspray_dependencies; Type: TABLE; Schema: public; Owner: cr; Tablespace:
--

CREATE TABLE flyspray_dependencies (
    depend_id bigint DEFAULT nextval('"flyspray_dependencies_depend_id_seq"'::text) NOT NULL,
    task_id bigint DEFAULT 0::numeric NOT NULL,
    dep_task_id bigint DEFAULT 0::numeric NOT NULL
);


--
-- Name: flyspray_dependencies_depend_id_seq; Type: SEQUENCE; Schema: public; Owner: cr
--

CREATE SEQUENCE flyspray_dependencies_depend_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MAXVALUE
    NO MINVALUE
    CACHE 1;


--
-- Name: flyspray_dependencies_depend_id_seq; Type: SEQUENCE SET; Schema: public; Owner: cr
--

SELECT pg_catalog.setval('flyspray_dependencies_depend_id_seq', 1, false);


--
-- Name: flyspray_groups; Type: TABLE; Schema: public; Owner: cr; Tablespace:
--

CREATE TABLE flyspray_groups (
    group_id bigint DEFAULT nextval('"flyspray_groups_group_id_seq"'::text) NOT NULL,
    group_name text DEFAULT ''::text NOT NULL,
    group_desc text DEFAULT ''::text NOT NULL,
    belongs_to_project bigint DEFAULT 0::numeric NOT NULL,
    is_admin bigint DEFAULT 0::numeric NOT NULL,
    manage_project bigint DEFAULT 0::numeric NOT NULL,
    view_tasks bigint DEFAULT 0::numeric NOT NULL,
    open_new_tasks bigint DEFAULT 0::numeric NOT NULL,
    modify_own_tasks bigint DEFAULT 0::numeric NOT NULL,
    modify_all_tasks bigint DEFAULT 0::numeric NOT NULL,
    view_comments bigint DEFAULT 0::numeric NOT NULL,
    add_comments bigint DEFAULT 0::numeric NOT NULL,
    edit_comments bigint DEFAULT 0::numeric NOT NULL,
    delete_comments bigint DEFAULT 0::numeric NOT NULL,
    view_attachments bigint DEFAULT 0::numeric NOT NULL,
    create_attachments bigint DEFAULT 0::numeric NOT NULL,
    delete_attachments bigint DEFAULT 0::numeric NOT NULL,
    view_history bigint DEFAULT 0::numeric NOT NULL,
    close_own_tasks bigint DEFAULT 0::numeric NOT NULL,
    close_other_tasks bigint DEFAULT 0::numeric NOT NULL,
    assign_to_self bigint DEFAULT 0::numeric NOT NULL,
    assign_others_to_self bigint DEFAULT 0::numeric NOT NULL,
    view_reports bigint DEFAULT 0::numeric NOT NULL,
    group_open bigint DEFAULT 0::numeric NOT NULL
);


--
-- Name: flyspray_groups_group_id_seq; Type: SEQUENCE; Schema: public; Owner: cr
--

CREATE SEQUENCE flyspray_groups_group_id_seq
    START WITH 7
    INCREMENT BY 1
    NO MAXVALUE
    NO MINVALUE
    CACHE 1;


--
-- Name: flyspray_groups_group_id_seq; Type: SEQUENCE SET; Schema: public; Owner: cr
--

SELECT pg_catalog.setval('flyspray_groups_group_id_seq', 7, false);


--
-- Name: flyspray_history; Type: TABLE; Schema: public; Owner: cr; Tablespace:
--

CREATE TABLE flyspray_history (
    history_id bigint DEFAULT nextval('"flyspray_history_history_id_seq"'::text) NOT NULL,
    task_id bigint DEFAULT 0::numeric NOT NULL,
    user_id bigint DEFAULT 0::numeric NOT NULL,
    event_date text NOT NULL,
    event_type bigint DEFAULT 0::numeric NOT NULL,
    field_changed text NOT NULL,
    old_value text NOT NULL,
    new_value text NOT NULL
);


--
-- Name: flyspray_history_history_id_seq; Type: SEQUENCE; Schema: public; Owner: cr
--

CREATE SEQUENCE flyspray_history_history_id_seq
    START WITH 2
    INCREMENT BY 1
    NO MAXVALUE
    NO MINVALUE
    CACHE 1;


--
-- Name: flyspray_history_history_id_seq; Type: SEQUENCE SET; Schema: public; Owner: cr
--

SELECT pg_catalog.setval('flyspray_history_history_id_seq', 2, false);


--
-- Name: flyspray_list_category; Type: TABLE; Schema: public; Owner: cr; Tablespace:
--

CREATE TABLE flyspray_list_category (
    category_id bigint DEFAULT nextval('"flyspray_list_category_category_id_seq"'::text) NOT NULL,
    project_id bigint DEFAULT 0::numeric NOT NULL,
    category_name text DEFAULT ''::text NOT NULL,
    list_position bigint DEFAULT 0::numeric NOT NULL,
    show_in_list bigint DEFAULT 0::numeric NOT NULL,
    category_owner bigint DEFAULT 0::numeric NOT NULL,
    parent_id bigint DEFAULT 0::numeric NOT NULL
);


--
-- Name: flyspray_list_category_category_id_seq; Type: SEQUENCE; Schema: public; Owner: cr
--

CREATE SEQUENCE flyspray_list_category_category_id_seq
    START WITH 3
    INCREMENT BY 1
    NO MAXVALUE
    NO MINVALUE
    CACHE 1;


--
-- Name: flyspray_list_category_category_id_seq; Type: SEQUENCE SET; Schema: public; Owner: cr
--

SELECT pg_catalog.setval('flyspray_list_category_category_id_seq', 3, false);


--
-- Name: flyspray_list_os; Type: TABLE; Schema: public; Owner: cr; Tablespace:
--

CREATE TABLE flyspray_list_os (
    os_id bigint DEFAULT nextval('"flyspray_list_os_os_id_seq"'::text) NOT NULL,
    project_id bigint DEFAULT 0::numeric NOT NULL,
    os_name text DEFAULT ''::text NOT NULL,
    list_position bigint DEFAULT 0::numeric NOT NULL,
    show_in_list bigint DEFAULT 0::numeric NOT NULL
);


--
-- Name: flyspray_list_os_os_id_seq; Type: SEQUENCE; Schema: public; Owner: cr
--

CREATE SEQUENCE flyspray_list_os_os_id_seq
    START WITH 6
    INCREMENT BY 1
    NO MAXVALUE
    NO MINVALUE
    CACHE 1;


--
-- Name: flyspray_list_os_os_id_seq; Type: SEQUENCE SET; Schema: public; Owner: cr
--

SELECT pg_catalog.setval('flyspray_list_os_os_id_seq', 6, false);


--
-- Name: flyspray_list_resolution; Type: TABLE; Schema: public; Owner: cr; Tablespace:
--

CREATE TABLE flyspray_list_resolution (
    resolution_id bigint DEFAULT nextval('"flyspray_list_resolution_resolution_id_seq"'::text) NOT NULL,
    resolution_name text DEFAULT ''::text NOT NULL,
    list_position bigint DEFAULT 0::numeric NOT NULL,
    show_in_list bigint DEFAULT 0::numeric NOT NULL,
    project_id bigint NOT NULL
);


--
-- Name: flyspray_list_resolution_resolution_id_seq; Type: SEQUENCE; Schema: public; Owner: cr
--

CREATE SEQUENCE flyspray_list_resolution_resolution_id_seq
    START WITH 9
    INCREMENT BY 1
    NO MAXVALUE
    NO MINVALUE
    CACHE 1;


--
-- Name: flyspray_list_resolution_resolution_id_seq; Type: SEQUENCE SET; Schema: public; Owner: cr
--

SELECT pg_catalog.setval('flyspray_list_resolution_resolution_id_seq', 9, false);


--
-- Name: flyspray_list_tasktype; Type: TABLE; Schema: public; Owner: cr; Tablespace:
--

CREATE TABLE flyspray_list_tasktype (
    tasktype_id bigint DEFAULT nextval('"flyspray_list_tasktype_tasktype_id_seq"'::text) NOT NULL,
    tasktype_name text DEFAULT ''::text NOT NULL,
    list_position bigint DEFAULT 0::numeric NOT NULL,
    show_in_list bigint DEFAULT 0::numeric NOT NULL,
    project_id bigint NOT NULL
);


--
-- Name: flyspray_list_tasktype_tasktype_id_seq; Type: SEQUENCE; Schema: public; Owner: cr
--

CREATE SEQUENCE flyspray_list_tasktype_tasktype_id_seq
    START WITH 3
    INCREMENT BY 1
    NO MAXVALUE
    NO MINVALUE
    CACHE 1;


--
-- Name: flyspray_list_tasktype_tasktype_id_seq; Type: SEQUENCE SET; Schema: public; Owner: cr
--

SELECT pg_catalog.setval('flyspray_list_tasktype_tasktype_id_seq', 3, false);


--
-- Name: flyspray_list_version; Type: TABLE; Schema: public; Owner: cr; Tablespace:
--

CREATE TABLE flyspray_list_version (
    version_id bigint DEFAULT nextval('"flyspray_list_version_version_id_seq"'::text) NOT NULL,
    project_id bigint DEFAULT 0::numeric NOT NULL,
    version_name text DEFAULT ''::text NOT NULL,
    list_position bigint DEFAULT 0::numeric NOT NULL,
    show_in_list bigint DEFAULT 0::numeric NOT NULL,
    version_tense bigint DEFAULT 0::numeric NOT NULL
);


--
-- Name: flyspray_list_version_version_id_seq; Type: SEQUENCE; Schema: public; Owner: cr
--

CREATE SEQUENCE flyspray_list_version_version_id_seq
    START WITH 2
    INCREMENT BY 1
    NO MAXVALUE
    NO MINVALUE
    CACHE 1;


--
-- Name: flyspray_list_version_version_id_seq; Type: SEQUENCE SET; Schema: public; Owner: cr
--

SELECT pg_catalog.setval('flyspray_list_version_version_id_seq', 2, false);


--
-- Name: flyspray_notification_messages; Type: TABLE; Schema: public; Owner: cr; Tablespace:
--

CREATE TABLE flyspray_notification_messages (
    message_id bigint DEFAULT nextval('"flyspray_notification_messages_message_id_seq"'::text) NOT NULL,
    message_subject text DEFAULT ''::text NOT NULL,
    message_body text DEFAULT ''::text NOT NULL,
    time_created text
);


--
-- Name: flyspray_notification_messages_message_id_seq; Type: SEQUENCE; Schema: public; Owner: cr
--

CREATE SEQUENCE flyspray_notification_messages_message_id_seq
    START WITH 2
    INCREMENT BY 1
    NO MAXVALUE
    NO MINVALUE
    CACHE 1;


--
-- Name: flyspray_notification_messages_message_id_seq; Type: SEQUENCE SET; Schema: public; Owner: cr
--

SELECT pg_catalog.setval('flyspray_notification_messages_message_id_seq', 2, false);


--
-- Name: flyspray_notification_recipients; Type: TABLE; Schema: public; Owner: cr; Tablespace:
--

CREATE TABLE flyspray_notification_recipients (
    recipient_id bigint DEFAULT nextval('"flyspray_notification_recipients_recipient_id_seq"'::text) NOT NULL,
    message_id bigint NOT NULL,
    notify_method text DEFAULT ''::text NOT NULL,
    notify_address text DEFAULT ''::text NOT NULL
);


--
-- Name: flyspray_notification_recipients_recipient_id_seq; Type: SEQUENCE; Schema: public; Owner: cr
--

CREATE SEQUENCE flyspray_notification_recipients_recipient_id_seq
    START WITH 2
    INCREMENT BY 1
    NO MAXVALUE
    NO MINVALUE
    CACHE 1;


--
-- Name: flyspray_notification_recipients_recipient_id_seq; Type: SEQUENCE SET; Schema: public; Owner: cr
--

SELECT pg_catalog.setval('flyspray_notification_recipients_recipient_id_seq', 2, false);


--
-- Name: flyspray_notifications; Type: TABLE; Schema: public; Owner: cr; Tablespace:
--

CREATE TABLE flyspray_notifications (
    notify_id bigint DEFAULT nextval('"flyspray_notifications_notify_id_seq"'::text) NOT NULL,
    task_id bigint DEFAULT 0::numeric NOT NULL,
    user_id bigint DEFAULT 0::numeric NOT NULL
);


--
-- Name: flyspray_notifications_notify_id_seq; Type: SEQUENCE; Schema: public; Owner: cr
--

CREATE SEQUENCE flyspray_notifications_notify_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MAXVALUE
    NO MINVALUE
    CACHE 1;


--
-- Name: flyspray_notifications_notify_id_seq; Type: SEQUENCE SET; Schema: public; Owner: cr
--

SELECT pg_catalog.setval('flyspray_notifications_notify_id_seq', 1, false);


--
-- Name: flyspray_prefs; Type: TABLE; Schema: public; Owner: cr; Tablespace:
--

CREATE TABLE flyspray_prefs (
    pref_id bigint DEFAULT nextval('"flyspray_prefs_pref_id_seq"'::text) NOT NULL,
    pref_name text DEFAULT ''::text NOT NULL,
    pref_value text DEFAULT ''::text NOT NULL,
    pref_desc text DEFAULT ''::text NOT NULL
);


--
-- Name: flyspray_prefs_pref_id_seq; Type: SEQUENCE; Schema: public; Owner: cr
--

CREATE SEQUENCE flyspray_prefs_pref_id_seq
    INCREMENT BY 1
    NO MAXVALUE
    NO MINVALUE
    CACHE 1;


--
-- Name: flyspray_prefs_pref_id_seq; Type: SEQUENCE SET; Schema: public; Owner: cr
--

SELECT pg_catalog.setval('flyspray_prefs_pref_id_seq', 22, true);


--
-- Name: flyspray_projects; Type: TABLE; Schema: public; Owner: cr; Tablespace:
--

CREATE TABLE flyspray_projects (
    project_id bigint DEFAULT nextval('"flyspray_projects_project_id_seq"'::text) NOT NULL,
    project_title text DEFAULT ''::text NOT NULL,
    theme_style text DEFAULT '0'::text NOT NULL,
    show_logo bigint DEFAULT 0::numeric NOT NULL,
    inline_images bigint DEFAULT 0::numeric NOT NULL,
    default_cat_owner bigint DEFAULT 0::numeric NOT NULL,
    intro_message text NOT NULL,
    project_is_active bigint DEFAULT 0::numeric NOT NULL,
    visible_columns text DEFAULT ''::text NOT NULL,
    others_view bigint DEFAULT 0::numeric NOT NULL,
    anon_open bigint DEFAULT 0::numeric NOT NULL,
    notify_email text DEFAULT ''::text NOT NULL,
    notify_email_when bigint DEFAULT 0 NOT NULL,
    notify_jabber text DEFAULT ''::text NOT NULL,
    notify_jabber_when bigint DEFAULT 0 NOT NULL
);


--
-- Name: flyspray_projects_project_id_seq; Type: SEQUENCE; Schema: public; Owner: cr
--

CREATE SEQUENCE flyspray_projects_project_id_seq
    START WITH 2
    INCREMENT BY 1
    NO MAXVALUE
    NO MINVALUE
    CACHE 1;


--
-- Name: flyspray_projects_project_id_seq; Type: SEQUENCE SET; Schema: public; Owner: cr
--

SELECT pg_catalog.setval('flyspray_projects_project_id_seq', 2, false);


--
-- Name: flyspray_registrations; Type: TABLE; Schema: public; Owner: cr; Tablespace:
--

CREATE TABLE flyspray_registrations (
    reg_id bigint DEFAULT nextval('"flyspray_registrations_reg_id_seq"'::text) NOT NULL,
    reg_time text DEFAULT ''::text NOT NULL,
    confirm_code text DEFAULT ''::text NOT NULL,
    user_name text DEFAULT ''::text NOT NULL,
    real_name text DEFAULT ''::text NOT NULL,
    email_address text DEFAULT ''::text NOT NULL,
    jabber_id text DEFAULT ''::text NOT NULL,
    notify_type bigint DEFAULT 0::numeric NOT NULL,
    magic_url text DEFAULT ''::text NOT NULL
);


--
-- Name: flyspray_registrations_reg_id_seq; Type: SEQUENCE; Schema: public; Owner: cr
--

CREATE SEQUENCE flyspray_registrations_reg_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MAXVALUE
    NO MINVALUE
    CACHE 1;


--
-- Name: flyspray_registrations_reg_id_seq; Type: SEQUENCE SET; Schema: public; Owner: cr
--

SELECT pg_catalog.setval('flyspray_registrations_reg_id_seq', 1, false);


--
-- Name: flyspray_related; Type: TABLE; Schema: public; Owner: cr; Tablespace:
--

CREATE TABLE flyspray_related (
    related_id bigint DEFAULT nextval('"flyspray_related_related_id_seq"'::text) NOT NULL,
    this_task bigint DEFAULT 0::numeric NOT NULL,
    related_task bigint DEFAULT 0::numeric NOT NULL
);


--
-- Name: flyspray_related_related_id_seq; Type: SEQUENCE; Schema: public; Owner: cr
--

CREATE SEQUENCE flyspray_related_related_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MAXVALUE
    NO MINVALUE
    CACHE 1;


--
-- Name: flyspray_related_related_id_seq; Type: SEQUENCE SET; Schema: public; Owner: cr
--

SELECT pg_catalog.setval('flyspray_related_related_id_seq', 1, false);


--
-- Name: flyspray_reminders; Type: TABLE; Schema: public; Owner: cr; Tablespace:
--

CREATE TABLE flyspray_reminders (
    reminder_id bigint DEFAULT nextval('"flyspray_reminders_reminder_id_seq"'::text) NOT NULL,
    task_id bigint DEFAULT 0::numeric NOT NULL,
    to_user_id bigint DEFAULT 0::numeric NOT NULL,
    from_user_id bigint DEFAULT 0::numeric NOT NULL,
    start_time text DEFAULT '0'::text NOT NULL,
    how_often bigint DEFAULT 0::numeric NOT NULL,
    last_sent text DEFAULT '0'::text NOT NULL,
    reminder_message text NOT NULL
);


--
-- Name: flyspray_reminders_reminder_id_seq; Type: SEQUENCE; Schema: public; Owner: cr
--

CREATE SEQUENCE flyspray_reminders_reminder_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MAXVALUE
    NO MINVALUE
    CACHE 1;


--
-- Name: flyspray_reminders_reminder_id_seq; Type: SEQUENCE SET; Schema: public; Owner: cr
--

SELECT pg_catalog.setval('flyspray_reminders_reminder_id_seq', 1, false);


--
-- Name: flyspray_tasks; Type: TABLE; Schema: public; Owner: cr; Tablespace:
--

CREATE TABLE flyspray_tasks (
    task_id bigint DEFAULT nextval('"flyspray_tasks_task_id_seq"'::text) NOT NULL,
    attached_to_project bigint DEFAULT 0::numeric NOT NULL,
    task_type bigint DEFAULT 0::numeric NOT NULL,
    date_opened text DEFAULT ''::text NOT NULL,
    opened_by bigint DEFAULT 0::numeric NOT NULL,
    is_closed bigint DEFAULT 0::numeric NOT NULL,
    date_closed text DEFAULT ''::text NOT NULL,
    closed_by bigint DEFAULT 0::numeric NOT NULL,
    closure_comment text,
    item_summary text DEFAULT ''::text NOT NULL,
    detailed_desc text NOT NULL,
    item_status bigint DEFAULT 0::numeric NOT NULL,
    assigned_to bigint DEFAULT 0::numeric NOT NULL,
    resolution_reason bigint DEFAULT 1::numeric NOT NULL,
    product_category bigint DEFAULT 0::numeric NOT NULL,
    product_version bigint DEFAULT 0::numeric NOT NULL,
    closedby_version bigint DEFAULT 0::numeric NOT NULL,
    operating_system bigint DEFAULT 0::numeric NOT NULL,
    task_severity bigint DEFAULT 0::numeric NOT NULL,
    task_priority bigint DEFAULT 0::numeric NOT NULL,
    last_edited_by bigint DEFAULT 0::numeric NOT NULL,
    last_edited_time text DEFAULT '0'::text NOT NULL,
    percent_complete bigint DEFAULT 0::numeric NOT NULL,
    mark_private bigint DEFAULT 0::numeric NOT NULL,
    due_date text DEFAULT ''::text NOT NULL
);


--
-- Name: flyspray_tasks_task_id_seq; Type: SEQUENCE; Schema: public; Owner: cr
--

CREATE SEQUENCE flyspray_tasks_task_id_seq
    START WITH 2
    INCREMENT BY 1
    NO MAXVALUE
    NO MINVALUE
    CACHE 1;


--
-- Name: flyspray_tasks_task_id_seq; Type: SEQUENCE SET; Schema: public; Owner: cr
--

SELECT pg_catalog.setval('flyspray_tasks_task_id_seq', 2, false);


--
-- Name: flyspray_users; Type: TABLE; Schema: public; Owner: cr; Tablespace:
--

CREATE TABLE flyspray_users (
    user_id bigint DEFAULT nextval('"flyspray_users_user_id_seq"'::text) NOT NULL,
    user_name text DEFAULT ''::text NOT NULL,
    user_pass text DEFAULT ''::text NOT NULL,
    real_name text DEFAULT ''::text NOT NULL,
    jabber_id text DEFAULT ''::text NOT NULL,
    email_address text DEFAULT ''::text NOT NULL,
    notify_type bigint DEFAULT 0::numeric NOT NULL,
    account_enabled bigint DEFAULT 0::numeric NOT NULL,
    dateformat text DEFAULT ''::text NOT NULL,
    dateformat_extended text DEFAULT ''::text NOT NULL,
    magic_url text DEFAULT ''::text NOT NULL,
    last_search text,
    tasks_perpage integer NOT NULL
);


--
-- Name: flyspray_users_in_groups; Type: TABLE; Schema: public; Owner: cr; Tablespace:
--

CREATE TABLE flyspray_users_in_groups (
    record_id bigint DEFAULT nextval('"flyspray_users_in_groups_record_id_seq"'::text) NOT NULL,
    user_id bigint DEFAULT 0::numeric NOT NULL,
    group_id bigint DEFAULT 0::numeric NOT NULL
);


--
-- Name: flyspray_users_in_groups_record_id_seq; Type: SEQUENCE; Schema: public; Owner: cr
--

CREATE SEQUENCE flyspray_users_in_groups_record_id_seq
    START WITH 2
    INCREMENT BY 1
    NO MAXVALUE
    NO MINVALUE
    CACHE 1;


--
-- Name: flyspray_users_in_groups_record_id_seq; Type: SEQUENCE SET; Schema: public; Owner: cr
--

SELECT pg_catalog.setval('flyspray_users_in_groups_record_id_seq', 2, false);


--
-- Name: flyspray_users_user_id_seq; Type: SEQUENCE; Schema: public; Owner: cr
--

CREATE SEQUENCE flyspray_users_user_id_seq
    START WITH 2
    INCREMENT BY 1
    NO MAXVALUE
    NO MINVALUE
    CACHE 1;


--
-- Name: flyspray_users_user_id_seq; Type: SEQUENCE SET; Schema: public; Owner: cr
--

SELECT pg_catalog.setval('flyspray_users_user_id_seq', 2, false);


--
-- Data for Name: flyspray_admin_requests; Type: TABLE DATA; Schema: public; Owner: cr
--



--
-- Data for Name: flyspray_assigned; Type: TABLE DATA; Schema: public; Owner: cr
--



--
-- Data for Name: flyspray_attachments; Type: TABLE DATA; Schema: public; Owner: cr
--



--
-- Data for Name: flyspray_comments; Type: TABLE DATA; Schema: public; Owner: cr
--



--
-- Data for Name: flyspray_dependencies; Type: TABLE DATA; Schema: public; Owner: cr
--



--
-- Data for Name: flyspray_groups; Type: TABLE DATA; Schema: public; Owner: cr
--

INSERT INTO flyspray_groups (group_id, group_name, group_desc, belongs_to_project, is_admin, manage_project, view_tasks, open_new_tasks, modify_own_tasks, modify_all_tasks, view_comments, add_comments, edit_comments, delete_comments, view_attachments, create_attachments, delete_attachments, view_history, close_own_tasks, close_other_tasks, assign_to_self, assign_others_to_self, view_reports, group_open) VALUES (1, 'Admin', 'Members have unlimited access to all functionality.', 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1);
INSERT INTO flyspray_groups (group_id, group_name, group_desc, belongs_to_project, is_admin, manage_project, view_tasks, open_new_tasks, modify_own_tasks, modify_all_tasks, view_comments, add_comments, edit_comments, delete_comments, view_attachments, create_attachments, delete_attachments, view_history, close_own_tasks, close_other_tasks, assign_to_self, assign_others_to_self, view_reports, group_open) VALUES (2, 'Developers', 'Global Developers for all projects', 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1);
INSERT INTO flyspray_groups (group_id, group_name, group_desc, belongs_to_project, is_admin, manage_project, view_tasks, open_new_tasks, modify_own_tasks, modify_all_tasks, view_comments, add_comments, edit_comments, delete_comments, view_attachments, create_attachments, delete_attachments, view_history, close_own_tasks, close_other_tasks, assign_to_self, assign_others_to_self, view_reports, group_open) VALUES (3, 'Reporters', 'Open new tasks / add comments in all projects', 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1);
INSERT INTO flyspray_groups (group_id, group_name, group_desc, belongs_to_project, is_admin, manage_project, view_tasks, open_new_tasks, modify_own_tasks, modify_all_tasks, view_comments, add_comments, edit_comments, delete_comments, view_attachments, create_attachments, delete_attachments, view_history, close_own_tasks, close_other_tasks, assign_to_self, assign_others_to_self, view_reports, group_open) VALUES (4, 'Basic', 'Members can login, relying upon Project permissions only', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1);
INSERT INTO flyspray_groups (group_id, group_name, group_desc, belongs_to_project, is_admin, manage_project, view_tasks, open_new_tasks, modify_own_tasks, modify_all_tasks, view_comments, add_comments, edit_comments, delete_comments, view_attachments, create_attachments, delete_attachments, view_history, close_own_tasks, close_other_tasks, assign_to_self, assign_others_to_self, view_reports, group_open) VALUES (5, 'Pending', 'Users who are awaiting approval of their accounts.', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
INSERT INTO flyspray_groups (group_id, group_name, group_desc, belongs_to_project, is_admin, manage_project, view_tasks, open_new_tasks, modify_own_tasks, modify_all_tasks, view_comments, add_comments, edit_comments, delete_comments, view_attachments, create_attachments, delete_attachments, view_history, close_own_tasks, close_other_tasks, assign_to_self, assign_others_to_self, view_reports, group_open) VALUES (6, 'Project Managers', 'Permission to do anything related to the Default Project.', 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1);


--
-- Data for Name: flyspray_history; Type: TABLE DATA; Schema: public; Owner: cr
--

INSERT INTO flyspray_history (history_id, task_id, user_id, event_date, event_type, field_changed, old_value, new_value) VALUES (1, 1, 1, '1130024797', 1, '', '', '');


--
-- Data for Name: flyspray_list_category; Type: TABLE DATA; Schema: public; Owner: cr
--

INSERT INTO flyspray_list_category (category_id, project_id, category_name, list_position, show_in_list, category_owner, parent_id) VALUES (1, 1, 'Backend / Core', 1, 1, 0, 0);
INSERT INTO flyspray_list_category (category_id, project_id, category_name, list_position, show_in_list, category_owner, parent_id) VALUES (2, 1, 'User Interface', 2, 1, 0, 0);


--
-- Data for Name: flyspray_list_os; Type: TABLE DATA; Schema: public; Owner: cr
--

INSERT INTO flyspray_list_os (os_id, project_id, os_name, list_position, show_in_list) VALUES (1, 1, 'All', 1, 1);
INSERT INTO flyspray_list_os (os_id, project_id, os_name, list_position, show_in_list) VALUES (2, 1, 'Windows', 2, 1);
INSERT INTO flyspray_list_os (os_id, project_id, os_name, list_position, show_in_list) VALUES (3, 1, 'Linux', 3, 1);
INSERT INTO flyspray_list_os (os_id, project_id, os_name, list_position, show_in_list) VALUES (4, 1, 'Mac OS', 4, 1);
INSERT INTO flyspray_list_os (os_id, project_id, os_name, list_position, show_in_list) VALUES (5, 1, 'UNIX', 4, 1);


--
-- Data for Name: flyspray_list_resolution; Type: TABLE DATA; Schema: public; Owner: cr
--

INSERT INTO flyspray_list_resolution (resolution_id, resolution_name, list_position, show_in_list, project_id) VALUES (1, 'Not a bug', 1, 1, 0);
INSERT INTO flyspray_list_resolution (resolution_id, resolution_name, list_position, show_in_list, project_id) VALUES (2, 'Won''t fix', 2, 1, 0);
INSERT INTO flyspray_list_resolution (resolution_id, resolution_name, list_position, show_in_list, project_id) VALUES (3, 'Won''t implement', 3, 1, 0);
INSERT INTO flyspray_list_resolution (resolution_id, resolution_name, list_position, show_in_list, project_id) VALUES (4, 'Works for me', 4, 1, 0);
INSERT INTO flyspray_list_resolution (resolution_id, resolution_name, list_position, show_in_list, project_id) VALUES (5, 'Duplicate', 5, 1, 0);
INSERT INTO flyspray_list_resolution (resolution_id, resolution_name, list_position, show_in_list, project_id) VALUES (6, 'Deferred', 6, 1, 0);
INSERT INTO flyspray_list_resolution (resolution_id, resolution_name, list_position, show_in_list, project_id) VALUES (7, 'Fixed', 7, 1, 0);
INSERT INTO flyspray_list_resolution (resolution_id, resolution_name, list_position, show_in_list, project_id) VALUES (8, 'Implemented', 8, 1, 0);


--
-- Data for Name: flyspray_list_tasktype; Type: TABLE DATA; Schema: public; Owner: cr
--

INSERT INTO flyspray_list_tasktype (tasktype_id, tasktype_name, list_position, show_in_list, project_id) VALUES (1, 'Bug Report', 1, 1, 0);
INSERT INTO flyspray_list_tasktype (tasktype_id, tasktype_name, list_position, show_in_list, project_id) VALUES (2, 'Feature Request', 2, 1, 0);


--
-- Data for Name: flyspray_list_version; Type: TABLE DATA; Schema: public; Owner: cr
--

INSERT INTO flyspray_list_version (version_id, project_id, version_name, list_position, show_in_list, version_tense) VALUES (1, 1, 'Devel', 1, 1, 2);


--
-- Data for Name: flyspray_notification_messages; Type: TABLE DATA; Schema: public; Owner: cr
--



--
-- Data for Name: flyspray_notification_recipients; Type: TABLE DATA; Schema: public; Owner: cr
--



--
-- Data for Name: flyspray_notifications; Type: TABLE DATA; Schema: public; Owner: cr
--



--
-- Data for Name: flyspray_prefs; Type: TABLE DATA; Schema: public; Owner: cr
--

INSERT INTO flyspray_prefs (pref_id, pref_name, pref_value, pref_desc) VALUES (1, 'fs_ver', '0.9.8', 'Current Flyspray version');
INSERT INTO flyspray_prefs (pref_id, pref_name, pref_value, pref_desc) VALUES (2, 'jabber_server', '', 'Jabber server');
INSERT INTO flyspray_prefs (pref_id, pref_name, pref_value, pref_desc) VALUES (3, 'jabber_port', '5222', 'Jabber server port');
INSERT INTO flyspray_prefs (pref_id, pref_name, pref_value, pref_desc) VALUES (4, 'jabber_username', '', 'Jabber username');
INSERT INTO flyspray_prefs (pref_id, pref_name, pref_value, pref_desc) VALUES (5, 'jabber_password', '', 'Jabber password');
INSERT INTO flyspray_prefs (pref_id, pref_name, pref_value, pref_desc) VALUES (6, 'anon_group', '4', 'Group for anonymous registrations');
INSERT INTO flyspray_prefs (pref_id, pref_name, pref_value, pref_desc) VALUES (8, 'user_notify', '1', 'Force task notifications as');
INSERT INTO flyspray_prefs (pref_id, pref_name, pref_value, pref_desc) VALUES (9, 'admin_email', 'flyspray@example.com', 'Reply email address for notifications');
INSERT INTO flyspray_prefs (pref_id, pref_name, pref_value, pref_desc) VALUES (10, 'assigned_groups', '1 2 3', 'Members of these groups can be assigned tasks');
INSERT INTO flyspray_prefs (pref_id, pref_name, pref_value, pref_desc) VALUES (11, 'lang_code', 'en', 'Language');
INSERT INTO flyspray_prefs (pref_id, pref_name, pref_value, pref_desc) VALUES (12, 'spam_proof', '1', 'Use confirmation codes for user registrations');
INSERT INTO flyspray_prefs (pref_id, pref_name, pref_value, pref_desc) VALUES (13, 'default_project', '1', 'Default project id');
INSERT INTO flyspray_prefs (pref_id, pref_name, pref_value, pref_desc) VALUES (14, 'dateformat', '', 'Default date format for new users and guests used in the task list');
INSERT INTO flyspray_prefs (pref_id, pref_name, pref_value, pref_desc) VALUES (15, 'dateformat_extended', '', 'Default date format for new users and guests used in task details');
INSERT INTO flyspray_prefs (pref_id, pref_name, pref_value, pref_desc) VALUES (16, 'anon_reg', '1', 'Allow new user registrations');
INSERT INTO flyspray_prefs (pref_id, pref_name, pref_value, pref_desc) VALUES (17, 'global_theme', 'Bluey', 'Theme to use when viewing all projects');
INSERT INTO flyspray_prefs (pref_id, pref_name, pref_value, pref_desc) VALUES (18, 'visible_columns', 'id project category tasktype severity summary status progress', 'Columns visible when viewing all projects');
INSERT INTO flyspray_prefs (pref_id, pref_name, pref_value, pref_desc) VALUES (19, 'smtp_server', '', 'Remote mail server');
INSERT INTO flyspray_prefs (pref_id, pref_name, pref_value, pref_desc) VALUES (20, 'smtp_user', '', 'Username to access the remote mail server');
INSERT INTO flyspray_prefs (pref_id, pref_name, pref_value, pref_desc) VALUES (21, 'smtp_pass', '', 'Password to access the remote mail server');


--
-- Data for Name: flyspray_projects; Type: TABLE DATA; Schema: public; Owner: cr
--

INSERT INTO flyspray_projects (project_id, project_title, theme_style, show_logo, inline_images, default_cat_owner, intro_message, project_is_active, visible_columns, others_view, anon_open, notify_email, notify_email_when, notify_jabber, notify_jabber_when) VALUES (1, 'Default Project', 'Bluey', 1, 0, 0, 'Welcome to your first Flyspray project!  We hope that Flyspray provides you with many hours of increased productivity.  If you have any issues, please read <a href="http://flyspray.rocks.cc/manual/toc">the documentation</a> and <a href="http://flyspray.rocks.cc/faq">Frequently Asked Questions</a>. <br /><br />You can customise this message by clicking the <b>Manage Project</b> link in the menu above', 1, 'id category tasktype severity summary status progress', 1, 0, '', 0, '', 0);


--
-- Data for Name: flyspray_registrations; Type: TABLE DATA; Schema: public; Owner: cr
--



--
-- Data for Name: flyspray_related; Type: TABLE DATA; Schema: public; Owner: cr
--



--
-- Data for Name: flyspray_reminders; Type: TABLE DATA; Schema: public; Owner: cr
--



--
-- Data for Name: flyspray_tasks; Type: TABLE DATA; Schema: public; Owner: cr
--

INSERT INTO flyspray_tasks (task_id, attached_to_project, task_type, date_opened, opened_by, is_closed, date_closed, closed_by, closure_comment, item_summary, detailed_desc, item_status, assigned_to, resolution_reason, product_category, product_version, closedby_version, operating_system, task_severity, task_priority, last_edited_by, last_edited_time, percent_complete, mark_private, due_date) VALUES (1, 1, 1, '1130024797', 1, 0, '', 1, ' ', 'Sample Task', 'This isn''t a real task.  You should close it and start opening some real tasks.', 2, 0, 1, 1, 1, 0, 1, 1, 2, 0, '', 0, 0, '');


--
-- Data for Name: flyspray_users; Type: TABLE DATA; Schema: public; Owner: cr
--

INSERT INTO flyspray_users (user_id, user_name, user_pass, real_name, jabber_id, email_address, notify_type, account_enabled, dateformat, dateformat_extended, magic_url, last_search, tasks_perpage) VALUES (1, 'super', '4tuKHcjxpFYag', 'Mr Super User', 'super@example.com', 'super@example.com', 0, 1, '', '', '', NULL, 25);


--
-- Data for Name: flyspray_users_in_groups; Type: TABLE DATA; Schema: public; Owner: cr
--

INSERT INTO flyspray_users_in_groups (record_id, user_id, group_id) VALUES (1, 1, 1);


--
-- Name: flyspray_admin_requests_pkey; Type: CONSTRAINT; Schema: public; Owner: cr; Tablespace:
--

ALTER TABLE ONLY flyspray_admin_requests
    ADD CONSTRAINT flyspray_admin_requests_pkey PRIMARY KEY (request_id);


--
-- Name: flyspray_assigned_pkey; Type: CONSTRAINT; Schema: public; Owner: cr; Tablespace:
--

ALTER TABLE ONLY flyspray_assigned
    ADD CONSTRAINT flyspray_assigned_pkey PRIMARY KEY (assigned_id);


--
-- Name: flyspray_attachments_pkey; Type: CONSTRAINT; Schema: public; Owner: cr; Tablespace:
--

ALTER TABLE ONLY flyspray_attachments
    ADD CONSTRAINT flyspray_attachments_pkey PRIMARY KEY (attachment_id);


--
-- Name: flyspray_comments_pkey; Type: CONSTRAINT; Schema: public; Owner: cr; Tablespace:
--

ALTER TABLE ONLY flyspray_comments
    ADD CONSTRAINT flyspray_comments_pkey PRIMARY KEY (comment_id);


--
-- Name: flyspray_dependencies_pkey; Type: CONSTRAINT; Schema: public; Owner: cr; Tablespace:
--

ALTER TABLE ONLY flyspray_dependencies
    ADD CONSTRAINT flyspray_dependencies_pkey PRIMARY KEY (depend_id);


--
-- Name: flyspray_groups_pkey; Type: CONSTRAINT; Schema: public; Owner: cr; Tablespace:
--

ALTER TABLE ONLY flyspray_groups
    ADD CONSTRAINT flyspray_groups_pkey PRIMARY KEY (group_id);


--
-- Name: flyspray_history_pkey; Type: CONSTRAINT; Schema: public; Owner: cr; Tablespace:
--

ALTER TABLE ONLY flyspray_history
    ADD CONSTRAINT flyspray_history_pkey PRIMARY KEY (history_id);


--
-- Name: flyspray_list_category_pkey; Type: CONSTRAINT; Schema: public; Owner: cr; Tablespace:
--

ALTER TABLE ONLY flyspray_list_category
    ADD CONSTRAINT flyspray_list_category_pkey PRIMARY KEY (category_id);


--
-- Name: flyspray_list_os_pkey; Type: CONSTRAINT; Schema: public; Owner: cr; Tablespace:
--

ALTER TABLE ONLY flyspray_list_os
    ADD CONSTRAINT flyspray_list_os_pkey PRIMARY KEY (os_id);


--
-- Name: flyspray_list_resolution_pkey; Type: CONSTRAINT; Schema: public; Owner: cr; Tablespace:
--

ALTER TABLE ONLY flyspray_list_resolution
    ADD CONSTRAINT flyspray_list_resolution_pkey PRIMARY KEY (resolution_id);


--
-- Name: flyspray_list_tasktype_pkey; Type: CONSTRAINT; Schema: public; Owner: cr; Tablespace:
--

ALTER TABLE ONLY flyspray_list_tasktype
    ADD CONSTRAINT flyspray_list_tasktype_pkey PRIMARY KEY (tasktype_id);


--
-- Name: flyspray_list_version_pkey; Type: CONSTRAINT; Schema: public; Owner: cr; Tablespace:
--

ALTER TABLE ONLY flyspray_list_version
    ADD CONSTRAINT flyspray_list_version_pkey PRIMARY KEY (version_id);


--
-- Name: flyspray_notification_messages_pkey; Type: CONSTRAINT; Schema: public; Owner: cr; Tablespace:
--

ALTER TABLE ONLY flyspray_notification_messages
    ADD CONSTRAINT flyspray_notification_messages_pkey PRIMARY KEY (message_id);


--
-- Name: flyspray_notification_recipients_pkey; Type: CONSTRAINT; Schema: public; Owner: cr; Tablespace:
--

ALTER TABLE ONLY flyspray_notification_recipients
    ADD CONSTRAINT flyspray_notification_recipients_pkey PRIMARY KEY (recipient_id);


--
-- Name: flyspray_notifications_pkey; Type: CONSTRAINT; Schema: public; Owner: cr; Tablespace:
--

ALTER TABLE ONLY flyspray_notifications
    ADD CONSTRAINT flyspray_notifications_pkey PRIMARY KEY (notify_id);


--
-- Name: flyspray_prefs_pkey; Type: CONSTRAINT; Schema: public; Owner: cr; Tablespace:
--

ALTER TABLE ONLY flyspray_prefs
    ADD CONSTRAINT flyspray_prefs_pkey PRIMARY KEY (pref_id);


--
-- Name: flyspray_projects_pkey; Type: CONSTRAINT; Schema: public; Owner: cr; Tablespace:
--

ALTER TABLE ONLY flyspray_projects
    ADD CONSTRAINT flyspray_projects_pkey PRIMARY KEY (project_id);


--
-- Name: flyspray_registrations_pkey; Type: CONSTRAINT; Schema: public; Owner: cr; Tablespace:
--

ALTER TABLE ONLY flyspray_registrations
    ADD CONSTRAINT flyspray_registrations_pkey PRIMARY KEY (reg_id);


--
-- Name: flyspray_related_pkey; Type: CONSTRAINT; Schema: public; Owner: cr; Tablespace:
--

ALTER TABLE ONLY flyspray_related
    ADD CONSTRAINT flyspray_related_pkey PRIMARY KEY (related_id);


--
-- Name: flyspray_reminders_pkey; Type: CONSTRAINT; Schema: public; Owner: cr; Tablespace:
--

ALTER TABLE ONLY flyspray_reminders
    ADD CONSTRAINT flyspray_reminders_pkey PRIMARY KEY (reminder_id);


--
-- Name: flyspray_tasks_pkey; Type: CONSTRAINT; Schema: public; Owner: cr; Tablespace:
--

ALTER TABLE ONLY flyspray_tasks
    ADD CONSTRAINT flyspray_tasks_pkey PRIMARY KEY (task_id);


--
-- Name: flyspray_users_in_groups_pkey; Type: CONSTRAINT; Schema: public; Owner: cr; Tablespace:
--

ALTER TABLE ONLY flyspray_users_in_groups
    ADD CONSTRAINT flyspray_users_in_groups_pkey PRIMARY KEY (record_id);


--
-- Name: flyspray_users_pkey; Type: CONSTRAINT; Schema: public; Owner: cr; Tablespace:
--

ALTER TABLE ONLY flyspray_users
    ADD CONSTRAINT flyspray_users_pkey PRIMARY KEY (user_id);


--
-- PostgreSQL database dump complete
--