184
180
<li><a href="#public.table.calendarevent">calendarevent</a></li>
186
182
"#public.table.calendarsubscription">calendarsubscription</a></li>
187
<li><a href="#public.table.changeset">changeset</a></li>
188
<li><a href="#public.table.changesetfile">changesetfile</a></li>
190
"#public.table.changesetfilehash">changesetfilehash</a></li>
192
"#public.table.changesetfilename">changesetfilename</a></li>
193
183
<li><a href="#public.table.component">component</a></li>
195
185
"#public.table.componentselection">componentselection</a></li>
196
186
<li><a href="#public.table.country">country</a></li>
197
187
<li><a href="#public.table.cve">cve</a></li>
198
188
<li><a href="#public.table.cvereference">cvereference</a></li>
199
<li><a href="#public.table.cverefobsolete">cverefobsolete</a></li>
201
190
"#public.table.developmentmanifest">developmentmanifest</a></li>
202
191
<li><a href="#public.table.distribution">distribution</a></li>
193
"#public.table.distributionbounty">distributionbounty</a></li>
195
"#public.table.distributionsourcepackagecache">distributionsourcepackagecache</a></li>
204
197
"#public.table.distroarchrelease">distroarchrelease</a></li>
205
<li><a href="#public.table.distrobounty">distrobounty</a></li>
199
"#public.table.distrocomponentuploader">distrocomponentuploader</a></li>
206
200
<li><a href="#public.table.distrorelease">distrorelease</a></li>
208
202
"#public.table.distroreleaselanguage">distroreleaselanguage</a></li>
204
"#public.table.distroreleasepackagecache">distroreleasepackagecache</a></li>
210
206
"#public.table.distroreleasequeue">distroreleasequeue</a></li>
212
208
"#public.table.distroreleasequeuebuild">distroreleasequeuebuild</a></li>
210
"#public.table.distroreleasequeuecustom">distroreleasequeuecustom</a></li>
214
212
"#public.table.distroreleasequeuesource">distroreleasequeuesource</a></li>
215
213
<li><a href="#public.table.emailaddress">emailaddress</a></li>
216
214
<li><a href="#public.table.gpgkey">gpgkey</a></li>
603
608
<p>Standard public schema</p>
605
610
<h2>Table: <a href="#public.schema">public</a>.<a name=
606
"public.table.archarchive" id=
607
"public.table.archarchive">archarchive</a></h2>
608
<table width="100%" cellspacing="0" cellpadding="3">
609
<caption>public.archarchive Structure</caption>
620
<td><i>PRIMARY KEY</i></td>
626
<td><i>UNIQUE NOT NULL</i><br />
628
The archive name, usually in the format of an email address</td>
634
<td><i>NOT NULL</i></td>
640
<td><i>NOT NULL</i></td>
646
<td><i>NOT NULL</i></td>
649
<td><a href="#public.table.person">public.person.id</a></td>
655
<!-- Constraint List -->
656
<!-- Foreign Key Discovery -->
657
<p>Tables referencing this one via Foreign Key Constraints:</p>
660
"#public.table.archarchivelocation">public.archarchivelocation</a></li>
664
"#public.table.archnamespace">public.archnamespace</a></li>
666
<!-- View Definition -->
667
<!-- List off permissions -->
669
<table width="100%" cellspacing="0" cellpadding="3">
670
<caption>Permissions which apply to public.archarchive</caption>
674
<center>Select</center>
677
<center>Insert</center>
680
<center>Update</center>
683
<center>Delete</center>
686
<center>Reference</center>
689
<center>Rule</center>
692
<center>Trigger</center>
698
<center>♦</center>
701
<center>♦</center>
704
<center>♦</center>
707
<center>♦</center>
710
<center>♦</center>
713
<center>♦</center>
716
<center>♦</center>
722
<center>♦</center>
734
<center>♦</center>
737
<center>♦</center>
740
<center>♦</center>
750
<center>♦</center>
753
<center>♦</center>
756
<center>♦</center>
759
<center>♦</center>
762
<center>♦</center>
765
<center>♦</center>
768
<center>♦</center>
774
<center>♦</center>
777
<center>♦</center>
780
<center>♦</center>
790
<center>♦</center>
800
<p><a href="#index">Index</a> - <a href="#public.schema">Schema
803
<h2>Table: <a href="#public.schema">public</a>.<a name=
804
"public.table.archarchivelocation" id=
805
"public.table.archarchivelocation">archarchivelocation</a></h2>
806
<table width="100%" cellspacing="0" cellpadding="3">
807
<caption>public.archarchivelocation Structure</caption>
818
<td><i>PRIMARY KEY</i></td>
822
"#public.table.archarchive">public.archarchive.id</a></td>
825
<td><i>NOT NULL</i></td>
831
<td><i>NOT NULL</i></td>
837
<td><i>NOT NULL</i></td>
843
<td><i>NOT NULL</i></td>
846
<!-- Constraint List -->
847
<!-- Foreign Key Discovery -->
848
<p>Tables referencing this one via Foreign Key Constraints:</p>
851
"#public.table.archarchivelocationsigner">public.archarchivelocationsigner</a></li>
853
<!-- View Definition -->
854
<!-- List off permissions -->
856
<table width="100%" cellspacing="0" cellpadding="3">
857
<caption>Permissions which apply to
858
public.archarchivelocation</caption>
862
<center>Select</center>
865
<center>Insert</center>
868
<center>Update</center>
871
<center>Delete</center>
874
<center>Reference</center>
877
<center>Rule</center>
880
<center>Trigger</center>
886
<center>♦</center>
889
<center>♦</center>
892
<center>♦</center>
895
<center>♦</center>
898
<center>♦</center>
901
<center>♦</center>
904
<center>♦</center>
910
<center>♦</center>
922
<center>♦</center>
925
<center>♦</center>
928
<center>♦</center>
938
<center>♦</center>
941
<center>♦</center>
944
<center>♦</center>
947
<center>♦</center>
950
<center>♦</center>
953
<center>♦</center>
956
<center>♦</center>
960
<p><a href="#index">Index</a> - <a href="#public.schema">Schema
963
<h2>Table: <a href="#public.schema">public</a>.<a name=
964
"public.table.archarchivelocationsigner" id=
965
"public.table.archarchivelocationsigner">archarchivelocationsigner</a></h2>
966
<table width="100%" cellspacing="0" cellpadding="3">
967
<caption>public.archarchivelocationsigner Structure</caption>
976
"#public.table.archarchivelocation">public.archarchivelocation.id</a></td>
977
<td>archarchivelocation</td>
979
<td><i>NOT NULL</i></td>
982
<td><a href="#public.table.gpgkey">public.gpgkey.id</a></td>
985
<td><i>NOT NULL</i></td>
988
<!-- Constraint List -->
989
<!-- Foreign Key Discovery -->
990
<!-- View Definition -->
991
<!-- List off permissions -->
993
<table width="100%" cellspacing="0" cellpadding="3">
994
<caption>Permissions which apply to
995
public.archarchivelocationsigner</caption>
999
<center>Select</center>
1002
<center>Insert</center>
1005
<center>Update</center>
1008
<center>Delete</center>
1011
<center>Reference</center>
1014
<center>Rule</center>
1017
<center>Trigger</center>
1021
<td>group admin</td>
1023
<center>♦</center>
1026
<center>♦</center>
1029
<center>♦</center>
1032
<center>♦</center>
1035
<center>♦</center>
1038
<center>♦</center>
1041
<center>♦</center>
1047
<center>♦</center>
1057
<td>group write</td>
1059
<center>♦</center>
1062
<center>♦</center>
1065
<center>♦</center>
1075
<center>♦</center>
1078
<center>♦</center>
1081
<center>♦</center>
1084
<center>♦</center>
1087
<center>♦</center>
1090
<center>♦</center>
1093
<center>♦</center>
1097
<p><a href="#index">Index</a> - <a href="#public.schema">Schema
1100
<h2>Table: <a href="#public.schema">public</a>.<a name=
1101
611
"public.table.archconfig" id=
1102
612
"public.table.archconfig">archconfig</a></h2>
1103
613
<table width="100%" cellspacing="0" cellpadding="3">
1416
924
<h2>Table: <a href="#public.schema">public</a>.<a name=
1417
"public.table.archnamespace" id=
1418
"public.table.archnamespace">archnamespace</a></h2>
1419
<table width="100%" cellspacing="0" cellpadding="3">
1420
<caption>public.archnamespace Structure</caption>
1425
<th>Description</th>
1431
<td><i>PRIMARY KEY</i></td>
1435
"#public.table.archarchive">public.archarchive.id</a></td>
1436
<td>archarchive</td>
1438
<td><i>NOT NULL</i></td>
1444
<td><i>NOT NULL</i></td>
1462
<td><i>NOT NULL</i></td>
1465
<!-- Constraint List -->
1466
<!-- Foreign Key Discovery -->
1467
<p>Tables referencing this one via Foreign Key Constraints:</p>
1469
<li><a href="#public.table.branch">public.branch</a></li>
1471
<!-- View Definition -->
1472
<!-- List off permissions -->
1474
<table width="100%" cellspacing="0" cellpadding="3">
1475
<caption>Permissions which apply to public.archnamespace</caption>
1479
<center>Select</center>
1482
<center>Insert</center>
1485
<center>Update</center>
1488
<center>Delete</center>
1491
<center>Reference</center>
1494
<center>Rule</center>
1497
<center>Trigger</center>
1501
<td>group admin</td>
1503
<center>♦</center>
1506
<center>♦</center>
1509
<center>♦</center>
1512
<center>♦</center>
1515
<center>♦</center>
1518
<center>♦</center>
1521
<center>♦</center>
1527
<center>♦</center>
1537
<td>group write</td>
1539
<center>♦</center>
1542
<center>♦</center>
1545
<center>♦</center>
1555
<center>♦</center>
1558
<center>♦</center>
1561
<center>♦</center>
1564
<center>♦</center>
1573
<center>♦</center>
1576
<center>♦</center>
1579
<center>♦</center>
1582
<center>♦</center>
1585
<center>♦</center>
1588
<center>♦</center>
1591
<center>♦</center>
1597
<center>♦</center>
1600
<center>♦</center>
1603
<center>♦</center>
1613
<center>♦</center>
1623
<p><a href="#index">Index</a> - <a href="#public.schema">Schema
1626
<h2>Table: <a href="#public.schema">public</a>.<a name=
1627
"public.table.archuserid" id=
1628
"public.table.archuserid">archuserid</a></h2>
1629
<table width="100%" cellspacing="0" cellpadding="3">
1630
<caption>public.archuserid Structure</caption>
1635
<th>Description</th>
1641
<td><i>PRIMARY KEY</i></td>
1644
<td><a href="#public.table.person">public.person.id</a></td>
1647
<td><i>NOT NULL</i></td>
1653
<td><i>UNIQUE NOT NULL</i></td>
1656
<!-- Constraint List -->
1657
<!-- Foreign Key Discovery -->
1658
<p>Tables referencing this one via Foreign Key Constraints:</p>
1660
<li><a href="#public.table.changeset">public.changeset</a></li>
1662
<!-- View Definition -->
1663
<!-- List off permissions -->
1665
<table width="100%" cellspacing="0" cellpadding="3">
1666
<caption>Permissions which apply to public.archuserid</caption>
1670
<center>Select</center>
1673
<center>Insert</center>
1676
<center>Update</center>
1679
<center>Delete</center>
1682
<center>Reference</center>
1685
<center>Rule</center>
1688
<center>Trigger</center>
1692
<td>group admin</td>
1694
<center>♦</center>
1697
<center>♦</center>
1700
<center>♦</center>
1703
<center>♦</center>
1706
<center>♦</center>
1709
<center>♦</center>
1712
<center>♦</center>
1718
<center>♦</center>
1728
<td>group write</td>
1730
<center>♦</center>
1733
<center>♦</center>
1736
<center>♦</center>
1739
<center>♦</center>
1748
<center>♦</center>
1751
<center>♦</center>
1754
<center>♦</center>
1757
<center>♦</center>
1760
<center>♦</center>
1763
<center>♦</center>
1766
<center>♦</center>
1770
<p><a href="#index">Index</a> - <a href="#public.schema">Schema
1773
<h2>Table: <a href="#public.schema">public</a>.<a name=
1774
925
"public.table.binarypackagefile" id=
1775
926
"public.table.binarypackagefile">binarypackagefile</a></h2>
1776
927
<p>BinaryPackageFile: A soyuz <-> librarian link table. This
4091
3379
<th>Description</th>
4093
3381
<tr class="tr0">
3383
"#public.table.revisionnumber">public.revisionnumber.branch#1</a></td>
4096
3385
<td>serial</td>
4097
3386
<td><i>PRIMARY KEY</i></td>
4099
3388
<tr class="tr1">
4101
"#public.table.archnamespace">public.archnamespace.id</a></td>
4102
<td>archnamespace</td>
4104
<td><i>NOT NULL</i></td>
4110
3392
<td><i>NOT NULL</i></td>
3398
<td><i>NOT NULL</i></td>
4112
3400
<tr class="tr1">
4114
<td>description</td>
4116
<td><i>NOT NULL</i></td>
4119
3401
<td><a href="#public.table.person">public.person.id</a></td>
4121
3403
<td>integer</td>
3404
<td><i>NOT NULL</i></td>
4125
3407
<td><a href="#public.table.product">public.product.id</a></td>
4126
3408
<td>product</td>
4127
3409
<td>integer</td>
3413
<td><a href="#public.table.person">public.person.id</a></td>
3422
<td><i>NOT NULL</i></td>
3426
<td>branch_product_name</td>
3432
<td>product_locked</td>
3434
<td><i>NOT NULL DEFAULT false</i></td>
3444
<td>branch_home_page</td>
3450
<td>home_page_locked</td>
3452
<td><i>DEFAULT false</i></td>
3468
<td>lifecycle_status</td>
3470
<td><i>NOT NULL DEFAULT 1</i></td>
3473
<td><a href="#public.table.branch">public.branch.id</a></td>
3474
<td>landing_target</td>
3480
<td>current_delta_url</td>
3486
<td>current_conflicts_url</td>
3492
<td>current_diff_adds</td>
3498
<td>current_diff_deletes</td>
3504
<td>stats_updated</td>
3505
<td>timestamp without time zone</td>
3510
<td>current_activity</td>
3512
<td><i>NOT NULL</i></td>
3516
<td>last_mirrored</td>
3517
<td>timestamp without time zone</td>
3522
<td>last_mirror_attempt</td>
3523
<td>timestamp without time zone</td>
3528
<td>mirror_failures</td>
3530
<td><i>NOT NULL</i></td>
3534
<td>pull_disabled</td>
3536
<td><i>NOT NULL DEFAULT false</i></td>
3546
"#public.table.revisionnumber">public.revisionnumber.id#1</a>
3548
"#public.table.revisionnumber">public.revisionnumber.id</a></td>
4131
3554
<!-- Constraint List -->
3556
<table width="100%" cellspacing="0" cellpadding="3">
3557
<caption>public.branch Constraints</caption>
3563
<td>valid_branch_home_page</td>
3564
<td>CHECK (valid_absolute_url(branch_home_page))</td>
3567
<td>valid_cache_url</td>
3568
<td>CHECK (valid_absolute_url(cache_url))</td>
3571
<td>valid_current_conflicts_url</td>
3572
<td>CHECK (valid_absolute_url(current_conflicts_url))</td>
3575
<td>valid_current_delta_url</td>
3576
<td>CHECK (valid_absolute_url(current_delta_url))</td>
3579
<td>valid_home_page</td>
3580
<td>CHECK (valid_absolute_url(home_page))</td>
3584
<td>CHECK (valid_branch_name(name))</td>
3588
<td>CHECK (valid_absolute_url(url))</td>
4132
3591
<!-- Foreign Key Discovery -->
4133
3592
<p>Tables referencing this one via Foreign Key Constraints:</p>
8497
8352
<h2>Table: <a href="#public.schema">public</a>.<a name=
8498
"public.table.changeset" id=
8499
"public.table.changeset">changeset</a></h2>
8500
<table width="100%" cellspacing="0" cellpadding="3">
8501
<caption>public.changeset Structure</caption>
8506
<th>Description</th>
8512
<td><i>UNIQUE#2 UNIQUE#1 PRIMARY KEY</i></td>
8515
<td><a href="#public.table.branch">public.branch.id</a></td>
8518
<td><i>UNIQUE#2 UNIQUE#1 NOT NULL</i></td>
8522
<td>datecreated</td>
8523
<td>timestamp without time zone</td>
8524
<td><i>NOT NULL DEFAULT timezone('UTC'::text,
8525
('now'::text)::timestamp(6) with time zone)</i></td>
8531
<td><i>NOT NULL</i></td>
8537
<td><i>NOT NULL</i></td>
8541
"#public.table.archuserid">public.archuserid.id</a></td>
8547
<td><a href="#public.table.gpgkey">public.gpgkey.id</a></td>
8553
<!-- Constraint List -->
8554
<!-- Foreign Key Discovery -->
8555
<p>Tables referencing this one via Foreign Key Constraints:</p>
8558
"#public.table.archconfigentry">public.archconfigentry</a></li>
8562
"#public.table.changesetfile">public.changesetfile</a></li>
8566
"#public.table.manifestentry">public.manifestentry</a></li>
8568
<!-- View Definition -->
8569
<!-- List off permissions -->
8571
<table width="100%" cellspacing="0" cellpadding="3">
8572
<caption>Permissions which apply to public.changeset</caption>
8576
<center>Select</center>
8579
<center>Insert</center>
8582
<center>Update</center>
8585
<center>Delete</center>
8588
<center>Reference</center>
8591
<center>Rule</center>
8594
<center>Trigger</center>
8598
<td>group admin</td>
8600
<center>♦</center>
8603
<center>♦</center>
8606
<center>♦</center>
8609
<center>♦</center>
8612
<center>♦</center>
8615
<center>♦</center>
8618
<center>♦</center>
8624
<center>♦</center>
8634
<td>group write</td>
8636
<center>♦</center>
8639
<center>♦</center>
8642
<center>♦</center>
8652
<center>♦</center>
8655
<center>♦</center>
8658
<center>♦</center>
8661
<center>♦</center>
8664
<center>♦</center>
8667
<center>♦</center>
8670
<center>♦</center>
8676
<center>♦</center>
8679
<center>♦</center>
8682
<center>♦</center>
8692
<center>♦</center>
8702
<p><a href="#index">Index</a> - <a href="#public.schema">Schema
8705
<h2>Table: <a href="#public.schema">public</a>.<a name=
8706
"public.table.changesetfile" id=
8707
"public.table.changesetfile">changesetfile</a></h2>
8708
<table width="100%" cellspacing="0" cellpadding="3">
8709
<caption>public.changesetfile Structure</caption>
8714
<th>Description</th>
8720
<td><i>PRIMARY KEY</i></td>
8723
<td><a href="#public.table.changeset">public.changeset.id</a></td>
8726
<td><i>UNIQUE#1 NOT NULL</i></td>
8730
"#public.table.changesetfilename">public.changesetfilename.id</a></td>
8731
<td>changesetfilename</td>
8733
<td><i>UNIQUE#1 NOT NULL</i></td>
8737
<td>filecontents</td>
8739
<td><i>NOT NULL</i></td>
8745
<td><i>NOT NULL</i></td>
8748
<!-- Constraint List -->
8749
<!-- Foreign Key Discovery -->
8750
<p>Tables referencing this one via Foreign Key Constraints:</p>
8753
"#public.table.changesetfilehash">public.changesetfilehash</a></li>
8755
<!-- View Definition -->
8756
<!-- List off permissions -->
8758
<table width="100%" cellspacing="0" cellpadding="3">
8759
<caption>Permissions which apply to public.changesetfile</caption>
8763
<center>Select</center>
8766
<center>Insert</center>
8769
<center>Update</center>
8772
<center>Delete</center>
8775
<center>Reference</center>
8778
<center>Rule</center>
8781
<center>Trigger</center>
8785
<td>group admin</td>
8787
<center>♦</center>
8790
<center>♦</center>
8793
<center>♦</center>
8796
<center>♦</center>
8799
<center>♦</center>
8802
<center>♦</center>
8805
<center>♦</center>
8811
<center>♦</center>
8821
<td>group write</td>
8823
<center>♦</center>
8826
<center>♦</center>
8829
<center>♦</center>
8839
<center>♦</center>
8842
<center>♦</center>
8845
<center>♦</center>
8848
<center>♦</center>
8851
<center>♦</center>
8854
<center>♦</center>
8857
<center>♦</center>
8861
<p><a href="#index">Index</a> - <a href="#public.schema">Schema
8864
<h2>Table: <a href="#public.schema">public</a>.<a name=
8865
"public.table.changesetfilehash" id=
8866
"public.table.changesetfilehash">changesetfilehash</a></h2>
8867
<table width="100%" cellspacing="0" cellpadding="3">
8868
<caption>public.changesetfilehash Structure</caption>
8873
<th>Description</th>
8879
<td><i>PRIMARY KEY</i></td>
8883
"#public.table.changesetfile">public.changesetfile.id</a></td>
8884
<td>changesetfile</td>
8886
<td><i>UNIQUE#1 NOT NULL</i></td>
8892
<td><i>UNIQUE#1 NOT NULL</i></td>
8898
<td><i>NOT NULL</i></td>
8901
<!-- Constraint List -->
8902
<!-- Foreign Key Discovery -->
8903
<!-- View Definition -->
8904
<!-- List off permissions -->
8906
<table width="100%" cellspacing="0" cellpadding="3">
8907
<caption>Permissions which apply to
8908
public.changesetfilehash</caption>
8912
<center>Select</center>
8915
<center>Insert</center>
8918
<center>Update</center>
8921
<center>Delete</center>
8924
<center>Reference</center>
8927
<center>Rule</center>
8930
<center>Trigger</center>
8934
<td>group admin</td>
8936
<center>♦</center>
8939
<center>♦</center>
8942
<center>♦</center>
8945
<center>♦</center>
8948
<center>♦</center>
8951
<center>♦</center>
8954
<center>♦</center>
8960
<center>♦</center>
8970
<td>group write</td>
8972
<center>♦</center>
8975
<center>♦</center>
8978
<center>♦</center>
8988
<center>♦</center>
8991
<center>♦</center>
8994
<center>♦</center>
8997
<center>♦</center>
9000
<center>♦</center>
9003
<center>♦</center>
9006
<center>♦</center>
9010
<p><a href="#index">Index</a> - <a href="#public.schema">Schema
9013
<h2>Table: <a href="#public.schema">public</a>.<a name=
9014
"public.table.changesetfilename" id=
9015
"public.table.changesetfilename">changesetfilename</a></h2>
9016
<table width="100%" cellspacing="0" cellpadding="3">
9017
<caption>public.changesetfilename Structure</caption>
9022
<th>Description</th>
9028
<td><i>PRIMARY KEY</i></td>
9034
<td><i>UNIQUE NOT NULL</i></td>
9037
<!-- Constraint List -->
9038
<!-- Foreign Key Discovery -->
9039
<p>Tables referencing this one via Foreign Key Constraints:</p>
9042
"#public.table.changesetfile">public.changesetfile</a></li>
9044
<!-- View Definition -->
9045
<!-- List off permissions -->
9047
<table width="100%" cellspacing="0" cellpadding="3">
9048
<caption>Permissions which apply to
9049
public.changesetfilename</caption>
9053
<center>Select</center>
9056
<center>Insert</center>
9059
<center>Update</center>
9062
<center>Delete</center>
9065
<center>Reference</center>
9068
<center>Rule</center>
9071
<center>Trigger</center>
9075
<td>group admin</td>
9077
<center>♦</center>
9080
<center>♦</center>
9083
<center>♦</center>
9086
<center>♦</center>
9089
<center>♦</center>
9092
<center>♦</center>
9095
<center>♦</center>
9101
<center>♦</center>
9111
<td>group write</td>
9113
<center>♦</center>
9116
<center>♦</center>
9119
<center>♦</center>
9129
<center>♦</center>
9132
<center>♦</center>
9135
<center>♦</center>
9138
<center>♦</center>
9141
<center>♦</center>
9144
<center>♦</center>
9147
<center>♦</center>
9151
<p><a href="#index">Index</a> - <a href="#public.schema">Schema
9154
<h2>Table: <a href="#public.schema">public</a>.<a name=
9155
8353
"public.table.component" id=
9156
8354
"public.table.component">component</a></h2>
9157
8355
<table width="100%" cellspacing="0" cellpadding="3">
9948
9218
<tr class="tr0">
9949
<td>group admin</td>
9951
<center>♦</center>
9954
<center>♦</center>
9957
<center>♦</center>
9960
<center>♦</center>
9963
<center>♦</center>
9966
<center>♦</center>
9969
<center>♦</center>
9975
<center>♦</center>
9985
<td>group write</td>
9987
<center>♦</center>
9990
<center>♦</center>
9993
<center>♦</center>
9996
<center>♦</center>
10005
<center>♦</center>
10008
<center>♦</center>
10011
<center>♦</center>
10014
<center>♦</center>
10017
<center>♦</center>
10020
<center>♦</center>
10023
<center>♦</center>
10027
<p><a href="#index">Index</a> - <a href="#public.schema">Schema
10030
<h2>Table: <a href="#public.schema">public</a>.<a name=
10031
"public.table.cverefobsolete" id=
10032
"public.table.cverefobsolete">cverefobsolete</a></h2>
10033
<p>OBSOLETE: THIS TABLE IS PARKED AND WILL BE DELETED IN FAVOUR OF
10034
THE NEW CVE TABLE. This table stores CVE references for bugs. CVE
10035
is a way of tracking security problems across multiple vendor
10037
<table width="100%" cellspacing="0" cellpadding="3">
10038
<caption>public.cverefobsolete Structure</caption>
10043
<th>Description</th>
10049
<td><i>PRIMARY KEY</i></td>
10052
<td><a href="#public.table.bug">public.bug.id</a></td>
10055
<td><i>NOT NULL</i></td>
10061
<td><i>NOT NULL</i><br />
10063
This is the actual CVE number assigned to this specific
10070
<td><i>NOT NULL</i></td>
10074
<td>datecreated</td>
10075
<td>timestamp without time zone</td>
10076
<td><i>DEFAULT timezone('UTC'::text, ('now'::text)::timestamp(6)
10077
with time zone)</i></td>
10080
<td><a href="#public.table.person">public.person.id</a></td>
10083
<td><i>NOT NULL</i><br />
10085
This refers to the person who created the entry.</td>
10091
<td><i>NOT NULL DEFAULT 1</i><br />
10093
This is a dbschema enum which tells us the state (CVE or CAN) of
10094
the CVE problem report. It is defined in dbschema.CVEState</td>
10097
<!-- Constraint List -->
10099
<table width="100%" cellspacing="0" cellpadding="3">
10100
<caption>public.cverefobsolete Constraints</caption>
10103
<th>Constraint</th>
10107
<td>CHECK (valid_cve(cveref))</td>
10110
<!-- Foreign Key Discovery -->
10111
<!-- View Definition -->
10112
<!-- List off permissions -->
10114
<table width="100%" cellspacing="0" cellpadding="3">
10115
<caption>Permissions which apply to public.cverefobsolete</caption>
10119
<center>Select</center>
10122
<center>Insert</center>
10125
<center>Update</center>
10128
<center>Delete</center>
10131
<center>Reference</center>
10134
<center>Rule</center>
10137
<center>Trigger</center>
10141
<td>group admin</td>
10143
<center>♦</center>
10146
<center>♦</center>
10149
<center>♦</center>
10152
<center>♦</center>
10155
<center>♦</center>
10158
<center>♦</center>
10161
<center>♦</center>
10165
<td>group read</td>
10167
<center>♦</center>
10177
<td>group write</td>
10179
<center>♦</center>
10183
<center>♦</center>
9221
<center>♦</center>
9224
<center>♦</center>
9227
<center>♦</center>
9230
<center>♦</center>
9237
<td>group admin</td>
9239
<center>♦</center>
9242
<center>♦</center>
9245
<center>♦</center>
9248
<center>♦</center>
9251
<center>♦</center>
9254
<center>♦</center>
9257
<center>♦</center>
9263
<center>♦</center>
9275
<center>♦</center>
9278
<center>♦</center>
10191
9287
<td>postgres</td>
10193
9289
<center>♦</center>
9924
<center>♦</center>
9934
<p><a href="#index">Index</a> - <a href="#public.schema">Schema
9937
<h2>Table: <a href="#public.schema">public</a>.<a name=
9938
"public.table.distributionbounty" id=
9939
"public.table.distributionbounty">distributionbounty</a></h2>
9940
<p>This table records a simple link between a bounty and a
9941
distribution. This bounty will be listed on the distribution web
9942
page, and the distribution will be mentioned on the bounty web
9944
<table width="100%" cellspacing="0" cellpadding="3">
9945
<caption>public.distributionbounty Structure</caption>
9950
<th>Description</th>
9956
<td><i>PRIMARY KEY</i></td>
9959
<td><a href="#public.table.bounty">public.bounty.id</a></td>
9962
<td><i>UNIQUE#1 NOT NULL</i></td>
9966
"#public.table.distribution">public.distribution.id</a></td>
9967
<td>distribution</td>
9969
<td><i>UNIQUE#1 NOT NULL</i></td>
9972
<!-- Constraint List -->
9973
<!-- Foreign Key Discovery -->
9974
<!-- View Definition -->
9975
<!-- List off permissions -->
9977
<table width="100%" cellspacing="0" cellpadding="3">
9978
<caption>Permissions which apply to
9979
public.distributionbounty</caption>
9983
<center>Select</center>
9986
<center>Insert</center>
9989
<center>Update</center>
9992
<center>Delete</center>
9995
<center>Reference</center>
9998
<center>Rule</center>
10001
<center>Trigger</center>
10005
<td>group admin</td>
10007
<center>♦</center>
10010
<center>♦</center>
10013
<center>♦</center>
10016
<center>♦</center>
10019
<center>♦</center>
10022
<center>♦</center>
10025
<center>♦</center>
10029
<td>group read</td>
10031
<center>♦</center>
10043
<center>♦</center>
10046
<center>♦</center>
10049
<center>♦</center>
10059
<center>♦</center>
10062
<center>♦</center>
10065
<center>♦</center>
10068
<center>♦</center>
10071
<center>♦</center>
10074
<center>♦</center>
10077
<center>♦</center>
10081
<p><a href="#index">Index</a> - <a href="#public.schema">Schema
10084
<h2>Table: <a href="#public.schema">public</a>.<a name=
10085
"public.table.distributionsourcepackagecache" id=
10086
"public.table.distributionsourcepackagecache">distributionsourcepackagecache</a></h2>
10087
<p>A cache of the text associated with binary and source packages
10088
in the distribution. This table allows for fast queries to find a
10089
source packagename that matches a given text.</p>
10090
<table width="100%" cellspacing="0" cellpadding="3">
10091
<caption>public.distributionsourcepackagecache Structure</caption>
10096
<th>Description</th>
10102
<td><i>PRIMARY KEY</i></td>
10106
"#public.table.distribution">public.distribution.id</a></td>
10107
<td>distribution</td>
10109
<td><i>UNIQUE#1 NOT NULL</i><br />
10111
The distribution in which we are checking.</td>
10115
"#public.table.sourcepackagename">public.sourcepackagename.id</a></td>
10116
<td>sourcepackagename</td>
10118
<td><i>UNIQUE#1 NOT NULL</i><br />
10120
The source package name for which we are caching details.</td>
10128
The source package name itself. This is just a copy of the value of
10129
sourcepackagename.name. We have it here so it can be part of the
10130
full text index.</td>
10134
<td>binpkgnames</td>
10138
The binary package names of binary packages generated from these
10139
source packages across all architectures.</td>
10143
<td>binpkgsummaries</td>
10147
The aggregated summaries of all the binary packages generated from
10148
these source packages in this distribution.</td>
10152
<td>binpkgdescriptions</td>
10156
The aggregated description of all the binary packages generated
10157
from these source packages in this distribution.</td>
10166
<!-- Constraint List -->
10167
<!-- Foreign Key Discovery -->
10168
<!-- View Definition -->
10169
<!-- List off permissions -->
10171
<table width="100%" cellspacing="0" cellpadding="3">
10172
<caption>Permissions which apply to
10173
public.distributionsourcepackagecache</caption>
10177
<center>Select</center>
10180
<center>Insert</center>
10183
<center>Update</center>
10186
<center>Delete</center>
10189
<center>Reference</center>
10192
<center>Rule</center>
10195
<center>Trigger</center>
10199
<td>group admin</td>
10201
<center>♦</center>
10204
<center>♦</center>
10207
<center>♦</center>
10210
<center>♦</center>
10213
<center>♦</center>
10216
<center>♦</center>
10219
<center>♦</center>
10223
<td>group read</td>
10225
<center>♦</center>
10237
<center>♦</center>
10249
<center>♦</center>
10252
<center>♦</center>
10255
<center>♦</center>
10258
<center>♦</center>
10261
<center>♦</center>
10264
<center>♦</center>
10267
<center>♦</center>
10271
<td>statistician</td>
10273
<center>♦</center>
10276
<center>♦</center>
10279
<center>♦</center>
10282
<center>♦</center>
10736
10289
<p><a href="#index">Index</a> - <a href="#public.schema">Schema
10737
10290
public</a></p>
11696
11406
<center>♦</center>
11409
<center>♦</center>
11416
<p><a href="#index">Index</a> - <a href="#public.schema">Schema
11419
<h2>Table: <a href="#public.schema">public</a>.<a name=
11420
"public.table.distroreleasepackagecache" id=
11421
"public.table.distroreleasepackagecache">distroreleasepackagecache</a></h2>
11422
<p>A cache of the text associated with binary packages in the
11423
distrorelease. This table allows for fast queries to find a binary
11424
packagename that matches a given text.</p>
11425
<table width="100%" cellspacing="0" cellpadding="3">
11426
<caption>public.distroreleasepackagecache Structure</caption>
11431
<th>Description</th>
11437
<td><i>PRIMARY KEY</i></td>
11441
"#public.table.distrorelease">public.distrorelease.id</a></td>
11442
<td>distrorelease</td>
11444
<td><i>UNIQUE#1 NOT NULL</i><br />
11446
The distrorelease in which we are checking.</td>
11450
"#public.table.binarypackagename">public.binarypackagename.id</a></td>
11451
<td>binarypackagename</td>
11453
<td><i>UNIQUE#1 NOT NULL</i><br />
11455
The binary package name for which we are caching details.</td>
11463
The binary package name itself. This is just a copy of the value of
11464
binarypackagename.name. We have it here so it can be part of the
11465
full text index.</td>
11473
A single summary for one of the binary packages of this name in
11474
this distrorelease. We could potentially have binary packages in
11475
different architectures with the same name and different summaries,
11476
so this is a way of collapsing to one arbitrarily-chosen one, for
11477
display purposes. The chances of actually having different
11478
summaries and descriptions is pretty small. It could happen,
11479
though, because of the way package superseding works when a package
11480
does not build on a specific architecture.</td>
11484
<td>description</td>
11494
The aggregated summaries of all the binary packages with this name
11495
in this distrorelease.</td>
11499
<td>descriptions</td>
11503
The aggregated description of all the binary packages with this
11504
name in this distrorelease.</td>
11513
<!-- Constraint List -->
11514
<!-- Foreign Key Discovery -->
11515
<!-- View Definition -->
11516
<!-- List off permissions -->
11518
<table width="100%" cellspacing="0" cellpadding="3">
11519
<caption>Permissions which apply to
11520
public.distroreleasepackagecache</caption>
11524
<center>Select</center>
11527
<center>Insert</center>
11530
<center>Update</center>
11533
<center>Delete</center>
11536
<center>Reference</center>
11539
<center>Rule</center>
11542
<center>Trigger</center>
11546
<td>group admin</td>
11548
<center>♦</center>
11551
<center>♦</center>
11554
<center>♦</center>
11557
<center>♦</center>
11560
<center>♦</center>
11563
<center>♦</center>
11566
<center>♦</center>
11570
<td>group read</td>
11572
<center>♦</center>
11584
<center>♦</center>
11596
<center>♦</center>
11599
<center>♦</center>
11602
<center>♦</center>
11605
<center>♦</center>
11608
<center>♦</center>
11611
<center>♦</center>
11614
<center>♦</center>
11618
<td>statistician</td>
11620
<center>♦</center>
11623
<center>♦</center>
11626
<center>♦</center>
11629
<center>♦</center>
12012
11984
<center>♦</center>
11990
<center>♦</center>
12002
<center>♦</center>
12005
<center>♦</center>
12014
<p><a href="#index">Index</a> - <a href="#public.schema">Schema
12017
<h2>Table: <a href="#public.schema">public</a>.<a name=
12018
"public.table.distroreleasequeuecustom" id=
12019
"public.table.distroreleasequeuecustom">distroreleasequeuecustom</a></h2>
12020
<p>An upload queue custom format upload. This table stores
12021
information pertaining to the custom upload formats in an
12022
in-progress package upload.</p>
12023
<table width="100%" cellspacing="0" cellpadding="3">
12024
<caption>public.distroreleasequeuecustom Structure</caption>
12029
<th>Description</th>
12035
<td><i>PRIMARY KEY</i></td>
12039
"#public.table.distroreleasequeue">public.distroreleasequeue.id</a></td>
12040
<td>distroreleasequeue</td>
12042
<td><i>NOT NULL</i><br />
12044
The queue item this refers to.</td>
12048
<td>customformat</td>
12050
<td><i>NOT NULL</i><br />
12052
The format of this particular custom uploaded file.</td>
12056
"#public.table.libraryfilealias">public.libraryfilealias.id</a></td>
12057
<td>libraryfilealias</td>
12059
<td><i>NOT NULL</i><br />
12061
The actual file as a librarian alias.</td>
12064
<!-- Constraint List -->
12065
<!-- Foreign Key Discovery -->
12066
<!-- View Definition -->
12067
<!-- List off permissions -->
12069
<table width="100%" cellspacing="0" cellpadding="3">
12070
<caption>Permissions which apply to
12071
public.distroreleasequeuecustom</caption>
12075
<center>Select</center>
12078
<center>Insert</center>
12081
<center>Update</center>
12084
<center>Delete</center>
12087
<center>Reference</center>
12090
<center>Rule</center>
12093
<center>Trigger</center>
12097
<td>group admin</td>
12099
<center>♦</center>
12102
<center>♦</center>
12105
<center>♦</center>
12108
<center>♦</center>
12111
<center>♦</center>
12114
<center>♦</center>
12117
<center>♦</center>
12121
<td>group read</td>
12123
<center>♦</center>
12133
<td>group write</td>
12135
<center>♦</center>
12138
<center>♦</center>
12141
<center>♦</center>
12151
<center>♦</center>
12154
<center>♦</center>
12157
<center>♦</center>
12160
<center>♦</center>
12163
<center>♦</center>
12166
<center>♦</center>
12169
<center>♦</center>
12175
<center>♦</center>
12187
<center>♦</center>
12190
<center>♦</center>
12016
12199
<p><a href="#index">Index</a> - <a href="#public.schema">Schema
12017
12200
public</a></p>
16887
17458
public</a></p>
16889
17460
<h2>Table: <a href="#public.schema">public</a>.<a name=
17461
"public.table.packagebugcontact" id=
17462
"public.table.packagebugcontact">packagebugcontact</a></h2>
17463
<p>Defines the bug contact for a given sourcepackage in a given
17464
distribution. The bug contact will be automatically subscribed to
17465
every bug filed on this sourcepackage in this distribution.</p>
17466
<table width="100%" cellspacing="0" cellpadding="3">
17467
<caption>public.packagebugcontact Structure</caption>
17472
<th>Description</th>
17476
"#public.table.distribution">public.distribution.id</a></td>
17477
<td>distribution</td>
17479
<td><i>UNIQUE#1 NOT NULL</i></td>
17483
"#public.table.sourcepackagename">public.sourcepackagename.id</a></td>
17484
<td>sourcepackagename</td>
17486
<td><i>UNIQUE#1 NOT NULL</i></td>
17489
<td><a href="#public.table.person">public.person.id</a></td>
17490
<td>bugcontact</td>
17492
<td><i>UNIQUE#1 NOT NULL</i></td>
17495
<!-- Constraint List -->
17496
<!-- Foreign Key Discovery -->
17497
<!-- View Definition -->
17498
<!-- List off permissions -->
17500
<table width="100%" cellspacing="0" cellpadding="3">
17501
<caption>Permissions which apply to
17502
public.packagebugcontact</caption>
17506
<center>Select</center>
17509
<center>Insert</center>
17512
<center>Update</center>
17515
<center>Delete</center>
17518
<center>Reference</center>
17521
<center>Rule</center>
17524
<center>Trigger</center>
17528
<td>group admin</td>
17530
<center>♦</center>
17533
<center>♦</center>
17536
<center>♦</center>
17539
<center>♦</center>
17542
<center>♦</center>
17545
<center>♦</center>
17548
<center>♦</center>
17552
<td>group read</td>
17554
<center>♦</center>
17566
<center>♦</center>
17569
<center>♦</center>
17572
<center>♦</center>
17575
<center>♦</center>
17584
<center>♦</center>
17587
<center>♦</center>
17590
<center>♦</center>
17593
<center>♦</center>
17596
<center>♦</center>
17599
<center>♦</center>
17602
<center>♦</center>
17606
<p><a href="#index">Index</a> - <a href="#public.schema">Schema
17609
<h2>Table: <a href="#public.schema">public</a>.<a name=
16890
17610
"public.table.packageselection" id=
16891
17611
"public.table.packageselection">packageselection</a></h2>
16892
17612
<table width="100%" cellspacing="0" cellpadding="3">
26185
26904
<center>♦</center>
26910
<center>♦</center>
26920
<p><a href="#index">Index</a> - <a href="#public.schema">Schema
26923
<h2>Table: <a href="#public.schema">public</a>.<a name=
26924
"public.table.revision" id=
26925
"public.table.revision">revision</a></h2>
26926
<table width="100%" cellspacing="0" cellpadding="3">
26927
<caption>public.revision Structure</caption>
26932
<th>Description</th>
26938
<td><i>PRIMARY KEY</i></td>
26942
<td>date_created</td>
26943
<td>timestamp without time zone</td>
26944
<td><i>NOT NULL DEFAULT timezone('UTC'::text,
26945
('now'::text)::timestamp(6) with time zone)</i></td>
26951
<td><i>NOT NULL</i></td>
26955
"#public.table.revisionauthor">public.revisionauthor.id</a></td>
26956
<td>revision_author</td>
26958
<td><i>NOT NULL</i></td>
26961
<td><a href="#public.table.gpgkey">public.gpgkey.id</a></td>
26967
<td><a href="#public.table.person">public.person.id</a></td>
26970
<td><i>NOT NULL</i></td>
26974
<td>revision_id</td>
26976
<td><i>UNIQUE NOT NULL</i></td>
26980
<td>revision_date</td>
26981
<td>timestamp without time zone</td>
26985
<!-- Constraint List -->
26986
<!-- Foreign Key Discovery -->
26987
<p>Tables referencing this one via Foreign Key Constraints:</p>
26990
"#public.table.manifestentry">public.manifestentry</a></li>
26994
"#public.table.revisionnumber">public.revisionnumber</a></li>
26998
"#public.table.revisionparent">public.revisionparent</a></li>
27000
<!-- View Definition -->
27001
<!-- List off permissions -->
27003
<table width="100%" cellspacing="0" cellpadding="3">
27004
<caption>Permissions which apply to public.revision</caption>
27008
<center>Select</center>
27011
<center>Insert</center>
27014
<center>Update</center>
27017
<center>Delete</center>
27020
<center>Reference</center>
27023
<center>Rule</center>
27026
<center>Trigger</center>
27030
<td>group admin</td>
27032
<center>♦</center>
27035
<center>♦</center>
27038
<center>♦</center>
27041
<center>♦</center>
27044
<center>♦</center>
27047
<center>♦</center>
27050
<center>♦</center>
27054
<td>group read</td>
27056
<center>♦</center>
27068
<center>♦</center>
27071
<center>♦</center>
27082
<center>♦</center>
27086
<center>♦</center>
27096
<center>♦</center>
27099
<center>♦</center>
27102
<center>♦</center>
27105
<center>♦</center>
27108
<center>♦</center>
27111
<center>♦</center>
27114
<center>♦</center>
27120
<center>♦</center>
27123
<center>♦</center>
27126
<center>♦</center>
27136
<center>♦</center>
27146
<p><a href="#index">Index</a> - <a href="#public.schema">Schema
27149
<h2>Table: <a href="#public.schema">public</a>.<a name=
27150
"public.table.revisionauthor" id=
27151
"public.table.revisionauthor">revisionauthor</a></h2>
27152
<table width="100%" cellspacing="0" cellpadding="3">
27153
<caption>public.revisionauthor Structure</caption>
27158
<th>Description</th>
27164
<td><i>PRIMARY KEY</i></td>
27170
<td><i>UNIQUE NOT NULL</i></td>
27173
<!-- Constraint List -->
27174
<!-- Foreign Key Discovery -->
27175
<p>Tables referencing this one via Foreign Key Constraints:</p>
27177
<li><a href="#public.table.revision">public.revision</a></li>
27179
<!-- View Definition -->
27180
<!-- List off permissions -->
27182
<table width="100%" cellspacing="0" cellpadding="3">
27183
<caption>Permissions which apply to public.revisionauthor</caption>
27187
<center>Select</center>
27190
<center>Insert</center>
27193
<center>Update</center>
27196
<center>Delete</center>
27199
<center>Reference</center>
27202
<center>Rule</center>
27205
<center>Trigger</center>
27209
<td>group admin</td>
27211
<center>♦</center>
27214
<center>♦</center>
27217
<center>♦</center>
27220
<center>♦</center>
27223
<center>♦</center>
27226
<center>♦</center>
27229
<center>♦</center>
27233
<td>group read</td>
27235
<center>♦</center>
27247
<center>♦</center>
27250
<center>♦</center>
27261
<center>♦</center>
27273
<center>♦</center>
27276
<center>♦</center>
27279
<center>♦</center>
27282
<center>♦</center>
27285
<center>♦</center>
27288
<center>♦</center>
27291
<center>♦</center>
27295
<p><a href="#index">Index</a> - <a href="#public.schema">Schema
27298
<h2>Table: <a href="#public.schema">public</a>.<a name=
27299
"public.table.revisionnumber" id=
27300
"public.table.revisionnumber">revisionnumber</a></h2>
27301
<table width="100%" cellspacing="0" cellpadding="3">
27302
<caption>public.revisionnumber Structure</caption>
27307
<th>Description</th>
27313
<td><i>UNIQUE#2 PRIMARY KEY</i></td>
27319
<td><i>UNIQUE#1 NOT NULL</i></td>
27322
<td><a href="#public.table.branch">public.branch.id</a></td>
27325
<td><i>UNIQUE#2 UNIQUE#1 NOT NULL</i></td>
27328
<td><a href="#public.table.revision">public.revision.id</a></td>
27331
<td><i>UNIQUE#1 NOT NULL</i></td>
27334
<!-- Constraint List -->
27335
<!-- Foreign Key Discovery -->
27336
<p>Tables referencing this one via Foreign Key Constraints:</p>
27338
<li><a href="#public.table.branch">public.branch</a></li>
27340
<!-- View Definition -->
27341
<!-- List off permissions -->
27343
<table width="100%" cellspacing="0" cellpadding="3">
27344
<caption>Permissions which apply to public.revisionnumber</caption>
27348
<center>Select</center>
27351
<center>Insert</center>
27354
<center>Update</center>
27357
<center>Delete</center>
27360
<center>Reference</center>
27363
<center>Rule</center>
27366
<center>Trigger</center>
27370
<td>group admin</td>
27372
<center>♦</center>
27375
<center>♦</center>
27378
<center>♦</center>
27381
<center>♦</center>
27384
<center>♦</center>
27387
<center>♦</center>
27390
<center>♦</center>
27394
<td>group read</td>
27396
<center>♦</center>
27408
<center>♦</center>
27411
<center>♦</center>
27422
<center>♦</center>
27434
<center>♦</center>
27437
<center>♦</center>
27440
<center>♦</center>
27443
<center>♦</center>
27446
<center>♦</center>
27449
<center>♦</center>
27452
<center>♦</center>
27456
<p><a href="#index">Index</a> - <a href="#public.schema">Schema
27459
<h2>Table: <a href="#public.schema">public</a>.<a name=
27460
"public.table.revisionparent" id=
27461
"public.table.revisionparent">revisionparent</a></h2>
27462
<table width="100%" cellspacing="0" cellpadding="3">
27463
<caption>public.revisionparent Structure</caption>
27468
<th>Description</th>
27474
<td><i>PRIMARY KEY</i></td>
27480
<td><i>NOT NULL</i></td>
27483
<td><a href="#public.table.revision">public.revision.id</a></td>
27486
<td><i>UNIQUE#1 NOT NULL</i></td>
27492
<td><i>UNIQUE#1 NOT NULL</i></td>
27495
<!-- Constraint List -->
27496
<!-- Foreign Key Discovery -->
27497
<!-- View Definition -->
27498
<!-- List off permissions -->
27500
<table width="100%" cellspacing="0" cellpadding="3">
27501
<caption>Permissions which apply to public.revisionparent</caption>
27505
<center>Select</center>
27508
<center>Insert</center>
27511
<center>Update</center>
27514
<center>Delete</center>
27517
<center>Reference</center>
27520
<center>Rule</center>
27523
<center>Trigger</center>
27527
<td>group admin</td>
27529
<center>♦</center>
27532
<center>♦</center>
27535
<center>♦</center>
27538
<center>♦</center>
27541
<center>♦</center>
27544
<center>♦</center>
27547
<center>♦</center>
27551
<td>group read</td>
27553
<center>♦</center>
27565
<center>♦</center>
27568
<center>♦</center>
27579
<center>♦</center>
27591
<center>♦</center>
27594
<center>♦</center>
27597
<center>♦</center>
27600
<center>♦</center>
27603
<center>♦</center>
27606
<center>♦</center>
27609
<center>♦</center>
26189
27613
<p><a href="#index">Index</a> - <a href="#public.schema">Schema
26190
27614
public</a></p>
27526
29057
<td><a href="#public.table.person">public.person.id</a></td>
27527
29058
<td>recipient</td>
27528
29059
<td>integer</td>
27529
<td><i>NOT NULL</i></td>
29060
<td><i>NOT NULL</i><br />
29062
The person who requested.</td>
27531
29064
<tr class="tr0">
27532
<td><a href="#public.table.shipment">public.shipment.id</a></td>
27538
29065
<td><a href="#public.table.person">public.person.id</a></td>
27539
29066
<td>whoapproved</td>
27540
29067
<td>integer</td>
29070
The person who approved this.</td>
27545
29074
<td>cancelled</td>
27546
29075
<td>boolean</td>
27547
<td><i>NOT NULL DEFAULT false</i></td>
29076
<td><i>NOT NULL DEFAULT false</i><br />
29078
Is this request cancelled?</td>
27550
29081
<td><a href="#public.table.person">public.person.id</a></td>
27551
29082
<td>whocancelled</td>
27552
29083
<td>integer</td>
29086
The person who cancelled this.</td>
27557
29090
<td>daterequested</td>
27558
29091
<td>timestamp without time zone</td>
27559
<td><i>NOT NULL</i></td>
29092
<td><i>NOT NULL</i><br />
29094
The date this request was made.</td>
27563
29098
<td>approved</td>
27564
29099
<td>boolean</td>
29102
Is this request approved? A value of NULL means it's pending
29107
"#public.table.shockandawe">public.shockandawe.id</a></td>
27569
29108
<td>shockandawe</td>
27570
29109
<td>integer</td>
29112
The Shock and Awe program that generated this request, in case this
29113
is part of a SA program.</td>
27575
29117
<td>reason</td>
27576
29118
<td>text</td>
29121
A comment from the requester explaining why he want the CDs.</td>
27581
29125
<td>highpriority</td>
27582
29126
<td>boolean</td>
27583
<td><i>NOT NULL DEFAULT false</i></td>
29127
<td><i>NOT NULL DEFAULT false</i><br />
29129
Is this a high priority request?</td>
29133
<td>recipientdisplayname</td>
29135
<td><i>NOT NULL</i><br />
29137
Used as the recipient's name when a request is made by a ShipIt
29138
admin in behalf of someone else</td>
29142
<td>addressline1</td>
29144
<td><i>NOT NULL</i><br />
29146
The address (first line) to which this request should be
29151
<td>addressline2</td>
29155
The address (second line) to which this request should be
29160
<td>organization</td>
29164
The organization requesting the CDs.</td>
29170
<td><i>NOT NULL</i><br />
29172
The city to which this request should be shipped.</td>
29180
The province to which this request should be shipped.</td>
29183
<td><a href="#public.table.country">public.country.id</a></td>
29186
<td><i>NOT NULL</i><br />
29188
The country to which this request should be shipped.</td>
29196
The postcode to which this request should be shipped.</td>
29204
The phone number of the requester.</td>
27586
29213
<!-- Constraint List -->
34358
36318
<p><a href="#index">Index</a> - <a href="#public.schema">Schema
34359
36319
public</a></p>
34361
<h2>View: <a href="#public.schema">public</a>.<a name=
34362
"public.view.vsourcepackageindistro" id=
34363
"public.view.vsourcepackageindistro">vsourcepackageindistro</a></h2>
34364
<p>This view allows us to answer the question: what source packages
34365
have releases in a certain distribution. This is an interesting
34366
case of where a view can actually solve a problem that SQLObject
34367
can't -- there is no way of doing this query (that I see at least)
34368
in regular sqlos because there is no DISTINCT and no way to filter
34369
things without iterating in Python (which generates N queries and
34370
we don't want to go down that route).</p>
34371
<table width="100%" cellspacing="0" cellpadding="3">
34372
<caption>public.vsourcepackageindistro Structure</caption>
34377
<th>Description</th>
34399
<td>sourcepackagename</td>
34411
<td>distrorelease</td>
34417
<td>distribution</td>
34434
<!-- Constraint List -->
34435
<!-- Foreign Key Discovery -->
34436
<!-- View Definition -->
34438
SELECT sourcepackagerelease.id
34439
, sourcepackagerelease.manifest
34440
, sourcepackagerelease.format
34441
, sourcepackagerelease.sourcepackagename
34442
, sourcepackagename.name
34443
, sourcepackagepublishing.distrorelease
34444
, distrorelease.distribution
34445
, sourcepackagepublishing.status
34446
, sourcepackagepublishing.pocket
34449
(sourcepackagepublishing
34450
JOIN sourcepackagerelease
34452
(sourcepackagepublishing.sourcepackagerelease = sourcepackagerelease.id)
34457
(sourcepackagepublishing.distrorelease = distrorelease.id)
34460
JOIN sourcepackagename
34462
(sourcepackagerelease.sourcepackagename = sourcepackagename.id)
34466
<!-- List off permissions -->
34468
<table width="100%" cellspacing="0" cellpadding="3">
34469
<caption>Permissions which apply to
34470
public.vsourcepackageindistro</caption>
34474
<center>Select</center>
34477
<center>Insert</center>
34480
<center>Update</center>
34483
<center>Delete</center>
34486
<center>Reference</center>
34489
<center>Rule</center>
34492
<center>Trigger</center>
34496
<td>group admin</td>
34498
<center>♦</center>
34501
<center>♦</center>
34504
<center>♦</center>
34507
<center>♦</center>
34510
<center>♦</center>
34513
<center>♦</center>
34516
<center>♦</center>
34520
<td>group read</td>
34522
<center>♦</center>
34532
<td>group write</td>
34534
<center>♦</center>
34546
<center>♦</center>
34549
<center>♦</center>
34552
<center>♦</center>
34555
<center>♦</center>
34558
<center>♦</center>
34561
<center>♦</center>
34564
<center>♦</center>
34570
<center>♦</center>
34580
<p><a href="#index">Index</a> - <a href="#public.schema">Schema
34583
<h2>View: <a href="#public.schema">public</a>.<a name=
34584
"public.view.vsourcepackagereleasepublishing" id=
34585
"public.view.vsourcepackagereleasepublishing">vsourcepackagereleasepublishing</a></h2>
34586
<p>This view simplifies a lot of queries relating to publishing and
34587
is for use as a replacement for SourcePackageRelease (I actually
34588
intend to move it to a subclass of SourcePackageRelease, because
34589
using a View in place of a real table is bizarre).</p>
34590
<table width="100%" cellspacing="0" cellpadding="3">
34591
<caption>public.vsourcepackagereleasepublishing Structure</caption>
34596
<th>Description</th>
34612
<td>maintainer</td>
34618
<td>publishingstatus</td>
34624
<td>datepublished</td>
34625
<td>timestamp without time zone</td>
34630
<td>distrorelease</td>
34636
<td>componentname</td>
34642
<td>architecturehintlist</td>
34690
<td>builddepends</td>
34696
<td>builddependsindep</td>
34708
<td>dateuploaded</td>
34709
<td>timestamp without time zone</td>
34720
<td>dscsigningkey</td>
34726
<td>uploaddistrorelease</td>
34732
<td>sourcepackagename</td>
34737
<!-- Constraint List -->
34738
<!-- Foreign Key Discovery -->
34739
<!-- View Definition -->
34741
SELECT DISTINCT sourcepackagerelease.id
34742
, sourcepackagename.name
34743
, maintainership.maintainer
34744
, sourcepackagepublishing.status AS publishingstatus
34745
, sourcepackagepublishing.datepublished
34746
, sourcepackagepublishing.distrorelease
34747
, component.name AS componentname
34748
, sourcepackagerelease.architecturehintlist
34749
, sourcepackagerelease."version"
34750
, sourcepackagerelease.creator
34751
, sourcepackagerelease.format
34752
, sourcepackagerelease.manifest
34753
, sourcepackagerelease.section
34754
, sourcepackagerelease.component
34755
, sourcepackagerelease.changelog
34756
, sourcepackagerelease.builddepends
34757
, sourcepackagerelease.builddependsindep
34758
, sourcepackagerelease.urgency
34759
, sourcepackagerelease.dateuploaded
34760
, sourcepackagerelease.dsc
34761
, sourcepackagerelease.dscsigningkey
34762
, sourcepackagerelease.uploaddistrorelease
34763
, sourcepackagerelease.sourcepackagename
34768
(sourcepackagepublishing
34769
JOIN sourcepackagerelease
34771
(sourcepackagepublishing.sourcepackagerelease = sourcepackagerelease.id)
34774
JOIN sourcepackagename
34776
(sourcepackagerelease.sourcepackagename = sourcepackagename.id)
34781
(sourcepackagepublishing.distrorelease = distrorelease.id)
34786
(sourcepackagepublishing.component = component.id)
34789
LEFT JOIN maintainership
34792
(sourcepackagerelease.sourcepackagename = maintainership.sourcepackagename)
34793
AND (distrorelease.distribution = maintainership.distribution)
34797
ORDER BY sourcepackagerelease.id
34798
, sourcepackagename.name
34799
, maintainership.maintainer
34800
, sourcepackagepublishing.status
34801
, sourcepackagepublishing.datepublished
34802
, sourcepackagepublishing.distrorelease
34804
, sourcepackagerelease.architecturehintlist
34805
, sourcepackagerelease."version"
34806
, sourcepackagerelease.creator
34807
, sourcepackagerelease.format
34808
, sourcepackagerelease.manifest
34809
, sourcepackagerelease.section
34810
, sourcepackagerelease.component
34811
, sourcepackagerelease.changelog
34812
, sourcepackagerelease.builddepends
34813
, sourcepackagerelease.builddependsindep
34814
, sourcepackagerelease.urgency
34815
, sourcepackagerelease.dateuploaded
34816
, sourcepackagerelease.dsc
34817
, sourcepackagerelease.dscsigningkey
34818
, sourcepackagerelease.uploaddistrorelease
34819
, sourcepackagerelease.sourcepackagename;
34821
<!-- List off permissions -->
34823
<table width="100%" cellspacing="0" cellpadding="3">
34824
<caption>Permissions which apply to
34825
public.vsourcepackagereleasepublishing</caption>
34829
<center>Select</center>
34832
<center>Insert</center>
34835
<center>Update</center>
34838
<center>Delete</center>
34841
<center>Reference</center>
34844
<center>Rule</center>
34847
<center>Trigger</center>
34851
<td>group admin</td>
34853
<center>♦</center>
34856
<center>♦</center>
34859
<center>♦</center>
34862
<center>♦</center>
34865
<center>♦</center>
34868
<center>♦</center>
34871
<center>♦</center>
34875
<td>group read</td>
34877
<center>♦</center>
34887
<td>group write</td>
34889
<center>♦</center>
34901
<center>♦</center>
34904
<center>♦</center>
34907
<center>♦</center>
34910
<center>♦</center>
34913
<center>♦</center>
34916
<center>♦</center>
34919
<center>♦</center>
34923
<p><a href="#index">Index</a> - <a href="#public.schema">Schema
34926
36321
<h2>Table: <a href="#public.schema">public</a>.<a name=
34927
36322
"public.table.wikiname" id=
34928
36323
"public.table.wikiname">wikiname</a></h2>