-
Notifications
You must be signed in to change notification settings - Fork 5
/
constraints.html
801 lines (797 loc) · 53.9 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
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>blockscout.public</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>blockscout</b></a><span class="navbar-brand" style="padding-left: 0">.public</span>
<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">29 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"
data-paging="true"
data-page-length="50"
data-length-change="false">
<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>token_instances_token_contract_address_hash_fkey</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/token_instances.html'>token_instances</a><span>.token_contract_address_hash</span></td>
</tr>
</table>
</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/tokens.html'>tokens</a><span>.contract_address_hash</span></td>
</tr>
</table>
</td>
<td><span title='Restrict delete: Parent cannot be deleted if children exist'>Restrict delete</span></td>
</tr>
<tr>
<td>account_tag_transactions_identity_id_fkey</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/account_tag_transactions.html'>account_tag_transactions</a><span>.identity_id</span></td>
</tr>
</table>
</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/account_identities.html'>account_identities</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>logs_block_hash_fkey</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/logs.html'>logs</a><span>.block_hash</span></td>
</tr>
</table>
</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/blocks.html'>blocks</a><span>.hash</span></td>
</tr>
</table>
</td>
<td><span title='Restrict delete: Parent cannot be deleted if children exist'>Restrict delete</span></td>
</tr>
<tr>
<td>logs_transaction_hash_fkey</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/logs.html'>logs</a><span>.transaction_hash</span></td>
</tr>
</table>
</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/transactions.html'>transactions</a><span>.hash</span></td>
</tr>
</table>
</td>
<td><span title='Cascade on delete: Deletion of parent deletes child'>Cascade on delete</span></td>
</tr>
<tr>
<td>account_public_tags_requests_identity_id_fkey</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/account_public_tags_requests.html'>account_public_tags_requests</a><span>.identity_id</span></td>
</tr>
</table>
</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/account_identities.html'>account_identities</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>token_transfers_block_hash_fkey</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/token_transfers.html'>token_transfers</a><span>.block_hash</span></td>
</tr>
</table>
</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/blocks.html'>blocks</a><span>.hash</span></td>
</tr>
</table>
</td>
<td><span title='Restrict delete: Parent cannot be deleted if children exist'>Restrict delete</span></td>
</tr>
<tr>
<td>token_transfers_transaction_hash_fkey</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/token_transfers.html'>token_transfers</a><span>.transaction_hash</span></td>
</tr>
</table>
</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/transactions.html'>transactions</a><span>.hash</span></td>
</tr>
</table>
</td>
<td><span title='Cascade on delete: Deletion of parent deletes child'>Cascade on delete</span></td>
</tr>
<tr>
<td>administrators_user_id_fkey</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/administrators.html'>administrators</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='Cascade on delete: Deletion of parent deletes child'>Cascade on delete</span></td>
</tr>
<tr>
<td>transaction_forks_hash_fkey</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/transaction_forks.html'>transaction_forks</a><span>.hash</span></td>
</tr>
</table>
</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/transactions.html'>transactions</a><span>.hash</span></td>
</tr>
</table>
</td>
<td><span title='Cascade on delete: Deletion of parent deletes child'>Cascade on delete</span></td>
</tr>
<tr>
<td>transaction_forks_uncle_hash_fkey</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/transaction_forks.html'>transaction_forks</a><span>.uncle_hash</span></td>
</tr>
</table>
</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/blocks.html'>blocks</a><span>.hash</span></td>
</tr>
</table>
</td>
<td><span title='Cascade on delete: Deletion of parent deletes child'>Cascade on delete</span></td>
</tr>
<tr>
<td>pending_block_operations_block_hash_fkey</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/pending_block_operations.html'>pending_block_operations</a><span>.block_hash</span></td>
</tr>
</table>
</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/blocks.html'>blocks</a><span>.hash</span></td>
</tr>
</table>
</td>
<td><span title='Cascade on delete: Deletion of parent deletes child'>Cascade on delete</span></td>
</tr>
<tr>
<td>account_api_keys_identity_id_fkey</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/account_api_keys.html'>account_api_keys</a><span>.identity_id</span></td>
</tr>
</table>
</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/account_identities.html'>account_identities</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>smart_contracts_additional_sources_address_hash_fkey</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/smart_contracts_additional_sources.html'>smart_contracts_additional_sources</a><span>.address_hash</span></td>
</tr>
</table>
</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/smart_contracts.html'>smart_contracts</a><span>.address_hash</span></td>
</tr>
</table>
</td>
<td><span title='Cascade on delete: Deletion of parent deletes child'>Cascade on delete</span></td>
</tr>
<tr>
<td>account_watchlist_addresses_watchlist_id_fkey</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/account_watchlist_addresses.html'>account_watchlist_addresses</a><span>.watchlist_id</span></td>
</tr>
</table>
</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/account_watchlists.html'>account_watchlists</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>address_to_tags_tag_id_fkey</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/address_to_tags.html'>address_to_tags</a><span>.tag_id</span></td>
</tr>
</table>
</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/address_tags.html'>address_tags</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>account_tag_addresses_identity_id_fkey</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/account_tag_addresses.html'>account_tag_addresses</a><span>.identity_id</span></td>
</tr>
</table>
</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/account_identities.html'>account_identities</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>account_custom_abis_identity_id_fkey</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/account_custom_abis.html'>account_custom_abis</a><span>.identity_id</span></td>
</tr>
</table>
</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/account_identities.html'>account_identities</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>user_contacts_user_id_fkey</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/user_contacts.html'>user_contacts</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='Cascade on delete: Deletion of parent deletes child'>Cascade on delete</span></td>
</tr>
<tr>
<td>transaction_actions_hash_fkey</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/transaction_actions.html'>transaction_actions</a><span>.hash</span></td>
</tr>
</table>
</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/transactions.html'>transactions</a><span>.hash</span></td>
</tr>
</table>
</td>
<td><span title='Cascade on delete: Deletion of parent deletes child'>Cascade on delete</span></td>
</tr>
<tr>
<td>transactions_block_hash_fkey</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/transactions.html'>transactions</a><span>.block_hash</span></td>
</tr>
</table>
</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/blocks.html'>blocks</a><span>.hash</span></td>
</tr>
</table>
</td>
<td><span title='Cascade on delete: Deletion of parent deletes child'>Cascade on delete</span></td>
</tr>
<tr>
<td>internal_transactions_transaction_hash_fkey</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/internal_transactions.html'>internal_transactions</a><span>.transaction_hash</span></td>
</tr>
</table>
</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/transactions.html'>transactions</a><span>.hash</span></td>
</tr>
</table>
</td>
<td><span title='Cascade on delete: Deletion of parent deletes child'>Cascade on delete</span></td>
</tr>
<tr>
<td>internal_transactions_block_hash_fkey</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/internal_transactions.html'>internal_transactions</a><span>.block_hash</span></td>
</tr>
</table>
</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/blocks.html'>blocks</a><span>.hash</span></td>
</tr>
</table>
</td>
<td><span title='Restrict delete: Parent cannot be deleted if children exist'>Restrict delete</span></td>
</tr>
<tr>
<td>account_watchlists_identity_id_fkey</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/account_watchlists.html'>account_watchlists</a><span>.identity_id</span></td>
</tr>
</table>
</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/account_identities.html'>account_identities</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>account_identities_plan_id_fkey</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/account_identities.html'>account_identities</a><span>.plan_id</span></td>
</tr>
</table>
</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/account_api_plans.html'>account_api_plans</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>block_rewards_block_hash_fkey</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/block_rewards.html'>block_rewards</a><span>.block_hash</span></td>
</tr>
</table>
</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/blocks.html'>blocks</a><span>.hash</span></td>
</tr>
</table>
</td>
<td><span title='Cascade on delete: Deletion of parent deletes child'>Cascade on delete</span></td>
</tr>
<tr>
<td>block_second_degree_relations_nephew_hash_fkey</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/block_second_degree_relations.html'>block_second_degree_relations</a><span>.nephew_hash</span></td>
</tr>
</table>
</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/blocks.html'>blocks</a><span>.hash</span></td>
</tr>
</table>
</td>
<td><span title='Restrict delete: Parent cannot be deleted if children exist'>Restrict delete</span></td>
</tr>
<tr>
<td>proxy_smart_contract_verification_statuses_contract_address_has</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/proxy_smart_contract_verificati_d48f8abe.html'>proxy_smart_contract_verification_statuses</a><span>.contract_address_hash</span></td>
</tr>
</table>
</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/smart_contracts.html'>smart_contracts</a><span>.address_hash</span></td>
</tr>
</table>
</td>
<td><span title='Cascade on delete: Deletion of parent deletes child'>Cascade on delete</span></td>
</tr>
<tr>
<td>withdrawals_block_hash_fkey</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/withdrawals.html'>withdrawals</a><span>.block_hash</span></td>
</tr>
</table>
</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/blocks.html'>blocks</a><span>.hash</span></td>
</tr>
</table>
</td>
<td><span title='Cascade on delete: Deletion of parent deletes child'>Cascade on delete</span></td>
</tr>
<tr>
<td>smart_contract_audit_reports_address_hash_fkey</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/smart_contract_audit_reports.html'>smart_contract_audit_reports</a><span>.address_hash</span></td>
</tr>
</table>
</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/smart_contracts.html'>smart_contracts</a><span>.address_hash</span></td>
</tr>
</table>
</td>
<td><span title='Cascade on delete: Deletion of parent deletes child'>Cascade on 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"
data-paging="true"
data-page-length="10"
data-length-change="false">
<thead align='left'>
<tr>
<th>Table</th>
<th>Constraint Name</th>
<th>Constraint</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href='tables/transactions.html'>transactions</a></td>
<td>collated_block_number</td>
<td>(((block_hash IS NULL) OR (block_number IS NOT NULL)))</td>
</tr>
<tr>
<td><a href='tables/transactions.html'>transactions</a></td>
<td>collated_cumalative_gas_used</td>
<td>(((block_hash IS NULL) OR (cumulative_gas_used IS NOT NULL)))</td>
</tr>
<tr>
<td><a href='tables/transactions.html'>transactions</a></td>
<td>collated_gas_price</td>
<td>(((block_hash IS NULL) OR (gas_price IS NOT NULL)))</td>
</tr>
<tr>
<td><a href='tables/transactions.html'>transactions</a></td>
<td>collated_gas_used</td>
<td>(((block_hash IS NULL) OR (gas_used IS NOT NULL)))</td>
</tr>
<tr>
<td><a href='tables/transactions.html'>transactions</a></td>
<td>collated_index</td>
<td>(((block_hash IS NULL) OR (index IS NOT NULL)))</td>
</tr>
<tr>
<td><a href='tables/transactions.html'>transactions</a></td>
<td>error</td>
<td>(((status = 0) OR ((status <> 0) AND (error IS NULL))))</td>
</tr>
<tr>
<td><a href='tables/transactions.html'>transactions</a></td>
<td>pending_block_number</td>
<td>(((block_hash IS NOT NULL) OR (block_number IS NULL)))</td>
</tr>
<tr>
<td><a href='tables/transactions.html'>transactions</a></td>
<td>pending_cumalative_gas_used</td>
<td>(((block_hash IS NOT NULL) OR (cumulative_gas_used IS NULL)))</td>
</tr>
<tr>
<td><a href='tables/transactions.html'>transactions</a></td>
<td>pending_gas_used</td>
<td>(((block_hash IS NOT NULL) OR (gas_used IS NULL)))</td>
</tr>
<tr>
<td><a href='tables/transactions.html'>transactions</a></td>
<td>pending_index</td>
<td>(((block_hash IS NOT NULL) OR (index IS NULL)))</td>
</tr>
<tr>
<td><a href='tables/transactions.html'>transactions</a></td>
<td>status</td>
<td>((((block_hash IS NULL) AND (status IS NULL)) OR (block_hash IS NOT NULL) OR ((status = 0) AND ((error)::text = 'dropped/replaced'::text))))</td>
</tr>
<tr>
<td><a href='tables/internal_transactions.html'>internal_transactions</a></td>
<td>call_has_call_type</td>
<td>((((type)::text <> 'call'::text) OR (call_type IS NOT NULL))) NOT VALID</td>
</tr>
<tr>
<td><a href='tables/internal_transactions.html'>internal_transactions</a></td>
<td>call_has_error_or_result</td>
<td>((((type)::text <> 'call'::text) OR ((gas IS NOT NULL) AND (((error IS NULL) AND (gas_used IS NOT NULL) AND (output IS NOT NULL)) OR ((error IS NOT NULL) AND (output IS NULL))))))</td>
</tr>
<tr>
<td><a href='tables/internal_transactions.html'>internal_transactions</a></td>
<td>call_has_input</td>
<td>((((type)::text <> 'call'::text) OR (input IS NOT NULL))) NOT VALID</td>
</tr>
<tr>
<td><a href='tables/internal_transactions.html'>internal_transactions</a></td>
<td>create_has_error_or_result</td>
<td>((((type)::text <> 'create'::text) OR ((gas IS NOT NULL) AND (((error IS NULL) AND (created_contract_address_hash IS NOT NULL) AND (created_contract_code IS NOT NULL) AND (gas_used IS NOT NULL)) OR ((error IS NOT NULL) AND (created_contract_address_hash IS NULL) AND (created_contract_code IS NULL) AND (gas_used IS NULL))))))</td>
</tr>
<tr>
<td><a href='tables/internal_transactions.html'>internal_transactions</a></td>
<td>create_has_init</td>
<td>((((type)::text <> 'create'::text) OR (init IS NOT NULL))) NOT VALID</td>
</tr>
<tr>
<td><a href='tables/internal_transactions.html'>internal_transactions</a></td>
<td>selfdestruct_has_from_and_to_address</td>
<td>((((type)::text <> 'selfdestruct'::text) OR ((from_address_hash IS NOT NULL) AND (gas IS NULL) AND (to_address_hash IS NOT NULL)))) NOT VALID</td>
</tr>
</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.2.4</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>