blob: 3da9e4fd184a68f232ca874198c060fa6fd4e65a (
plain)
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
|
---
application_settings:
- table: push_rules
column: push_rule_id
on_delete: async_nullify
- table: users
column: usage_stats_set_by_user_id
on_delete: async_nullify
- table: namespaces
column: instance_administrators_group_id
on_delete: async_nullify
- table: projects
column: file_template_project_id
on_delete: async_nullify
- table: projects
column: instance_administration_project_id
on_delete: async_nullify
- table: namespaces
column: custom_project_templates_group_id
on_delete: async_nullify
ci_build_report_results:
- table: projects
column: project_id
on_delete: async_delete
ci_builds:
- table: users
column: user_id
on_delete: async_nullify
- table: projects
column: project_id
on_delete: async_delete
- table: ci_runners
column: runner_id
on_delete: async_nullify
ci_daily_build_group_report_results:
- table: namespaces
column: group_id
on_delete: async_delete
- table: projects
column: project_id
on_delete: async_delete
ci_editor_ai_conversation_messages:
- table: projects
column: project_id
on_delete: async_delete
- table: users
column: user_id
on_delete: async_delete
ci_freeze_periods:
- table: projects
column: project_id
on_delete: async_delete
ci_group_variables:
- table: namespaces
column: group_id
on_delete: async_delete
ci_job_artifacts:
- table: projects
column: project_id
on_delete: async_delete
ci_job_token_project_scope_links:
- table: users
column: added_by_id
on_delete: async_nullify
- table: projects
column: source_project_id
on_delete: async_delete
- table: projects
column: target_project_id
on_delete: async_delete
ci_minutes_additional_packs:
- table: namespaces
column: namespace_id
on_delete: async_delete
ci_namespace_mirrors:
- table: namespaces
column: namespace_id
on_delete: async_delete
ci_pending_builds:
- table: namespaces
column: namespace_id
on_delete: async_delete
- table: projects
column: project_id
on_delete: async_delete
ci_pipeline_artifacts:
- table: projects
column: project_id
on_delete: async_delete
ci_pipeline_chat_data:
- table: chat_names
column: chat_name_id
on_delete: async_delete
ci_pipeline_metadata:
- table: projects
column: project_id
on_delete: async_delete
ci_pipeline_schedules:
- table: users
column: owner_id
on_delete: async_nullify
- table: projects
column: project_id
on_delete: async_delete
ci_pipelines:
- table: merge_requests
column: merge_request_id
on_delete: async_delete
- table: users
column: user_id
on_delete: async_nullify
- table: projects
column: project_id
on_delete: async_delete
ci_project_mirrors:
- table: projects
column: project_id
on_delete: async_delete
- table: namespaces
column: namespace_id
on_delete: async_delete
ci_project_monthly_usages:
- table: projects
column: project_id
on_delete: async_delete
ci_refs:
- table: projects
column: project_id
on_delete: async_delete
ci_resource_groups:
- table: projects
column: project_id
on_delete: async_delete
ci_runner_namespaces:
- table: namespaces
column: namespace_id
on_delete: async_delete
ci_runner_projects:
- table: projects
column: project_id
on_delete: async_delete
ci_runners:
- table: users
column: creator_id
on_delete: async_nullify
ci_running_builds:
- table: projects
column: project_id
on_delete: async_delete
ci_secure_files:
- table: projects
column: project_id
on_delete: async_delete
ci_sources_pipelines:
- table: projects
column: source_project_id
on_delete: async_delete
- table: projects
column: project_id
on_delete: async_delete
ci_sources_projects:
- table: projects
column: source_project_id
on_delete: async_delete
ci_stages:
- table: projects
column: project_id
on_delete: async_delete
ci_subscriptions_projects:
- table: projects
column: downstream_project_id
on_delete: async_delete
- table: projects
column: upstream_project_id
on_delete: async_delete
- table: users
column: author_id
on_delete: async_delete
ci_triggers:
- table: users
column: owner_id
on_delete: async_delete
- table: projects
column: project_id
on_delete: async_delete
ci_unit_tests:
- table: projects
column: project_id
on_delete: async_delete
ci_variables:
- table: projects
column: project_id
on_delete: async_delete
dast_pre_scan_verifications:
- table: ci_pipelines
column: ci_pipeline_id
on_delete: async_delete
dast_profiles_pipelines:
- table: ci_pipelines
column: ci_pipeline_id
on_delete: async_delete
dast_profiles_tags:
- table: tags
column: tag_id
on_delete: async_delete
dast_scanner_profiles_builds:
- table: ci_builds
column: ci_build_id
on_delete: async_delete
- table: p_ci_builds
column: ci_build_id
on_delete: async_delete
dast_scanner_profiles_tags:
- table: tags
column: tag_id
on_delete: async_delete
dast_site_profiles_builds:
- table: ci_builds
column: ci_build_id
on_delete: async_delete
- table: p_ci_builds
column: ci_build_id
on_delete: async_delete
dast_site_profiles_pipelines:
- table: ci_pipelines
column: ci_pipeline_id
on_delete: async_delete
deployment_clusters:
- table: clusters
column: cluster_id
on_delete: async_delete
deployments:
- table: clusters
column: cluster_id
on_delete: async_nullify
external_pull_requests:
- table: projects
column: project_id
on_delete: async_delete
merge_request_metrics:
- table: ci_pipelines
column: pipeline_id
on_delete: async_nullify
merge_requests:
- table: ci_pipelines
column: head_pipeline_id
on_delete: async_nullify
merge_trains:
- table: ci_pipelines
column: pipeline_id
on_delete: async_nullify
ml_candidates:
- table: ci_builds
column: ci_build_id
on_delete: async_nullify
- table: p_ci_builds
column: ci_build_id
on_delete: async_nullify
namespaces:
- table: organizations
column: organization_id
on_delete: async_nullify
p_ci_builds_metadata:
- table: projects
column: project_id
on_delete: async_delete
p_ci_runner_machine_builds:
- table: ci_runner_machines
column: runner_machine_id
on_delete: async_delete
packages_build_infos:
- table: ci_pipelines
column: pipeline_id
on_delete: async_nullify
packages_package_file_build_infos:
- table: ci_pipelines
column: pipeline_id
on_delete: async_nullify
pages_deployments:
- table: ci_builds
column: ci_build_id
on_delete: async_nullify
- table: p_ci_builds
column: ci_build_id
on_delete: async_nullify
requirements_management_test_reports:
- table: ci_builds
column: build_id
on_delete: async_nullify
- table: p_ci_builds
column: build_id
on_delete: async_nullify
sbom_occurrences:
- table: ci_pipelines
column: pipeline_id
on_delete: async_nullify
security_scans:
- table: ci_builds
column: build_id
on_delete: async_delete
- table: p_ci_builds
column: build_id
on_delete: async_delete
terraform_state_versions:
- table: ci_builds
column: ci_build_id
on_delete: async_nullify
- table: p_ci_builds
column: ci_build_id
on_delete: async_nullify
user_details:
- table: namespaces
column: provisioned_by_group_id
on_delete: async_nullify
- table: namespaces
column: enterprise_group_id
on_delete: async_nullify
vulnerability_feedback:
- table: ci_pipelines
column: pipeline_id
on_delete: async_nullify
vulnerability_occurrence_pipelines:
- table: ci_pipelines
column: pipeline_id
on_delete: async_delete
vulnerability_state_transitions:
- table: ci_pipelines
column: state_changed_at_pipeline_id
on_delete: async_nullify
vulnerability_statistics:
- table: ci_pipelines
column: latest_pipeline_id
on_delete: async_nullify
|