File: DefaultValues_2_5.sql

package info (click to toggle)
gforge 4.5.14-22etch13
  • links: PTS
  • area: main
  • in suites: etch
  • size: 13,004 kB
  • ctags: 11,918
  • sloc: php: 36,047; sql: 29,050; sh: 10,538; perl: 6,496; xml: 3,810; makefile: 341; python: 263; ansic: 256
file content (198 lines) | stat: -rw-r--r-- 8,047 bytes parent folder | download | duplicates (3)
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
--
--	SourceForge: Breaking Down the Barriers to Open Source Development
--	Copyright 1999-2000 (c) The SourceForge Crew
--	http://sourceforge.net
--
--	The values in this file must be inserted in order
--	and must be complete or you will have referential integrity problems
--

--
--      Default Data for 'groups'
--
INSERT INTO groups (group_id) VALUES (1);

INSERT INTO supported_languages VALUES (1,'English','English.class','English');
INSERT INTO supported_languages VALUES (2,'Japanese','Japanese.class','Japanese');
INSERT INTO supported_languages VALUES (3,'Hebrew','Hebrew.class','Hebrew');
INSERT INTO supported_languages VALUES (4,'Spanish','Spanish.class','Spanish');
INSERT INTO supported_languages VALUES (5,'Thai','Thai.class','Thai');
INSERT INTO supported_languages VALUES (6,'German','German.class','German');
INSERT INTO supported_languages VALUES (7,'French','French.class','French');
INSERT INTO supported_languages VALUES (8,'Italian','Italian.class','Italian');
INSERT INTO supported_languages VALUES (9,'Norwegian','Norwegian.class','Norwegian');
INSERT INTO supported_languages VALUES (10,'Swedish','Swedish.class','Swedish');
INSERT INTO supported_languages VALUES (11,'Chinese','Chinese.class','Chinese');
INSERT INTO supported_languages VALUES (12,'Dutch','Dutch.class','Dutch');
INSERT INTO supported_languages VALUES (13,'Esperanto','Esperanto.class','Esperanto');
INSERT INTO supported_languages VALUES (14,'Catalan','Catalan.class','Catalan');

--
--      Default Data for 'users'
--
INSERT INTO users (user_id, user_name, email, user_pw)  
VALUES (100,'None','noreply@sourceforge.net','*********34343');

--
--	Default data for table 'bug_resolution'
--
INSERT INTO bug_resolution (resolution_id, resolution_name) VALUES (1,'Fixed');
INSERT INTO bug_resolution (resolution_id, resolution_name) VALUES (2,'Invalid');
INSERT INTO bug_resolution (resolution_id, resolution_name) VALUES (3,'Wont Fix');
INSERT INTO bug_resolution (resolution_id, resolution_name) VALUES (4,'Later');
INSERT INTO bug_resolution (resolution_id, resolution_name) VALUES (5,'Remind');
INSERT INTO bug_resolution (resolution_id, resolution_name) VALUES (6,'Works For Me');
INSERT INTO bug_resolution (resolution_id, resolution_name) VALUES (100,'None');
INSERT INTO bug_resolution (resolution_id, resolution_name) VALUES (101,'Duplicate');

--
--	Default data for table 'bug_status'
--
INSERT INTO bug_status (status_id, status_name) VALUES (1,'Open');
INSERT INTO bug_status (status_id, status_name) VALUES (3,'Closed');
INSERT INTO bug_status (status_id, status_name) VALUES (100,'None');

--
--	Default data for bug_category
--
INSERT INTO bug_category (bug_category_id, group_id, category_name) VALUES (100,1,'None');

--
--	Default data for bug_group
--
INSERT INTO bug_group (bug_group_id, group_id, group_name) VALUES (100,1,'None');

--
--	Default data for bug - required for dependent tasks/bugs
--
INSERT INTO bug (bug_id,group_id,status_id,category_id,bug_group_id,submitted_by,assigned_to,resolution_id)
	VALUES (100,1,100,100,100,100,100,100);
--NOTE - if using sequences, you may have to update the bug_id sequence here

--
--	Default data for table 'patch_category'
--
INSERT INTO patch_category (patch_category_id, group_id, category_name) VALUES (100,1,'None');

--
--	Default data for table 'patch_status'
--
INSERT INTO patch_status (patch_status_id, status_name) VALUES (1,'Open');
INSERT INTO patch_status (patch_status_id, status_name) VALUES (2,'Closed');
INSERT INTO patch_status (patch_status_id, status_name) VALUES (3,'Deleted');
INSERT INTO patch_status (patch_status_id, status_name) VALUES (4,'Postponed');
INSERT INTO patch_status (patch_status_id, status_name) VALUES (100,'None');

--
--	Default values for patch
--
INSERT INTO patch (group_id,patch_status_id,patch_category_id,submitted_by,assigned_to)
	VALUES (1,100,100,100,100);

--
--	Default data for table 'project_status'
--
INSERT INTO project_status (status_id, status_name) VALUES (1,'Open');
INSERT INTO project_status (status_id, status_name) VALUES (2,'Closed');
INSERT INTO project_status (status_id, status_name) VALUES (100,'None');
INSERT INTO project_status (status_id, status_name) VALUES (3,'Deleted');

--
--	Default data for project_group_list
--
INSERT INTO project_group_list (group_project_id,group_id) VALUES (1,1);
--NOTE - if using sequences, you may have to update the group_project_id sequence here

--
--	Default data for project_task
--
INSERT INTO project_task (group_project_id,created_by,status_id)
	VALUES (1,100,100);

--
--	Default Data for 'survey_question_types'
--
INSERT INTO survey_question_types (id, type) VALUES (1,'Radio Buttons 1-5');
INSERT INTO survey_question_types (id, type) VALUES (2,'Text Area');
INSERT INTO survey_question_types (id, type) VALUES (3,'Radio Buttons Yes/No');
INSERT INTO survey_question_types (id, type) VALUES (4,'Comment Only');
INSERT INTO survey_question_types (id, type) VALUES (5,'Text Field');
INSERT INTO survey_question_types (id, type) VALUES (100,'None');

--
--	Default data for Support System
--
insert into support_status values('1','Open');
insert into support_status values('2','Closed');
insert into support_status values('3','Deleted');

--
--	Default data for 'support_category'
--
insert into support_category VALUES ('100','1','None');

--
--	Default data for Help Wanted System
--
INSERT INTO people_skill_year VALUES ('1','< 6 Months');
INSERT INTO people_skill_year VALUES ('2','6 Mo - 2 yr');
INSERT INTO people_skill_year VALUES ('3','2 yr - 5 yr');
INSERT INTO people_skill_year VALUES ('4','5 yr - 10 yr');
INSERT INTO people_skill_year VALUES ('5','> 10 years');

INSERT INTO people_skill_level VALUES ('1','Want to Learn');
INSERT INTO people_skill_level VALUES ('2','Competent');
INSERT INTO people_skill_level VALUES ('3','Wizard');
INSERT INTO people_skill_level VALUES ('4','Wrote The Book');
INSERT INTO people_skill_level VALUES ('5','Wrote It');

INSERT INTO people_job_category VALUES ('1','Developer');
INSERT INTO people_job_category VALUES ('2','Project Manager');
INSERT INTO people_job_category VALUES ('3','Unix Admin');
INSERT INTO people_job_category VALUES ('4','Doc Writer');
INSERT INTO people_job_category VALUES ('5','Tester');
INSERT INTO people_job_category VALUES ('6','Support Manager');
INSERT INTO people_job_category VALUES ('7','Graphic/Other Designer');

INSERT INTO people_job_status VALUES ('1','Open');
INSERT INTO people_job_status VALUES ('2','Filled');
INSERT INTO people_job_status VALUES ('3','Deleted');

--
--	Default data for group_type
--
INSERT INTO group_type VALUES ('1','Project');
INSERT INTO group_type VALUES ('2','Foundry');

--
--	Default data for new filerelease system
--
INSERT INTO frs_filetype VALUES ('1000','.deb');
INSERT INTO frs_filetype VALUES ('2000','.rpm');
INSERT INTO frs_filetype VALUES ('3000','.zip');
INSERT INTO frs_filetype VALUES ('3001','.bz2');
INSERT INTO frs_filetype VALUES ('3002','.gz');
INSERT INTO frs_filetype VALUES ('5000','Source .zip');
INSERT INTO frs_filetype VALUES ('5001','Source .bz2');
INSERT INTO frs_filetype VALUES ('5002','Source .gz');
INSERT INTO frs_filetype VALUES ('5100','Source .rpm');
INSERT INTO frs_filetype VALUES ('5900','Other Source File');
INSERT INTO frs_filetype VALUES ('8000','.jpg');
INSERT INTO frs_filetype VALUES ('8001','text');
INSERT INTO frs_filetype VALUES ('8002','html');
INSERT INTO frs_filetype VALUES ('8003','pdf');
INSERT INTO frs_filetype VALUES ('9999','Other');

INSERT INTO frs_status VALUES ('1','Active');
INSERT INTO frs_status VALUES ('3','Hidden');

INSERT INTO frs_processor VALUES ('1000','i386');
INSERT INTO frs_processor VALUES ('6000','IA64');
INSERT INTO frs_processor VALUES ('7000','Alpha');
INSERT INTO frs_processor VALUES ('8000','Any');
INSERT INTO frs_processor VALUES ('2000','PPC');
INSERT INTO frs_processor VALUES ('3000','MIPS');
INSERT INTO frs_processor VALUES ('4000','Sparc');
INSERT INTO frs_processor VALUES ('5000','UltraSparc');
INSERT INTO frs_processor VALUES ('9999','Other');