mirror of
https://github.com/google/nomulus.git
synced 2025-08-04 00:42:12 +02:00
Delete unnecessary replay-related objects from DBs (#1692)
This deletes LastSqlTransaction and ReplayGap in Datastore, as well as SqlReplayCheckpoint and TransactionEntity in SQL. These are all related to replay and are no longer used.
This commit is contained in:
parent
5934fecd4f
commit
47ce568964
5 changed files with 61 additions and 388 deletions
|
@ -261,32 +261,32 @@ td.section {
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="property_name">generated on</td>
|
||||
<td class="property_value">2022-07-14 14:33:57.74529</td>
|
||||
<td class="property_value">2022-07-15 16:41:11.765867</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_name">last flyway file</td>
|
||||
<td id="lastFlywayFile" class="property_value">V120__remove_ofy_key_fields.sql</td>
|
||||
<td id="lastFlywayFile" class="property_value">V121__drop_sql_checkpoint_and_txn.sql</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p> </p>
|
||||
<p> </p>
|
||||
<svg viewbox="0.00 0.00 4249.00 2959.50" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="erDiagram" style="overflow: hidden; width: 100%; height: 800px"><g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 2955.5)">
|
||||
<svg viewbox="0.00 0.00 4249.00 2808.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="erDiagram" style="overflow: hidden; width: 100%; height: 800px"><g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 2804)">
|
||||
<title>SchemaCrawler_Diagram</title>
|
||||
<polygon fill="white" stroke="transparent" points="-4,4 -4,-2955.5 4245,-2955.5 4245,4 -4,4" />
|
||||
<text text-anchor="start" x="3980.5" y="-29.8" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
<polygon fill="white" stroke="transparent" points="-4,4 -4,-2804 4245,-2804 4245,4 -4,4" />
|
||||
<text text-anchor="start" x="3972.5" y="-29.8" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
generated by
|
||||
</text>
|
||||
<text text-anchor="start" x="4063.5" y="-29.8" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
<text text-anchor="start" x="4055.5" y="-29.8" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
SchemaCrawler 16.10.1
|
||||
</text>
|
||||
<text text-anchor="start" x="3979.5" y="-10.8" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
<text text-anchor="start" x="3971.5" y="-10.8" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
generated on
|
||||
</text>
|
||||
<text text-anchor="start" x="4063.5" y="-10.8" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
2022-07-14 14:33:57.74529
|
||||
<text text-anchor="start" x="4055.5" y="-10.8" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
2022-07-15 16:41:11.765867
|
||||
</text>
|
||||
<polygon fill="none" stroke="#888888" points="3976,-4 3976,-44 4233,-44 4233,-4 3976,-4" /> <!-- allocationtoken_a08ccbef -->
|
||||
<polygon fill="none" stroke="#888888" points="3968,-4 3968,-44 4233,-44 4233,-4 3968,-4" /> <!-- allocationtoken_a08ccbef -->
|
||||
<g id="node1" class="node">
|
||||
<title>allocationtoken_a08ccbef</title>
|
||||
<polygon fill="#ebcef2" stroke="transparent" points="2521.5,-271 2521.5,-290 2707.5,-290 2707.5,-271 2521.5,-271" />
|
||||
|
@ -1260,7 +1260,7 @@ td.section {
|
|||
fk_domain_transfer_losing_registrar_id
|
||||
</text>
|
||||
</g> <!-- tld_f1fa57e2 -->
|
||||
<g id="node37" class="node">
|
||||
<g id="node36" class="node">
|
||||
<title>tld_f1fa57e2</title>
|
||||
<polygon fill="#ebcef2" stroke="transparent" points="568.5,-1511 568.5,-1530 641.5,-1530 641.5,-1511 568.5,-1511" />
|
||||
<text text-anchor="start" x="570.5" y="-1517.8" font-family="Helvetica,sans-Serif" font-weight="bold" font-style="italic" font-size="14.00">
|
||||
|
@ -3071,71 +3071,26 @@ td.section {
|
|||
text not null
|
||||
</text>
|
||||
<polygon fill="none" stroke="#888888" points="3919.5,-2614 3919.5,-2730 4207.5,-2730 4207.5,-2614 3919.5,-2614" />
|
||||
</g> <!-- sqlreplaycheckpoint_342081b3 -->
|
||||
<g id="node36" class="node">
|
||||
<title>sqlreplaycheckpoint_342081b3</title>
|
||||
<polygon fill="#ebcef2" stroke="transparent" points="3933.5,-2776 3933.5,-2795 4120.5,-2795 4120.5,-2776 3933.5,-2776" />
|
||||
<text text-anchor="start" x="3935.5" y="-2782.8" font-family="Helvetica,sans-Serif" font-weight="bold" font-style="italic" font-size="14.00">
|
||||
public.SqlReplayCheckpoint
|
||||
</text>
|
||||
<polygon fill="#ebcef2" stroke="transparent" points="4120.5,-2776 4120.5,-2795 4194.5,-2795 4194.5,-2776 4120.5,-2776" />
|
||||
<text text-anchor="start" x="4155.5" y="-2781.8" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
[table]
|
||||
</text>
|
||||
<text text-anchor="start" x="3935.5" y="-2763.8" font-family="Helvetica,sans-Serif" font-weight="bold" font-style="italic" font-size="14.00">
|
||||
id
|
||||
</text>
|
||||
<text text-anchor="start" x="4033.5" y="-2762.8" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
</text>
|
||||
<text text-anchor="start" x="4122.5" y="-2762.8" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
int8 not null
|
||||
</text>
|
||||
<polygon fill="none" stroke="#888888" points="3932,-2756 3932,-2796 4195,-2796 4195,-2756 3932,-2756" />
|
||||
</g> <!-- tmchcrl_d282355 -->
|
||||
<g id="node38" class="node">
|
||||
<g id="node37" class="node">
|
||||
<title>tmchcrl_d282355</title>
|
||||
<polygon fill="#ebcef2" stroke="transparent" points="3974.5,-2842 3974.5,-2861 4078.5,-2861 4078.5,-2842 3974.5,-2842" />
|
||||
<text text-anchor="start" x="3976.5" y="-2848.8" font-family="Helvetica,sans-Serif" font-weight="bold" font-style="italic" font-size="14.00">
|
||||
<polygon fill="#ebcef2" stroke="transparent" points="3974.5,-2776 3974.5,-2795 4078.5,-2795 4078.5,-2776 3974.5,-2776" />
|
||||
<text text-anchor="start" x="3976.5" y="-2782.8" font-family="Helvetica,sans-Serif" font-weight="bold" font-style="italic" font-size="14.00">
|
||||
public.TmchCrl
|
||||
</text>
|
||||
<polygon fill="#ebcef2" stroke="transparent" points="4078.5,-2842 4078.5,-2861 4152.5,-2861 4152.5,-2842 4078.5,-2842" />
|
||||
<text text-anchor="start" x="4113.5" y="-2847.8" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
<polygon fill="#ebcef2" stroke="transparent" points="4078.5,-2776 4078.5,-2795 4152.5,-2795 4152.5,-2776 4078.5,-2776" />
|
||||
<text text-anchor="start" x="4113.5" y="-2781.8" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
[table]
|
||||
</text>
|
||||
<text text-anchor="start" x="3976.5" y="-2829.8" font-family="Helvetica,sans-Serif" font-weight="bold" font-style="italic" font-size="14.00">
|
||||
<text text-anchor="start" x="3976.5" y="-2763.8" font-family="Helvetica,sans-Serif" font-weight="bold" font-style="italic" font-size="14.00">
|
||||
id
|
||||
</text>
|
||||
<text text-anchor="start" x="4032.5" y="-2828.8" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
<text text-anchor="start" x="4032.5" y="-2762.8" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
</text>
|
||||
<text text-anchor="start" x="4080.5" y="-2828.8" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
<text text-anchor="start" x="4080.5" y="-2762.8" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
int8 not null
|
||||
</text>
|
||||
<polygon fill="none" stroke="#888888" points="3973.5,-2822 3973.5,-2862 4153.5,-2862 4153.5,-2822 3973.5,-2822" />
|
||||
</g> <!-- transaction_d50389d4 -->
|
||||
<g id="node39" class="node">
|
||||
<title>transaction_d50389d4</title>
|
||||
<polygon fill="#ebcef2" stroke="transparent" points="3946.5,-2927 3946.5,-2946 4071.5,-2946 4071.5,-2927 3946.5,-2927" />
|
||||
<text text-anchor="start" x="3948.5" y="-2933.8" font-family="Helvetica,sans-Serif" font-weight="bold" font-style="italic" font-size="14.00">
|
||||
public.Transaction
|
||||
</text>
|
||||
<polygon fill="#ebcef2" stroke="transparent" points="4071.5,-2927 4071.5,-2946 4181.5,-2946 4181.5,-2927 4071.5,-2927" />
|
||||
<text text-anchor="start" x="4142.5" y="-2932.8" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
[table]
|
||||
</text>
|
||||
<text text-anchor="start" x="3948.5" y="-2914.8" font-family="Helvetica,sans-Serif" font-weight="bold" font-style="italic" font-size="14.00">
|
||||
id
|
||||
</text>
|
||||
<text text-anchor="start" x="4015.5" y="-2913.8" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
</text>
|
||||
<text text-anchor="start" x="4073.5" y="-2913.8" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
bigserial not null
|
||||
</text>
|
||||
<text text-anchor="start" x="4015.5" y="-2894.8" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
</text>
|
||||
<text text-anchor="start" x="4073.5" y="-2894.8" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
auto-incremented
|
||||
</text>
|
||||
<polygon fill="none" stroke="#888888" points="3945,-2888.5 3945,-2947.5 4182,-2947.5 4182,-2888.5 3945,-2888.5" />
|
||||
<polygon fill="none" stroke="#888888" points="3973.5,-2756 3973.5,-2796 4153.5,-2796 4153.5,-2756 3973.5,-2756" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
@ -6760,36 +6715,6 @@ td.section {
|
|||
</tbody>
|
||||
</table>
|
||||
<p> </p>
|
||||
<table>
|
||||
<caption style="background-color: #EBCEF2;"><span id="sqlreplaycheckpoint_342081b3" class="caption_name">public.SqlReplayCheckpoint</span> <span class="caption_description">[table]</span>
|
||||
</caption>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="spacer"></td>
|
||||
<td class="minwidth"><b><i>id</i></b></td>
|
||||
<td class="minwidth">int8 not null</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3" class="section">Primary Key</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" class="name">SqlReplayCheckpoint_pkey</td>
|
||||
<td class="description right">[primary key]</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="spacer"></td>
|
||||
<td class="minwidth">id</td>
|
||||
<td class="minwidth"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p> </p>
|
||||
<table>
|
||||
<caption style="background-color: #EBCEF2;"><span id="tld_f1fa57e2" class="caption_name">public.Tld</span> <span class="caption_description">[table]</span>
|
||||
</caption>
|
||||
|
@ -6880,41 +6805,6 @@ td.section {
|
|||
</tbody>
|
||||
</table>
|
||||
<p> </p>
|
||||
<table>
|
||||
<caption style="background-color: #EBCEF2;"><span id="transaction_d50389d4" class="caption_name">public.Transaction</span> <span class="caption_description">[table]</span>
|
||||
</caption>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="spacer"></td>
|
||||
<td class="minwidth"><b><i>id</i></b></td>
|
||||
<td class="minwidth">bigserial not null</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="spacer"></td>
|
||||
<td class="minwidth"></td>
|
||||
<td class="minwidth">auto-incremented</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3" class="section">Primary Key</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" class="name">Transaction_pkey</td>
|
||||
<td class="description right">[primary key]</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="spacer"></td>
|
||||
<td class="minwidth">id</td>
|
||||
<td class="minwidth"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p> </p>
|
||||
<script>svgPanZoom('#erDiagram', { zoomEnabled: true, controlIconsEnabled: true, fit: true, center: true, minZoom: 0.1});</script>
|
||||
</body>
|
||||
</html>
|
|
@ -261,19 +261,19 @@ td.section {
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="property_name">generated on</td>
|
||||
<td class="property_value">2022-07-14 14:33:54.410486</td>
|
||||
<td class="property_value">2022-07-15 16:41:09.696997</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_name">last flyway file</td>
|
||||
<td id="lastFlywayFile" class="property_value">V120__remove_ofy_key_fields.sql</td>
|
||||
<td id="lastFlywayFile" class="property_value">V121__drop_sql_checkpoint_and_txn.sql</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p> </p>
|
||||
<p> </p>
|
||||
<svg viewbox="0.00 0.00 4949.02 4852.50" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="erDiagram" style="overflow: hidden; width: 100%; height: 800px"><g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 4848.5)">
|
||||
<svg viewbox="0.00 0.00 4949.02 4688.50" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="erDiagram" style="overflow: hidden; width: 100%; height: 800px"><g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 4684.5)">
|
||||
<title>SchemaCrawler_Diagram</title>
|
||||
<polygon fill="white" stroke="transparent" points="-4,4 -4,-4848.5 4945.02,-4848.5 4945.02,4 -4,4" />
|
||||
<polygon fill="white" stroke="transparent" points="-4,4 -4,-4684.5 4945.02,-4684.5 4945.02,4 -4,4" />
|
||||
<text text-anchor="start" x="4672.52" y="-29.8" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
generated by
|
||||
</text>
|
||||
|
@ -284,7 +284,7 @@ td.section {
|
|||
generated on
|
||||
</text>
|
||||
<text text-anchor="start" x="4755.52" y="-10.8" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
2022-07-14 14:33:54.410486
|
||||
2022-07-15 16:41:09.696997
|
||||
</text>
|
||||
<polygon fill="none" stroke="#888888" points="4668.02,-4 4668.02,-44 4933.02,-44 4933.02,-4 4668.02,-4" /> <!-- allocationtoken_a08ccbef -->
|
||||
<g id="node1" class="node">
|
||||
|
@ -2956,7 +2956,7 @@ td.section {
|
|||
fk_domain_transfer_losing_registrar_id
|
||||
</text>
|
||||
</g> <!-- tld_f1fa57e2 -->
|
||||
<g id="node37" class="node">
|
||||
<g id="node36" class="node">
|
||||
<title>tld_f1fa57e2</title>
|
||||
<polygon fill="#ebcef2" stroke="transparent" points="738.5,-3327.5 738.5,-3346.5 1017.5,-3346.5 1017.5,-3327.5 738.5,-3327.5" />
|
||||
<text text-anchor="start" x="740.5" y="-3334.3" font-family="Helvetica,sans-Serif" font-weight="bold" font-style="italic" font-size="14.00">
|
||||
|
@ -6359,111 +6359,50 @@ td.section {
|
|||
text not null
|
||||
</text>
|
||||
<polygon fill="none" stroke="#888888" points="4607.5,-4355 4607.5,-4528 4895.5,-4528 4895.5,-4355 4607.5,-4355" />
|
||||
</g> <!-- sqlreplaycheckpoint_342081b3 -->
|
||||
<g id="node36" class="node">
|
||||
<title>sqlreplaycheckpoint_342081b3</title>
|
||||
<polygon fill="#ebcef2" stroke="transparent" points="4595.5,-4592.5 4595.5,-4611.5 4782.5,-4611.5 4782.5,-4592.5 4595.5,-4592.5" />
|
||||
<text text-anchor="start" x="4597.5" y="-4599.3" font-family="Helvetica,sans-Serif" font-weight="bold" font-style="italic" font-size="14.00">
|
||||
public.SqlReplayCheckpoint
|
||||
</text>
|
||||
<polygon fill="#ebcef2" stroke="transparent" points="4782.5,-4592.5 4782.5,-4611.5 4908.5,-4611.5 4908.5,-4592.5 4782.5,-4592.5" />
|
||||
<text text-anchor="start" x="4869.5" y="-4598.3" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
[table]
|
||||
</text>
|
||||
<text text-anchor="start" x="4597.5" y="-4580.3" font-family="Helvetica,sans-Serif" font-weight="bold" font-style="italic" font-size="14.00">
|
||||
id
|
||||
</text>
|
||||
<text text-anchor="start" x="4738.5" y="-4579.3" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
</text>
|
||||
<text text-anchor="start" x="4784.5" y="-4579.3" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
int8 not null
|
||||
</text>
|
||||
<text text-anchor="start" x="4597.5" y="-4560.3" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
last_replay_time
|
||||
</text>
|
||||
<text text-anchor="start" x="4738.5" y="-4560.3" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
</text>
|
||||
<text text-anchor="start" x="4784.5" y="-4560.3" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
timestamptz not null
|
||||
</text>
|
||||
<polygon fill="none" stroke="#888888" points="4594,-4554 4594,-4613 4909,-4613 4909,-4554 4594,-4554" />
|
||||
</g> <!-- tmchcrl_d282355 -->
|
||||
<g id="node38" class="node">
|
||||
<g id="node37" class="node">
|
||||
<title>tmchcrl_d282355</title>
|
||||
<polygon fill="#ebcef2" stroke="transparent" points="4615.5,-4715.5 4615.5,-4734.5 4762.5,-4734.5 4762.5,-4715.5 4615.5,-4715.5" />
|
||||
<text text-anchor="start" x="4617.5" y="-4722.3" font-family="Helvetica,sans-Serif" font-weight="bold" font-style="italic" font-size="14.00">
|
||||
<polygon fill="#ebcef2" stroke="transparent" points="4615.5,-4630.5 4615.5,-4649.5 4762.5,-4649.5 4762.5,-4630.5 4615.5,-4630.5" />
|
||||
<text text-anchor="start" x="4617.5" y="-4637.3" font-family="Helvetica,sans-Serif" font-weight="bold" font-style="italic" font-size="14.00">
|
||||
public.TmchCrl
|
||||
</text>
|
||||
<polygon fill="#ebcef2" stroke="transparent" points="4762.5,-4715.5 4762.5,-4734.5 4888.5,-4734.5 4888.5,-4715.5 4762.5,-4715.5" />
|
||||
<text text-anchor="start" x="4849.5" y="-4721.3" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
<polygon fill="#ebcef2" stroke="transparent" points="4762.5,-4630.5 4762.5,-4649.5 4888.5,-4649.5 4888.5,-4630.5 4762.5,-4630.5" />
|
||||
<text text-anchor="start" x="4849.5" y="-4636.3" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
[table]
|
||||
</text>
|
||||
<text text-anchor="start" x="4617.5" y="-4702.3" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
<text text-anchor="start" x="4617.5" y="-4617.3" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
certificate_revocations
|
||||
</text>
|
||||
<text text-anchor="start" x="4756.5" y="-4702.3" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
<text text-anchor="start" x="4756.5" y="-4617.3" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
</text>
|
||||
<text text-anchor="start" x="4764.5" y="-4702.3" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
<text text-anchor="start" x="4764.5" y="-4617.3" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
text not null
|
||||
</text>
|
||||
<text text-anchor="start" x="4617.5" y="-4683.3" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
<text text-anchor="start" x="4617.5" y="-4598.3" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
update_timestamp
|
||||
</text>
|
||||
<text text-anchor="start" x="4756.5" y="-4683.3" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
<text text-anchor="start" x="4756.5" y="-4598.3" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
</text>
|
||||
<text text-anchor="start" x="4764.5" y="-4683.3" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
<text text-anchor="start" x="4764.5" y="-4598.3" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
timestamptz not null
|
||||
</text>
|
||||
<text text-anchor="start" x="4617.5" y="-4664.3" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
<text text-anchor="start" x="4617.5" y="-4579.3" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
url
|
||||
</text>
|
||||
<text text-anchor="start" x="4756.5" y="-4664.3" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
<text text-anchor="start" x="4756.5" y="-4579.3" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
</text>
|
||||
<text text-anchor="start" x="4764.5" y="-4664.3" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
<text text-anchor="start" x="4764.5" y="-4579.3" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
text not null
|
||||
</text>
|
||||
<text text-anchor="start" x="4617.5" y="-4646.3" font-family="Helvetica,sans-Serif" font-weight="bold" font-style="italic" font-size="14.00">
|
||||
<text text-anchor="start" x="4617.5" y="-4561.3" font-family="Helvetica,sans-Serif" font-weight="bold" font-style="italic" font-size="14.00">
|
||||
id
|
||||
</text>
|
||||
<text text-anchor="start" x="4756.5" y="-4645.3" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
<text text-anchor="start" x="4756.5" y="-4560.3" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
</text>
|
||||
<text text-anchor="start" x="4764.5" y="-4645.3" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
<text text-anchor="start" x="4764.5" y="-4560.3" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
int8 not null
|
||||
</text>
|
||||
<polygon fill="none" stroke="#888888" points="4614,-4639 4614,-4736 4889,-4736 4889,-4639 4614,-4639" />
|
||||
</g> <!-- transaction_d50389d4 -->
|
||||
<g id="node39" class="node">
|
||||
<title>transaction_d50389d4</title>
|
||||
<polygon fill="#ebcef2" stroke="transparent" points="4634.5,-4820.5 4634.5,-4839.5 4759.5,-4839.5 4759.5,-4820.5 4634.5,-4820.5" />
|
||||
<text text-anchor="start" x="4636.5" y="-4827.3" font-family="Helvetica,sans-Serif" font-weight="bold" font-style="italic" font-size="14.00">
|
||||
public.Transaction
|
||||
</text>
|
||||
<polygon fill="#ebcef2" stroke="transparent" points="4759.5,-4820.5 4759.5,-4839.5 4869.5,-4839.5 4869.5,-4820.5 4759.5,-4820.5" />
|
||||
<text text-anchor="start" x="4830.5" y="-4826.3" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
[table]
|
||||
</text>
|
||||
<text text-anchor="start" x="4636.5" y="-4808.3" font-family="Helvetica,sans-Serif" font-weight="bold" font-style="italic" font-size="14.00">
|
||||
id
|
||||
</text>
|
||||
<text text-anchor="start" x="4722.5" y="-4807.3" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
</text>
|
||||
<text text-anchor="start" x="4761.5" y="-4807.3" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
bigserial not null
|
||||
</text>
|
||||
<text text-anchor="start" x="4722.5" y="-4788.3" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
</text>
|
||||
<text text-anchor="start" x="4761.5" y="-4788.3" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
auto-incremented
|
||||
</text>
|
||||
<text text-anchor="start" x="4636.5" y="-4769.3" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
contents
|
||||
</text>
|
||||
<text text-anchor="start" x="4722.5" y="-4769.3" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
</text>
|
||||
<text text-anchor="start" x="4761.5" y="-4769.3" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
bytea
|
||||
</text>
|
||||
<polygon fill="none" stroke="#888888" points="4633,-4762.5 4633,-4840.5 4870,-4840.5 4870,-4762.5 4633,-4762.5" />
|
||||
<polygon fill="none" stroke="#888888" points="4614,-4554 4614,-4651 4889,-4651 4889,-4554 4614,-4554" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
@ -13670,59 +13609,6 @@ td.section {
|
|||
</tbody>
|
||||
</table>
|
||||
<p> </p>
|
||||
<table>
|
||||
<caption style="background-color: #EBCEF2;"><span id="sqlreplaycheckpoint_342081b3" class="caption_name">public.SqlReplayCheckpoint</span> <span class="caption_description">[table]</span>
|
||||
</caption>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="spacer"></td>
|
||||
<td class="minwidth"><b><i>id</i></b></td>
|
||||
<td class="minwidth">int8 not null</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="spacer"></td>
|
||||
<td class="minwidth">last_replay_time</td>
|
||||
<td class="minwidth">timestamptz not null</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3" class="section">Primary Key</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" class="name">SqlReplayCheckpoint_pkey</td>
|
||||
<td class="description right">[primary key]</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="spacer"></td>
|
||||
<td class="minwidth">id</td>
|
||||
<td class="minwidth"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3" class="section">Indexes</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" class="name">SqlReplayCheckpoint_pkey</td>
|
||||
<td class="description right">[unique index]</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="spacer"></td>
|
||||
<td class="minwidth">id</td>
|
||||
<td class="minwidth">ascending</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p> </p>
|
||||
<table>
|
||||
<caption style="background-color: #EBCEF2;"><span id="tld_f1fa57e2" class="caption_name">public.Tld</span> <span class="caption_description">[table]</span>
|
||||
</caption>
|
||||
|
@ -14049,64 +13935,6 @@ td.section {
|
|||
</tbody>
|
||||
</table>
|
||||
<p> </p>
|
||||
<table>
|
||||
<caption style="background-color: #EBCEF2;"><span id="transaction_d50389d4" class="caption_name">public.Transaction</span> <span class="caption_description">[table]</span>
|
||||
</caption>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="spacer"></td>
|
||||
<td class="minwidth"><b><i>id</i></b></td>
|
||||
<td class="minwidth">bigserial not null</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="spacer"></td>
|
||||
<td class="minwidth"></td>
|
||||
<td class="minwidth">auto-incremented</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="spacer"></td>
|
||||
<td class="minwidth">contents</td>
|
||||
<td class="minwidth">bytea</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3" class="section">Primary Key</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" class="name">Transaction_pkey</td>
|
||||
<td class="description right">[primary key]</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="spacer"></td>
|
||||
<td class="minwidth">id</td>
|
||||
<td class="minwidth"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3" class="section">Indexes</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" class="name">Transaction_pkey</td>
|
||||
<td class="description right">[unique index]</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="spacer"></td>
|
||||
<td class="minwidth">id</td>
|
||||
<td class="minwidth">ascending</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p> </p>
|
||||
<script>svgPanZoom('#erDiagram', { zoomEnabled: true, controlIconsEnabled: true, fit: true, center: true, minZoom: 0.1});</script>
|
||||
</body>
|
||||
</html>
|
|
@ -118,3 +118,4 @@ V117__add_billing_recurrence_last_expansion_column.sql
|
|||
V118__drop_billing_identifier_column_from_registrar.sql
|
||||
V119__token_registration_behavior.sql
|
||||
V120__remove_ofy_key_fields.sql
|
||||
V121__drop_sql_checkpoint_and_txn.sql
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
-- Copyright 2022 The Nomulus Authors. All Rights Reserved.
|
||||
--
|
||||
-- Licensed under the Apache License, Version 2.0 (the "License");
|
||||
-- you may not use this file except in compliance with the License.
|
||||
-- You may obtain a copy of the License at
|
||||
--
|
||||
-- http://www.apache.org/licenses/LICENSE-2.0
|
||||
--
|
||||
-- Unless required by applicable law or agreed to in writing, software
|
||||
-- distributed under the License is distributed on an "AS IS" BASIS,
|
||||
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
-- See the License for the specific language governing permissions and
|
||||
-- limitations under the License.
|
||||
|
||||
DROP TABLE IF EXISTS "SqlReplayCheckpoint" CASCADE;
|
||||
DROP TABLE IF EXISTS "Transaction" CASCADE;
|
|
@ -983,16 +983,6 @@ CREATE SEQUENCE public."SignedMarkRevocationList_revision_id_seq"
|
|||
ALTER SEQUENCE public."SignedMarkRevocationList_revision_id_seq" OWNED BY public."SignedMarkRevocationList".revision_id;
|
||||
|
||||
|
||||
--
|
||||
-- Name: SqlReplayCheckpoint; Type: TABLE; Schema: public; Owner: -
|
||||
--
|
||||
|
||||
CREATE TABLE public."SqlReplayCheckpoint" (
|
||||
id bigint NOT NULL,
|
||||
last_replay_time timestamp with time zone NOT NULL
|
||||
);
|
||||
|
||||
|
||||
--
|
||||
-- Name: Tld; Type: TABLE; Schema: public; Owner: -
|
||||
--
|
||||
|
@ -1051,35 +1041,6 @@ CREATE TABLE public."TmchCrl" (
|
|||
);
|
||||
|
||||
|
||||
--
|
||||
-- Name: Transaction; Type: TABLE; Schema: public; Owner: -
|
||||
--
|
||||
|
||||
CREATE TABLE public."Transaction" (
|
||||
id bigint NOT NULL,
|
||||
contents bytea
|
||||
);
|
||||
|
||||
|
||||
--
|
||||
-- Name: Transaction_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
||||
--
|
||||
|
||||
CREATE SEQUENCE public."Transaction_id_seq"
|
||||
START WITH 1
|
||||
INCREMENT BY 1
|
||||
NO MINVALUE
|
||||
NO MAXVALUE
|
||||
CACHE 1;
|
||||
|
||||
|
||||
--
|
||||
-- Name: Transaction_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
||||
--
|
||||
|
||||
ALTER SEQUENCE public."Transaction_id_seq" OWNED BY public."Transaction".id;
|
||||
|
||||
|
||||
--
|
||||
-- Name: ClaimsList revision_id; Type: DEFAULT; Schema: public; Owner: -
|
||||
--
|
||||
|
@ -1129,13 +1090,6 @@ ALTER TABLE ONLY public."SignedMarkRevocationList" ALTER COLUMN revision_id SET
|
|||
ALTER TABLE ONLY public."Spec11ThreatMatch" ALTER COLUMN id SET DEFAULT nextval('public."SafeBrowsingThreat_id_seq"'::regclass);
|
||||
|
||||
|
||||
--
|
||||
-- Name: Transaction id; Type: DEFAULT; Schema: public; Owner: -
|
||||
--
|
||||
|
||||
ALTER TABLE ONLY public."Transaction" ALTER COLUMN id SET DEFAULT nextval('public."Transaction_id_seq"'::regclass);
|
||||
|
||||
|
||||
--
|
||||
-- Name: AllocationToken AllocationToken_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
||||
--
|
||||
|
@ -1400,14 +1354,6 @@ ALTER TABLE ONLY public."SignedMarkRevocationList"
|
|||
ADD CONSTRAINT "SignedMarkRevocationList_pkey" PRIMARY KEY (revision_id);
|
||||
|
||||
|
||||
--
|
||||
-- Name: SqlReplayCheckpoint SqlReplayCheckpoint_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
||||
--
|
||||
|
||||
ALTER TABLE ONLY public."SqlReplayCheckpoint"
|
||||
ADD CONSTRAINT "SqlReplayCheckpoint_pkey" PRIMARY KEY (id);
|
||||
|
||||
|
||||
--
|
||||
-- Name: Tld Tld_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
||||
--
|
||||
|
@ -1424,14 +1370,6 @@ ALTER TABLE ONLY public."TmchCrl"
|
|||
ADD CONSTRAINT "TmchCrl_pkey" PRIMARY KEY (id);
|
||||
|
||||
|
||||
--
|
||||
-- Name: Transaction Transaction_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
||||
--
|
||||
|
||||
ALTER TABLE ONLY public."Transaction"
|
||||
ADD CONSTRAINT "Transaction_pkey" PRIMARY KEY (id);
|
||||
|
||||
|
||||
--
|
||||
-- Name: RegistryLock idx_registry_lock_repo_id_revision_id; Type: CONSTRAINT; Schema: public; Owner: -
|
||||
--
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue