Merge pull request #5 from vulcanize/uml_update

update UML
This commit is contained in:
Ian Norden 2021-09-13 09:26:10 -05:00 committed by GitHub
commit 5d887c83d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 156 additions and 121 deletions

View File

@ -1,121 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<Diagram>
<ID>DATABASE</ID>
<OriginalElement>dc912b10-14b3-4867-846a-478eff9acca5.DATABASE:vulcanize_db</OriginalElement>
<nodes>
<node x="400.90178571428567" y="938.0">dc912b10-14b3-4867-846a-478eff9acca5.TABLE:vulcanize_db.eth.receipt_cids</node>
<node x="466.4508928571429" y="676.0">dc912b10-14b3-4867-846a-478eff9acca5.TABLE:vulcanize_db.eth.uncle_cids</node>
<node x="52.5" y="0.0">dc912b10-14b3-4867-846a-478eff9acca5.TABLE:vulcanize_db.public.nodes</node>
<node x="702.4508928571429" y="1015.0">dc912b10-14b3-4867-846a-478eff9acca5.TABLE:vulcanize_db.eth.state_accounts</node>
<node x="290.4508928571429" y="654.0">dc912b10-14b3-4867-846a-478eff9acca5.TABLE:vulcanize_db.eth.transaction_cids</node>
<node x="151.5" y="216.0">dc912b10-14b3-4867-846a-478eff9acca5.TABLE:vulcanize_db.eth.header_cids</node>
<node x="698.9508928571429" y="665.0">dc912b10-14b3-4867-846a-478eff9acca5.TABLE:vulcanize_db.eth.state_cids</node>
<node x="908.4508928571429" y="993.0">dc912b10-14b3-4867-846a-478eff9acca5.TABLE:vulcanize_db.eth.storage_cids</node>
<node x="1162.450892857143" y="0.0">dc912b10-14b3-4867-846a-478eff9acca5.TABLE:vulcanize_db.public.goose_db_version</node>
<node x="543.3258928571429" y="44.5">dc912b10-14b3-4867-846a-478eff9acca5.TABLE:vulcanize_db.public.blocks</node>
</nodes>
<notes />
<edges>
<edge source="dc912b10-14b3-4867-846a-478eff9acca5.TABLE:vulcanize_db.eth.receipt_cids" target="dc912b10-14b3-4867-846a-478eff9acca5.TABLE:vulcanize_db.public.blocks" relationship="REFERENCES">
<point x="51.00000000000006" y="-160.0" />
<point x="553.9017857142858" y="912.0" />
<point x="659.9508928571429" y="912.0" />
<point x="659.9508928571429" y="196.0" />
<point x="591.3258928571429" y="196.0" />
<point x="0.0" y="38.5" />
</edge>
<edge source="dc912b10-14b3-4867-846a-478eff9acca5.TABLE:vulcanize_db.eth.transaction_cids" target="dc912b10-14b3-4867-846a-478eff9acca5.TABLE:vulcanize_db.public.blocks" relationship="REFERENCES">
<point x="-39.0" y="-116.0" />
<point x="329.4508928571429" y="633.0" />
<point x="345.0" y="633.0" />
<point x="345.0" y="196.0" />
<point x="591.3258928571429" y="196.0" />
<point x="0.0" y="38.5" />
</edge>
<edge source="dc912b10-14b3-4867-846a-478eff9acca5.TABLE:vulcanize_db.eth.uncle_cids" target="dc912b10-14b3-4867-846a-478eff9acca5.TABLE:vulcanize_db.eth.header_cids" relationship="REFERENCES">
<point x="-45.75" y="-94.0" />
<point x="512.2008928571429" y="633.0" />
<point x="541.90625" y="633.0" />
<point x="541.90625" y="623.0" />
<point x="243.0" y="623.0" />
<point x="0.0" y="193.0" />
</edge>
<edge source="dc912b10-14b3-4867-846a-478eff9acca5.TABLE:vulcanize_db.eth.state_cids" target="dc912b10-14b3-4867-846a-478eff9acca5.TABLE:vulcanize_db.public.blocks" relationship="REFERENCES">
<point x="48.25" y="-105.0" />
<point x="843.7008928571429" y="196.0" />
<point x="591.3258928571429" y="196.0" />
<point x="0.0" y="38.5" />
</edge>
<edge source="dc912b10-14b3-4867-846a-478eff9acca5.TABLE:vulcanize_db.eth.storage_cids" target="dc912b10-14b3-4867-846a-478eff9acca5.TABLE:vulcanize_db.public.blocks" relationship="REFERENCES">
<point x="52.25" y="-105.0" />
<point x="1065.200892857143" y="196.0" />
<point x="591.3258928571429" y="196.0" />
<point x="0.0" y="38.5" />
</edge>
<edge source="dc912b10-14b3-4867-846a-478eff9acca5.TABLE:vulcanize_db.eth.state_cids" target="dc912b10-14b3-4867-846a-478eff9acca5.TABLE:vulcanize_db.eth.header_cids" relationship="REFERENCES">
<point x="-48.25" y="-105.0" />
<point x="747.2008928571429" y="633.0" />
<point x="541.90625" y="633.0" />
<point x="541.90625" y="623.0" />
<point x="243.0" y="623.0" />
<point x="0.0" y="193.0" />
</edge>
<edge source="dc912b10-14b3-4867-846a-478eff9acca5.TABLE:vulcanize_db.eth.uncle_cids" target="dc912b10-14b3-4867-846a-478eff9acca5.TABLE:vulcanize_db.public.blocks" relationship="REFERENCES">
<point x="45.75" y="-94.0" />
<point x="603.7008928571429" y="623.0" />
<point x="552.40625" y="623.0" />
<point x="552.40625" y="196.0" />
<point x="591.3258928571429" y="196.0" />
<point x="0.0" y="38.5" />
</edge>
<edge source="dc912b10-14b3-4867-846a-478eff9acca5.TABLE:vulcanize_db.eth.storage_cids" target="dc912b10-14b3-4867-846a-478eff9acca5.TABLE:vulcanize_db.eth.state_cids" relationship="REFERENCES">
<point x="-52.25" y="-105.0" />
<point x="960.7008928571429" y="912.0" />
<point x="795.4508928571429" y="912.0" />
<point x="0.0" y="105.0" />
</edge>
<edge source="dc912b10-14b3-4867-846a-478eff9acca5.TABLE:vulcanize_db.eth.transaction_cids" target="dc912b10-14b3-4867-846a-478eff9acca5.TABLE:vulcanize_db.eth.header_cids" relationship="REFERENCES">
<point x="39.0" y="-116.0" />
<point x="407.4508928571429" y="633.0" />
<point x="541.90625" y="633.0" />
<point x="541.90625" y="623.0" />
<point x="243.0" y="623.0" />
<point x="0.0" y="193.0" />
</edge>
<edge source="dc912b10-14b3-4867-846a-478eff9acca5.TABLE:vulcanize_db.public.nodes" target="dc912b10-14b3-4867-846a-478eff9acca5.TABLE:vulcanize_db.public.nodes" relationship="REFERENCES">
<point x="-48.25" y="83.0" />
<point x="100.75" y="150.1329394387001" />
<point x="66.47932053175776" y="150.1329394387001" />
<point x="66.47932053175776" y="83.0" />
<point x="-96.5" y="-0.0" />
</edge>
<edge source="dc912b10-14b3-4867-846a-478eff9acca5.TABLE:vulcanize_db.eth.header_cids" target="dc912b10-14b3-4867-846a-478eff9acca5.TABLE:vulcanize_db.public.nodes" relationship="REFERENCES">
<point x="-45.75" y="-193.0" />
<point x="48.25" y="83.0" />
</edge>
<edge source="dc912b10-14b3-4867-846a-478eff9acca5.TABLE:vulcanize_db.eth.receipt_cids" target="dc912b10-14b3-4867-846a-478eff9acca5.TABLE:vulcanize_db.eth.transaction_cids" relationship="REFERENCES">
<point x="-50.99999999999994" y="-160.0" />
<point x="451.9017857142858" y="912.0" />
<point x="368.4508928571429" y="912.0" />
<point x="0.0" y="116.0" />
</edge>
<edge source="dc912b10-14b3-4867-846a-478eff9acca5.TABLE:vulcanize_db.eth.header_cids" target="dc912b10-14b3-4867-846a-478eff9acca5.TABLE:vulcanize_db.public.blocks" relationship="REFERENCES">
<point x="45.75" y="-193.0" />
<point x="288.75" y="196.0" />
<point x="591.3258928571429" y="196.0" />
<point x="0.0" y="38.5" />
</edge>
<edge source="dc912b10-14b3-4867-846a-478eff9acca5.TABLE:vulcanize_db.eth.state_accounts" target="dc912b10-14b3-4867-846a-478eff9acca5.TABLE:vulcanize_db.eth.state_cids" relationship="REFERENCES">
<point x="0.0" y="-83.0" />
<point x="0.0" y="105.0" />
</edge>
</edges>
<settings layout="Hierarchic" zoom="0.5219737856592136" showDependencies="false" x="691.0" y="619.5" />
<SelectedNodes />
<Categories>
<Category>Columns</Category>
<Category>Key columns</Category>
<Category>Virtual foreign keys</Category>
</Categories>
</Diagram>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 149 KiB

