-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconstraints.html
executable file
·272 lines (272 loc) · 12.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
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN' 'http://www.w3.org/TR/html4/loose.dtd'>
<html>
<head>
<!-- SchemaSpy rev 590 -->
<title>SchemaSpy - keepworks.public - Constraints</title>
<link rel=stylesheet href='schemaSpy.css' type='text/css'>
<meta HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=ISO-8859-1'>
<SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript' SRC='jquery.js'></SCRIPT>
<SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript' SRC='schemaSpy.js'></SCRIPT>
</head>
<body>
<table id='headerHolder' cellspacing='0' cellpadding='0'><tr><td>
<div id='header'>
<ul>
<li><a href='index.html' title='All tables and views in the schema'>Tables</a></li>
<li><a href='relationships.html' title='Diagram of table relationships'>Relationships</a></li>
<li id='current'><a href='constraints.html' title='Useful for diagnosing error messages that just give constraint name or number'>Constraints</a></li>
<li><a href='anomalies.html' title="Things that might not be quite right">Anomalies</a></li>
<li><a href='columns.byTable.html' title="All of the columns in the schema">Columns</a></li>
<li><a href='http://sourceforge.net/donate/index.php?group_id=137197' title='Please help keep SchemaSpy alive' target='_blank'>Donate</a></li>
</ul>
</div>
</td></tr></table>
<div class='content' style='clear:both;'>
<table width='100%' border='0' cellpadding='0'>
<tr>
<td class='heading' valign='middle'><span class='header'>SchemaSpy Analysis of <span title='Database'>keepworks</span>.<span title='Schema'>public</span> - Constraints</span></td>
<td class='heading' align='right' valign='top' title='John Currier - Creator of Cool Tools'><span class='indent'>Generated by</span><br><span class='indent'><span class='signature'><a href='http://schemaspy.sourceforge.net' target='_blank'>SchemaSpy</a></span></span></td>
</tr>
</table>
<div class='indent'>
<table width='100%'>
<tr><td class='container' valign='bottom'><b>
25 Foreign Key Constraints:</b>
</td><td class='container' align='right'>
<table>
<tr><td class='container' align='right' valign='top'><a href='http://sourceforge.net' target='_blank'><img src='http://sourceforge.net/sflogo.php?group_id=137197&type=1' alt='SourceForge.net' border='0' height='31' width='88'></a></td></tr>
<tr><td class='container'>
<div style="margin-right: 2pt;">
<script type="text/javascript"><!--
google_ad_client = "pub-9598353634003340";
google_ad_channel ="SchemaSpy-generated";
google_ad_width = 234;
google_ad_height = 60;
google_ad_format = "234x60_as";
google_ad_type = "text";
google_color_border = "9bab96";
google_color_link = "489148";
google_color_text = "000000";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
</td></tr></table>
</td></tr>
</table><br>
<table class='dataTable' border='1' rules='groups'>
<colgroup>
<colgroup>
<colgroup>
<colgroup>
<thead align='left'>
<tr>
<th>Constraint Name</th>
<th>Child Column</th>
<th>Parent Column</th>
<th>Delete Rule</th>
</tr>
</thead>
<tbody>
<tr class='even'>
<td class='detail'>district_state_id_fkey</td>
<td class='detail'><a href='tables/district.html'>district</a>.state_id</td>
<td class='detail'><a href='tables/state.html'>state</a>.state_id</td>
<td class='detail'><span title='Restrict delete:
Parent cannot be deleted if children exist'>Restrict delete </span></td>
</tr>
<tr class='odd'>
<td class='detail'>state_country_id_fkey</td>
<td class='detail'><a href='tables/state.html'>state</a>.country_id</td>
<td class='detail'><a href='tables/country.html'>country</a>.country_id</td>
<td class='detail'><span title='Restrict delete:
Parent cannot be deleted if children exist'>Restrict delete </span></td>
</tr>
<tr class='even'>
<td class='detail'>user_comments_event_id_fkey</td>
<td class='detail'><a href='tables/user_comments.html'>user_comments</a>.event_id</td>
<td class='detail'><a href='tables/user_events.html'>user_events</a>.id</td>
<td class='detail'><span title='Restrict delete:
Parent cannot be deleted if children exist'>Restrict delete </span></td>
</tr>
<tr class='odd'>
<td class='detail'>user_comments_story_id_fkey</td>
<td class='detail'><a href='tables/user_comments.html'>user_comments</a>.story_id</td>
<td class='detail'><a href='tables/user_stories.html'>user_stories</a>.id</td>
<td class='detail'><span title='Restrict delete:
Parent cannot be deleted if children exist'>Restrict delete </span></td>
</tr>
<tr class='even'>
<td class='detail'>user_comments_user_id_fkey</td>
<td class='detail'><a href='tables/user_comments.html'>user_comments</a>.user_id</td>
<td class='detail'><a href='tables/user_credentials.html'>user_credentials</a>.id</td>
<td class='detail'><span title='Restrict delete:
Parent cannot be deleted if children exist'>Restrict delete </span></td>
</tr>
<tr class='odd'>
<td class='detail'>user_credentials_user_type_fkey</td>
<td class='detail'><a href='tables/user_credentials.html'>user_credentials</a>.user_type</td>
<td class='detail'><a href='tables/user_types.html'>user_types</a>.user_type</td>
<td class='detail'><span title='Restrict delete:
Parent cannot be deleted if children exist'>Restrict delete </span></td>
</tr>
<tr class='even'>
<td class='detail'>user_details_country_id_fkey</td>
<td class='detail'><a href='tables/user_details.html'>user_details</a>.country_id</td>
<td class='detail'><a href='tables/country.html'>country</a>.country_id</td>
<td class='detail'><span title='Restrict delete:
Parent cannot be deleted if children exist'>Restrict delete </span></td>
</tr>
<tr class='odd'>
<td class='detail'>user_details_district_id_fkey</td>
<td class='detail'><a href='tables/user_details.html'>user_details</a>.district_id</td>
<td class='detail'><a href='tables/district.html'>district</a>.district_id</td>
<td class='detail'><span title='Restrict delete:
Parent cannot be deleted if children exist'>Restrict delete </span></td>
</tr>
<tr class='even'>
<td class='detail'>user_details_state_id_fkey</td>
<td class='detail'><a href='tables/user_details.html'>user_details</a>.state_id</td>
<td class='detail'><a href='tables/state.html'>state</a>.state_id</td>
<td class='detail'><span title='Restrict delete:
Parent cannot be deleted if children exist'>Restrict delete </span></td>
</tr>
<tr class='odd'>
<td class='detail'>user_details_user_id_fkey</td>
<td class='detail'><a href='tables/user_details.html'>user_details</a>.user_id</td>
<td class='detail'><a href='tables/user_credentials.html'>user_credentials</a>.id</td>
<td class='detail'><span title='Restrict delete:
Parent cannot be deleted if children exist'>Restrict delete </span></td>
</tr>
<tr class='even'>
<td class='detail'>user_event_attendance_attendance_fkey</td>
<td class='detail'><a href='tables/user_event_attendance.html'>user_event_attendance</a>.attendance</td>
<td class='detail'><a href='tables/attendance_types.html'>attendance_types</a>.type</td>
<td class='detail'><span title='Restrict delete:
Parent cannot be deleted if children exist'>Restrict delete </span></td>
</tr>
<tr class='odd'>
<td class='detail'>user_event_attendance_event_bid_id_fkey</td>
<td class='detail'><a href='tables/user_event_attendance.html'>user_event_attendance</a>.event_bid_id</td>
<td class='detail'><a href='tables/user_event_bids.html'>user_event_bids</a>.id</td>
<td class='detail'><span title='Restrict delete:
Parent cannot be deleted if children exist'>Restrict delete </span></td>
</tr>
<tr class='even'>
<td class='detail'>user_event_attendance_event_id_fkey</td>
<td class='detail'><a href='tables/user_event_attendance.html'>user_event_attendance</a>.event_id</td>
<td class='detail'><a href='tables/user_events.html'>user_events</a>.id</td>
<td class='detail'><span title='Restrict delete:
Parent cannot be deleted if children exist'>Restrict delete </span></td>
</tr>
<tr class='odd'>
<td class='detail'>user_event_attendance_user_id_fkey</td>
<td class='detail'><a href='tables/user_event_attendance.html'>user_event_attendance</a>.user_id</td>
<td class='detail'><a href='tables/user_credentials.html'>user_credentials</a>.id</td>
<td class='detail'><span title='Restrict delete:
Parent cannot be deleted if children exist'>Restrict delete </span></td>
</tr>
<tr class='even'>
<td class='detail'>user_event_bids_event_id_fkey</td>
<td class='detail'><a href='tables/user_event_bids.html'>user_event_bids</a>.event_id</td>
<td class='detail'><a href='tables/user_events.html'>user_events</a>.id</td>
<td class='detail'><span title='Restrict delete:
Parent cannot be deleted if children exist'>Restrict delete </span></td>
</tr>
<tr class='odd'>
<td class='detail'>user_events_user_id_fkey</td>
<td class='detail'><a href='tables/user_events.html'>user_events</a>.user_id</td>
<td class='detail'><a href='tables/user_credentials.html'>user_credentials</a>.id</td>
<td class='detail'><span title='Restrict delete:
Parent cannot be deleted if children exist'>Restrict delete </span></td>
</tr>
<tr class='even'>
<td class='detail'>user_likes_comment_id_fkey</td>
<td class='detail'><a href='tables/user_likes.html'>user_likes</a>.comment_id</td>
<td class='detail'><a href='tables/user_comments.html'>user_comments</a>.id</td>
<td class='detail'><span title='Restrict delete:
Parent cannot be deleted if children exist'>Restrict delete </span></td>
</tr>
<tr class='odd'>
<td class='detail'>user_likes_event_id_fkey</td>
<td class='detail'><a href='tables/user_likes.html'>user_likes</a>.event_id</td>
<td class='detail'><a href='tables/user_events.html'>user_events</a>.id</td>
<td class='detail'><span title='Restrict delete:
Parent cannot be deleted if children exist'>Restrict delete </span></td>
</tr>
<tr class='even'>
<td class='detail'>user_likes_reply_id_fkey</td>
<td class='detail'><a href='tables/user_likes.html'>user_likes</a>.reply_id</td>
<td class='detail'><a href='tables/user_replies.html'>user_replies</a>.id</td>
<td class='detail'><span title='Restrict delete:
Parent cannot be deleted if children exist'>Restrict delete </span></td>
</tr>
<tr class='odd'>
<td class='detail'>user_likes_story_id_fkey</td>
<td class='detail'><a href='tables/user_likes.html'>user_likes</a>.story_id</td>
<td class='detail'><a href='tables/user_stories.html'>user_stories</a>.id</td>
<td class='detail'><span title='Restrict delete:
Parent cannot be deleted if children exist'>Restrict delete </span></td>
</tr>
<tr class='even'>
<td class='detail'>user_likes_user_id_fkey</td>
<td class='detail'><a href='tables/user_likes.html'>user_likes</a>.user_id</td>
<td class='detail'><a href='tables/user_credentials.html'>user_credentials</a>.id</td>
<td class='detail'><span title='Restrict delete:
Parent cannot be deleted if children exist'>Restrict delete </span></td>
</tr>
<tr class='odd'>
<td class='detail'>user_replies_comment_id_fkey</td>
<td class='detail'><a href='tables/user_replies.html'>user_replies</a>.comment_id</td>
<td class='detail'><a href='tables/user_comments.html'>user_comments</a>.id</td>
<td class='detail'><span title='Restrict delete:
Parent cannot be deleted if children exist'>Restrict delete </span></td>
</tr>
<tr class='even'>
<td class='detail'>user_replies_partent_id_fkey</td>
<td class='detail'><a href='tables/user_replies.html'>user_replies</a>.parent_id</td>
<td class='detail'><a href='tables/user_replies.html'>user_replies</a>.id</td>
<td class='detail'><span title='Restrict delete:
Parent cannot be deleted if children exist'>Restrict delete </span></td>
</tr>
<tr class='odd'>
<td class='detail'>user_replies_user_id_fkey</td>
<td class='detail'><a href='tables/user_replies.html'>user_replies</a>.user_id</td>
<td class='detail'><a href='tables/user_credentials.html'>user_credentials</a>.id</td>
<td class='detail'><span title='Restrict delete:
Parent cannot be deleted if children exist'>Restrict delete </span></td>
</tr>
<tr class='even'>
<td class='detail'>user_stories_user_id_fkey</td>
<td class='detail'><a href='tables/user_stories.html'>user_stories</a>.user_id</td>
<td class='detail'><a href='tables/user_credentials.html'>user_credentials</a>.id</td>
<td class='detail'><span title='Restrict delete:
Parent cannot be deleted if children exist'>Restrict delete </span></td>
</tr>
</tbody>
</table>
<a name='checkConstraints'></a><p>
<b>Check Constraints:</b>
<TABLE class='dataTable' border='1' rules='groups'>
<colgroup>
<colgroup>
<colgroup>
<thead align='left'>
<tr>
<th>Table</th>
<th>Constraint Name</th>
<th>Constraint</th>
</tr>
</thead>
<tbody>
<tr>
<td class='detail' valign='top' colspan='3'>None detected</td>
</tr>
</tbody>
</table>
</div>
</div>
</body>
</html>