-
Notifications
You must be signed in to change notification settings - Fork 0
/
constraints.html
380 lines (376 loc) · 23.8 KB
/
constraints.html
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>openproject Database</title>
<!-- Tell the browser to be responsive to screen width -->
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="icon" type="image/png" sizes="16x16" href="favicon.png">
<!-- Bootstrap 3.3.5 -->
<link rel="stylesheet" href="bower/admin-lte/bootstrap/css/bootstrap.min.css">
<!-- Font Awesome -->
<link rel="stylesheet" href="bower/font-awesome/css/font-awesome.min.css">
<!-- Ionicons -->
<link rel="stylesheet" href="bower/ionicons/css/ionicons.min.css">
<!-- DataTables -->
<link rel="stylesheet" href="bower/datatables.net-bs/css/dataTables.bootstrap.min.css">
<link rel="stylesheet" href="bower/datatables.net-buttons-bs/css/buttons.bootstrap.min.css">
<!-- Code Mirror -->
<link rel="stylesheet" href="bower/codemirror/codemirror.css">
<!-- Fonts -->
<link href='fonts/indieflower/indie-flower.css' rel='stylesheet' type='text/css'>
<link href='fonts/source-sans-pro/source-sans-pro.css' rel='stylesheet' type='text/css'>
<!-- Theme style -->
<link rel="stylesheet" href="bower/admin-lte/dist/css/AdminLTE.min.css">
<!-- Salvattore -->
<link rel="stylesheet" href="bower/salvattore/salvattore.css">
<!-- AdminLTE Skins. Choose a skin from the css/skins
folder instead of downloading all of them to reduce the load. -->
<link rel="stylesheet" href="bower/admin-lte/dist/css/skins/_all-skins.min.css">
<!-- SchemaSpy -->
<link rel="stylesheet" href="schemaSpy.css">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="bower/html5shiv/html5shiv.min.js"></script>
<script src="bower/respond/respond.min.js"></script>
<![endif]-->
</head>
<!-- ADD THE CLASS layout-top-nav TO REMOVE THE SIDEBAR. -->
<body class="hold-transition skin-blue layout-top-nav">
<div class="wrapper">
<header class="main-header">
<nav class="navbar navbar-static-top">
<div class="container">
<div class="navbar-header">
<a href="index.html" class="navbar-brand"><b>openproject</b> Database</a>
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse"><i class="fa fa-bars"></i></button>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse pull-left" id="navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="index.html">Tables <span class="sr-only">(current)</span></a></li>
<li><a href="columns.html" title="All of the columns in the schema">Columns</a></li>
<li><a href="constraints.html" title="Useful for diagnosing error messages that just give constraint name or number">Constraints</a></li>
<li><a href="relationships.html" title="Diagram of table relationships">Relationships</a></li>
<li><a href="orphans.html" title="View of tables with neither parents nor children">Orphan Tables</a></li>
<li><a href="anomalies.html" title="Things that might not be quite right">Anomalies</a></li>
<li><a href="routines.html" title="Procedures and functions">Routines</a></li>
</ul>
</div>
<!-- /.navbar-collapse -->
<!-- Navbar Right Menu -->
</div>
<!-- /.container-fluid -->
</nav>
</header>
<!-- Main content -->
<!-- Full Width Column -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>Constraints</h1>
</section>
<!-- Main content -->
<section class="content">
<div class="box box-primary">
<div class="box-header with-border">
<i class="ion ion-key"></i>
<h3 class="box-title">11 Foreign Key Constraints</h3>
<div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i></button>
<button type="button" class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i></button>
</div>
</div>
<div class="box-body">
<table id="fk_table" class="table table-bordered table-striped dataTable" role="grid">
<thead align='left'>
<tr>
<th>Constraint Name</th>
<th>Child Column</th>
<th>Parent Column</th>
<th>Delete Rule</th>
</tr>
</thead>
<tbody>
<tr>
<td>fk_rails_551257cdac</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/webhooks_logs.html'>webhooks_logs</a><span>.webhooks_webhook_id</span></td>
</tr>
</table>
</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/webhooks_webhooks.html'>webhooks_webhooks</a><span>.id</span></td>
</tr>
</table>
</td>
<td><span title='Cascade on delete: Deletion of parent deletes child'>Cascade on delete</span></td>
</tr>
<tr>
<td>fk_rails_fe038e4e03</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/ordered_work_packages.html'>ordered_work_packages</a><span>.work_package_id</span></td>
</tr>
</table>
</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/work_packages.html'>work_packages</a><span>.id</span></td>
</tr>
</table>
</td>
<td><span title='Cascade on delete: Deletion of parent deletes child'>Cascade on delete</span></td>
</tr>
<tr>
<td>fk_rails_e99c4d5dfe</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/ordered_work_packages.html'>ordered_work_packages</a><span>.query_id</span></td>
</tr>
</table>
</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/queries.html'>queries</a><span>.id</span></td>
</tr>
</table>
</td>
<td><span title='Cascade on delete: Deletion of parent deletes child'>Cascade on delete</span></td>
</tr>
<tr>
<td>fk_rails_0b09e132e7</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/two_factor_authentication_devices.html'>two_factor_authentication_devices</a><span>.user_id</span></td>
</tr>
</table>
</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/users.html'>users</a><span>.id</span></td>
</tr>
</table>
</td>
<td><span title='Restrict delete: Parent cannot be deleted if children exist'>Restrict delete</span></td>
</tr>
<tr>
<td>fk_rails_cc886e315a</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/oauth_applications.html'>oauth_applications</a><span>.owner_id</span></td>
</tr>
</table>
</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/users.html'>users</a><span>.id</span></td>
</tr>
</table>
</td>
<td><span title='Null on delete: Foreign key to parent set to NULL when parent deleted'>Null on delete</span></td>
</tr>
<tr>
<td>fk_rails_3d1f3b58d2</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/oauth_applications.html'>oauth_applications</a><span>.client_credentials_user_id</span></td>
</tr>
</table>
</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/users.html'>users</a><span>.id</span></td>
</tr>
</table>
</td>
<td><span title='Null on delete: Foreign key to parent set to NULL when parent deleted'>Null on delete</span></td>
</tr>
<tr>
<td>fk_rails_a166925c91</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/webhooks_events.html'>webhooks_events</a><span>.webhooks_webhook_id</span></td>
</tr>
</table>
</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/webhooks_webhooks.html'>webhooks_webhooks</a><span>.id</span></td>
</tr>
</table>
</td>
<td><span title='Restrict delete: Parent cannot be deleted if children exist'>Restrict delete</span></td>
</tr>
<tr>
<td>fk_rails_732cb83ab7</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/oauth_access_tokens.html'>oauth_access_tokens</a><span>.application_id</span></td>
</tr>
</table>
</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/oauth_applications.html'>oauth_applications</a><span>.id</span></td>
</tr>
</table>
</td>
<td><span title='Restrict delete: Parent cannot be deleted if children exist'>Restrict delete</span></td>
</tr>
<tr>
<td>fk_rails_e978b5e3d7</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/webhooks_projects.html'>webhooks_projects</a><span>.project_id</span></td>
</tr>
</table>
</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/projects.html'>projects</a><span>.id</span></td>
</tr>
</table>
</td>
<td><span title='Restrict delete: Parent cannot be deleted if children exist'>Restrict delete</span></td>
</tr>
<tr>
<td>fk_rails_d7ea5de5b8</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/webhooks_projects.html'>webhooks_projects</a><span>.webhooks_webhook_id</span></td>
</tr>
</table>
</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/webhooks_webhooks.html'>webhooks_webhooks</a><span>.id</span></td>
</tr>
</table>
</td>
<td><span title='Restrict delete: Parent cannot be deleted if children exist'>Restrict delete</span></td>
</tr>
<tr>
<td>fk_rails_b4b53e07b8</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/oauth_access_grants.html'>oauth_access_grants</a><span>.application_id</span></td>
</tr>
</table>
</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/oauth_applications.html'>oauth_applications</a><span>.id</span></td>
</tr>
</table>
</td>
<td><span title='Restrict delete: Parent cannot be deleted if children exist'>Restrict delete</span></td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="box box-primary">
<div class="box-header with-border">
<i class="fa fa-sitemap"></i>
<h3 class="box-title">Check Constraints</h3>
<div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i></button>
<button type="button" class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i></button>
</div>
</div>
<div class="box-body">
<table id="check_table" class="table table-bordered table-striped dataTable" role="grid">
<thead align='left'>
<tr>
<th>Table</th>
<th>Constraint Name</th>
<th>Constraint</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</div>
</section>
<script>
var config = {
pagination: true
}
</script>
</div>
<!-- /.content-wrapper -->
<footer class="main-footer">
<div>
<div class="pull-right hidden-xs">
<a href="https://github.com/schemaspy/schemaspy" title="GitHub for SchemaSpy"><i class="fa fa-github-square fa-2x"></i></a>
<a href="http://stackoverflow.com/questions/tagged/schemaspy" title="StackOverflow for SchemaSpy"><i class="fa fa-stack-overflow fa-2x"></i></a>
</div>
<strong>Generated by <a href="http://schemaspy.org/" class="logo-text"><i class="fa fa-database"></i> SchemaSpy 6.1.0</a></strong>
</div>
<!-- /.container -->
</footer>
</div>
<!-- ./wrapper -->
<!-- jQuery 2.2.3 -->
<script src="bower/admin-lte/plugins/jQuery/jquery-2.2.3.min.js"></script>
<script src="bower/admin-lte/plugins/jQueryUI/jquery-ui.min.js"></script>
<!-- Bootstrap 3.3.5 -->
<script src="bower/admin-lte/bootstrap/js/bootstrap.min.js"></script>
<!-- DataTables -->
<script src="bower/datatables.net/jquery.dataTables.min.js"></script>
<script src="bower/datatables.net-bs/js/dataTables.bootstrap.min.js"></script>
<script src="bower/datatables.net-buttons/dataTables.buttons.min.js"></script>
<script src="bower/datatables.net-buttons-bs/js/buttons.bootstrap.min.js"></script>
<script src="bower/datatables.net-buttons/buttons.html5.min.js"></script>
<script src="bower/datatables.net-buttons/buttons.print.min.js"></script>
<script src="bower/datatables.net-buttons/buttons.colVis.min.js"></script>
<!-- SheetJS -->
<script src="bower/js-xlsx/xlsx.full.min.js"></script>
<!-- pdfmake -->
<script src="bower/pdfmake/pdfmake.min.js"></script>
<script src="bower/pdfmake/vfs_fonts.js"></script>
<!-- SlimScroll -->
<script src="bower/admin-lte/plugins/slimScroll/jquery.slimscroll.min.js"></script>
<!-- FastClick -->
<script src="bower/admin-lte/plugins/fastclick/fastclick.js"></script>
<!-- Salvattore -->
<script src="bower/salvattore/salvattore.min.js"></script>
<!-- AnchorJS -->
<script src="bower/anchor-js/anchor.min.js"></script>
<!-- CodeMirror -->
<script src="bower/codemirror/codemirror.js"></script>
<script src="bower/codemirror/sql.js"></script>
<!-- AdminLTE App -->
<script src="bower/admin-lte/dist/js/app.min.js"></script>
<script src="constraint.js"></script>
<script src="schemaSpy.js"></script>
</body>
</html>