After

Width:  |  Height:  |  Size: 493 KiB

156
vulcanize_db.uml Normal file
View File

@ -0,0 +1,156 @@
<?xml version="1.0" encoding="UTF-8"?>
<Diagram>
<ID>DATABASE</ID>
<OriginalElement>763cb2dc-728a-4fbd-a163-94dd564429aa</OriginalElement>
<nodes>
<node x="508.5625" y="998.0">763cb2dc-728a-4fbd-a163-94dd564429aa.TABLE:vulcanize_testing.eth.receipt_cids</node>
<node x="227.705078125" y="1282.0">763cb2dc-728a-4fbd-a163-94dd564429aa.TABLE:vulcanize_testing.eth.log_cids</node>
<node x="256.5" y="1031.0">763cb2dc-728a-4fbd-a163-94dd564429aa.TABLE:vulcanize_testing.eth.state_accounts</node>
<node x="156.705078125" y="712.0">763cb2dc-728a-4fbd-a163-94dd564429aa.TABLE:vulcanize_testing.eth.state_cids</node>
<node x="193.330078125" y="44.5">763cb2dc-728a-4fbd-a163-94dd564429aa.TABLE:vulcanize_testing.public.blocks</node>
<node x="10.5" y="1009.0">763cb2dc-728a-4fbd-a163-94dd564429aa.TABLE:vulcanize_testing.eth.storage_cids</node>
<node x="547.375" y="723.0">763cb2dc-728a-4fbd-a163-94dd564429aa.TABLE:vulcanize_testing.eth.uncle_cids</node>
<node x="1146.375" y="0.0">763cb2dc-728a-4fbd-a163-94dd564429aa.TABLE:vulcanize_testing.public.goose_db_version</node>
<node x="499.455078125" y="0.0">763cb2dc-728a-4fbd-a163-94dd564429aa.TABLE:vulcanize_testing.public.nodes</node>
<node x="824.375" y="1042.0">763cb2dc-728a-4fbd-a163-94dd564429aa.TABLE:vulcanize_testing.eth.access_list_element</node>
<node x="614.5" y="228.0">763cb2dc-728a-4fbd-a163-94dd564429aa.TABLE:vulcanize_testing.eth.header_cids</node>
<node x="761.375" y="690.0">763cb2dc-728a-4fbd-a163-94dd564429aa.TABLE:vulcanize_testing.eth.transaction_cids</node>
</nodes>
<notes />
<edges>
<edge source="763cb2dc-728a-4fbd-a163-94dd564429aa.TABLE:vulcanize_testing.public.nodes" target="763cb2dc-728a-4fbd-a163-94dd564429aa.TABLE:vulcanize_testing.public.nodes" relationship="REFERENCES">
<point x="-76.5" y="83.0" />
<point x="575.955078125" y="151.63819095477388" />
<point x="532.3193997330402" y="151.63819095477388" />
<point x="532.3193997330402" y="83.0" />
<point x="-153.0" y="0.0" />
</edge>
<edge source="763cb2dc-728a-4fbd-a163-94dd564429aa.TABLE:vulcanize_testing.eth.uncle_cids" target="763cb2dc-728a-4fbd-a163-94dd564429aa.TABLE:vulcanize_testing.eth.header_cids" relationship="REFERENCES">
<point x="48.5" y="-94.0" />
<point x="692.875" y="668.0" />
<point x="756.0" y="668.0" />
<point x="0.0" y="204.0" />
</edge>
<edge source="763cb2dc-728a-4fbd-a163-94dd564429aa.TABLE:vulcanize_testing.eth.storage_cids" target="763cb2dc-728a-4fbd-a163-94dd564429aa.TABLE:vulcanize_testing.public.blocks" relationship="REFERENCES">
<point x="-56.5" y="-105.0" />
<point x="67.0" y="971.0" />
<point x="111.205078125" y="971.0" />
<point x="111.205078125" y="207.0" />
<point x="502.875" y="207.0" />
<point x="502.875" y="197.0" />
<point x="269.080078125" y="197.0" />
<point x="25.25" y="38.5" />
</edge>
<edge source="763cb2dc-728a-4fbd-a163-94dd564429aa.TABLE:vulcanize_testing.eth.state_accounts" target="763cb2dc-728a-4fbd-a163-94dd564429aa.TABLE:vulcanize_testing.eth.state_cids" relationship="REFERENCES">
<point x="0.0" y="-83.0" />
<point x="355.0" y="971.0" />
<point x="261.205078125" y="971.0" />
<point x="0.0" y="105.0" />
</edge>
<edge source="763cb2dc-728a-4fbd-a163-94dd564429aa.TABLE:vulcanize_testing.eth.uncle_cids" target="763cb2dc-728a-4fbd-a163-94dd564429aa.TABLE:vulcanize_testing.public.blocks" relationship="REFERENCES">
<point x="-48.5" y="-94.0" />
<point x="595.875" y="658.0" />
<point x="589.25" y="658.0" />
<point x="589.25" y="207.0" />
<point x="502.875" y="207.0" />
<point x="502.875" y="197.0" />
<point x="269.080078125" y="197.0" />
<point x="25.25" y="38.5" />
</edge>
<edge source="763cb2dc-728a-4fbd-a163-94dd564429aa.TABLE:vulcanize_testing.eth.storage_cids" target="763cb2dc-728a-4fbd-a163-94dd564429aa.TABLE:vulcanize_testing.eth.state_cids" relationship="REFERENCES">
<point x="56.5" y="-105.0" />
<point x="180.0" y="971.0" />
<point x="261.205078125" y="971.0" />
<point x="0.0" y="105.0" />
</edge>
<edge source="763cb2dc-728a-4fbd-a163-94dd564429aa.TABLE:vulcanize_testing.eth.log_cids" target="763cb2dc-728a-4fbd-a163-94dd564429aa.TABLE:vulcanize_testing.eth.receipt_cids" relationship="REFERENCES">
<point x="41.0" y="-138.0" />
<point x="350.705078125" y="1256.0" />
<point x="612.0625" y="1256.0" />
<point x="0.0" y="116.0" />
</edge>
<edge source="763cb2dc-728a-4fbd-a163-94dd564429aa.TABLE:vulcanize_testing.eth.header_cids" target="763cb2dc-728a-4fbd-a163-94dd564429aa.TABLE:vulcanize_testing.public.blocks" relationship="REFERENCES">
<point x="-70.75" y="-204.0" />
<point x="685.25" y="207.0" />
<point x="502.875" y="207.0" />
<point x="502.875" y="197.0" />
<point x="269.080078125" y="197.0" />
<point x="25.25" y="38.5" />
</edge>
<edge source="763cb2dc-728a-4fbd-a163-94dd564429aa.TABLE:vulcanize_testing.eth.state_cids" target="763cb2dc-728a-4fbd-a163-94dd564429aa.TABLE:vulcanize_testing.eth.header_cids" relationship="REFERENCES">
<point x="52.25" y="-105.0" />
<point x="313.455078125" y="668.0" />
<point x="756.0" y="668.0" />
<point x="0.0" y="204.0" />
</edge>
<edge source="763cb2dc-728a-4fbd-a163-94dd564429aa.TABLE:vulcanize_testing.eth.receipt_cids" target="763cb2dc-728a-4fbd-a163-94dd564429aa.TABLE:vulcanize_testing.eth.transaction_cids" relationship="REFERENCES">
<point x="51.75" y="-116.0" />
<point x="663.8125" y="971.0" />
<point x="931.375" y="971.0" />
<point x="0.0" y="127.0" />
</edge>
<edge source="763cb2dc-728a-4fbd-a163-94dd564429aa.TABLE:vulcanize_testing.eth.transaction_cids" target="763cb2dc-728a-4fbd-a163-94dd564429aa.TABLE:vulcanize_testing.public.blocks" relationship="REFERENCES">
<point x="85.0" y="-127.0" />
<point x="1016.375" y="668.0" />
<point x="923.3125" y="668.0" />
<point x="923.3125" y="207.0" />
<point x="502.875" y="207.0" />
<point x="502.875" y="197.0" />
<point x="269.080078125" y="197.0" />
<point x="25.25" y="38.5" />
</edge>
<edge source="763cb2dc-728a-4fbd-a163-94dd564429aa.TABLE:vulcanize_testing.eth.receipt_cids" target="763cb2dc-728a-4fbd-a163-94dd564429aa.TABLE:vulcanize_testing.public.blocks" relationship="REFERENCES">
<point x="-51.75" y="-116.0" />
<point x="560.3125" y="971.0" />
<point x="497.625" y="971.0" />
<point x="497.625" y="207.0" />
<point x="502.875" y="207.0" />
<point x="502.875" y="197.0" />
<point x="269.080078125" y="197.0" />
<point x="25.25" y="38.5" />
</edge>
<edge source="763cb2dc-728a-4fbd-a163-94dd564429aa.TABLE:vulcanize_testing.eth.log_cids" target="763cb2dc-728a-4fbd-a163-94dd564429aa.TABLE:vulcanize_testing.public.blocks" relationship="REFERENCES">
<point x="-41.0" y="-138.0" />
<point x="268.705078125" y="1256.0" />
<point x="0.0" y="1256.0" />
<point x="0.0" y="197.0" />
<point x="218.580078125" y="197.0" />
<point x="-25.25" y="38.5" />
</edge>
<edge source="763cb2dc-728a-4fbd-a163-94dd564429aa.TABLE:vulcanize_testing.eth.transaction_cids" target="763cb2dc-728a-4fbd-a163-94dd564429aa.TABLE:vulcanize_testing.eth.header_cids" relationship="REFERENCES">
<point x="-85.0" y="-127.0" />
<point x="846.375" y="668.0" />
<point x="756.0" y="668.0" />
<point x="0.0" y="204.0" />
</edge>
<edge source="763cb2dc-728a-4fbd-a163-94dd564429aa.TABLE:vulcanize_testing.eth.state_cids" target="763cb2dc-728a-4fbd-a163-94dd564429aa.TABLE:vulcanize_testing.public.blocks" relationship="REFERENCES">
<point x="-52.25" y="-105.0" />
<point x="208.955078125" y="668.0" />
<point x="256.205078125" y="668.0" />
<point x="256.205078125" y="207.0" />
<point x="502.875" y="207.0" />
<point x="502.875" y="197.0" />
<point x="269.080078125" y="197.0" />
<point x="25.25" y="38.5" />
</edge>
<edge source="763cb2dc-728a-4fbd-a163-94dd564429aa.TABLE:vulcanize_testing.eth.access_list_element" target="763cb2dc-728a-4fbd-a163-94dd564429aa.TABLE:vulcanize_testing.eth.transaction_cids" relationship="REFERENCES">
<point x="0.0" y="-72.0" />
<point x="0.0" y="127.0" />
</edge>
<edge source="763cb2dc-728a-4fbd-a163-94dd564429aa.TABLE:vulcanize_testing.eth.header_cids" target="763cb2dc-728a-4fbd-a163-94dd564429aa.TABLE:vulcanize_testing.public.nodes" relationship="REFERENCES">
<point x="70.75" y="-204.0" />
<point x="826.75" y="197.0" />
<point x="728.955078125" y="197.0" />
<point x="76.5" y="83.0" />
</edge>
</edges>
<settings layout="Hierarchic" zoom="0.37832699619771865" showDependencies="false" x="667.5" y="779.0" />
<SelectedNodes />
<Categories>
<Category>Columns</Category>
<Category>Comments</Category>
<Category>Key columns</Category>
<Category>Virtual foreign keys</Category>
</Categories>
</Diagram>