Skip to content

Commit

Permalink
Merge pull request #63 from CMIPT/zzq-database-er-1009
Browse files Browse the repository at this point in the history
Add a new table to the ER diagram.
  • Loading branch information
Kaiser-Yang authored Oct 10, 2024
2 parents 2c96eb2 + d5e0480 commit fe5860c
Show file tree
Hide file tree
Showing 2 changed files with 102 additions and 2 deletions.
104 changes: 102 additions & 2 deletions database/diagram/gcs_back_end.drawio
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<mxfile host="app.diagrams.net" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0" version="24.7.16">
<mxfile host="app.diagrams.net" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 Edg/129.0.0.0" version="24.7.16">
<diagram id="R2lEEEUBdFMjLlhIrx00" name="Page-1">
<mxGraphModel dx="2918" dy="963" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0" extFonts="Permanent Marker^https://fonts.googleapis.com/css?family=Permanent+Marker">
<mxGraphModel dx="3573" dy="1511" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0" extFonts="Permanent Marker^https://fonts.googleapis.com/css?family=Permanent+Marker">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
Expand Down Expand Up @@ -374,6 +374,106 @@
<mxPoint x="-550" y="480" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="g3cTPtyoxiStfmRMTbJ5-1" value="public.t_ssh_key" style="shape=table;startSize=30;container=1;collapsible=1;childLayout=tableLayout;fixedRows=1;rowLines=0;fontStyle=1;align=center;resizeLast=1;" vertex="1" parent="1">
<mxGeometry x="170" y="190" width="530" height="240" as="geometry" />
</mxCell>
<mxCell id="g3cTPtyoxiStfmRMTbJ5-2" value="" style="shape=tableRow;horizontal=0;startSize=0;swimlaneHead=0;swimlaneBody=0;fillColor=none;collapsible=0;dropTarget=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;strokeColor=inherit;top=0;left=0;right=0;bottom=0;" vertex="1" parent="g3cTPtyoxiStfmRMTbJ5-1">
<mxGeometry y="30" width="530" height="30" as="geometry" />
</mxCell>
<mxCell id="g3cTPtyoxiStfmRMTbJ5-3" value="" style="shape=partialRectangle;overflow=hidden;connectable=0;fillColor=none;strokeColor=inherit;top=0;left=0;bottom=0;right=0;" vertex="1" parent="g3cTPtyoxiStfmRMTbJ5-2">
<mxGeometry width="30" height="30" as="geometry">
<mxRectangle width="30" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="g3cTPtyoxiStfmRMTbJ5-4" value="id bigint NOT NULL" style="shape=partialRectangle;overflow=hidden;connectable=0;fillColor=none;align=left;strokeColor=inherit;top=0;left=0;bottom=0;right=0;spacingLeft=6;" vertex="1" parent="g3cTPtyoxiStfmRMTbJ5-2">
<mxGeometry x="30" width="500" height="30" as="geometry">
<mxRectangle width="500" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="g3cTPtyoxiStfmRMTbJ5-5" value="" style="shape=tableRow;horizontal=0;startSize=0;swimlaneHead=0;swimlaneBody=0;fillColor=none;collapsible=0;dropTarget=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;strokeColor=inherit;top=0;left=0;right=0;bottom=0;" vertex="1" parent="g3cTPtyoxiStfmRMTbJ5-1">
<mxGeometry y="60" width="530" height="30" as="geometry" />
</mxCell>
<mxCell id="g3cTPtyoxiStfmRMTbJ5-6" value="" style="shape=partialRectangle;overflow=hidden;connectable=0;fillColor=none;strokeColor=inherit;top=0;left=0;bottom=0;right=0;" vertex="1" parent="g3cTPtyoxiStfmRMTbJ5-5">
<mxGeometry width="30" height="30" as="geometry">
<mxRectangle width="30" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="g3cTPtyoxiStfmRMTbJ5-7" value="user_id bigint NOT NULL" style="shape=partialRectangle;overflow=hidden;connectable=0;fillColor=none;align=left;strokeColor=inherit;top=0;left=0;bottom=0;right=0;spacingLeft=6;" vertex="1" parent="g3cTPtyoxiStfmRMTbJ5-5">
<mxGeometry x="30" width="500" height="30" as="geometry">
<mxRectangle width="500" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="g3cTPtyoxiStfmRMTbJ5-8" value="" style="shape=tableRow;horizontal=0;startSize=0;swimlaneHead=0;swimlaneBody=0;fillColor=none;collapsible=0;dropTarget=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;strokeColor=inherit;top=0;left=0;right=0;bottom=0;" vertex="1" parent="g3cTPtyoxiStfmRMTbJ5-1">
<mxGeometry y="90" width="530" height="30" as="geometry" />
</mxCell>
<mxCell id="g3cTPtyoxiStfmRMTbJ5-9" value="" style="shape=partialRectangle;overflow=hidden;connectable=0;fillColor=none;strokeColor=inherit;top=0;left=0;bottom=0;right=0;" vertex="1" parent="g3cTPtyoxiStfmRMTbJ5-8">
<mxGeometry width="30" height="30" as="geometry">
<mxRectangle width="30" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="g3cTPtyoxiStfmRMTbJ5-10" value="name character varying(255) NOT NULL" style="shape=partialRectangle;overflow=hidden;connectable=0;fillColor=none;align=left;strokeColor=inherit;top=0;left=0;bottom=0;right=0;spacingLeft=6;" vertex="1" parent="g3cTPtyoxiStfmRMTbJ5-8">
<mxGeometry x="30" width="500" height="30" as="geometry">
<mxRectangle width="500" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="g3cTPtyoxiStfmRMTbJ5-11" value="" style="shape=tableRow;horizontal=0;startSize=0;swimlaneHead=0;swimlaneBody=0;fillColor=none;collapsible=0;dropTarget=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;strokeColor=inherit;top=0;left=0;right=0;bottom=0;" vertex="1" parent="g3cTPtyoxiStfmRMTbJ5-1">
<mxGeometry y="120" width="530" height="30" as="geometry" />
</mxCell>
<mxCell id="g3cTPtyoxiStfmRMTbJ5-12" value="" style="shape=partialRectangle;overflow=hidden;connectable=0;fillColor=none;strokeColor=inherit;top=0;left=0;bottom=0;right=0;" vertex="1" parent="g3cTPtyoxiStfmRMTbJ5-11">
<mxGeometry width="30" height="30" as="geometry">
<mxRectangle width="30" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="g3cTPtyoxiStfmRMTbJ5-13" value="public_key character varying(4096) NOT NULL" style="shape=partialRectangle;overflow=hidden;connectable=0;fillColor=none;align=left;strokeColor=inherit;top=0;left=0;bottom=0;right=0;spacingLeft=6;" vertex="1" parent="g3cTPtyoxiStfmRMTbJ5-11">
<mxGeometry x="30" width="500" height="30" as="geometry">
<mxRectangle width="500" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="g3cTPtyoxiStfmRMTbJ5-14" value="" style="shape=tableRow;horizontal=0;startSize=0;swimlaneHead=0;swimlaneBody=0;fillColor=none;collapsible=0;dropTarget=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;strokeColor=inherit;top=0;left=0;right=0;bottom=0;" vertex="1" parent="g3cTPtyoxiStfmRMTbJ5-1">
<mxGeometry y="150" width="530" height="30" as="geometry" />
</mxCell>
<mxCell id="g3cTPtyoxiStfmRMTbJ5-15" value="" style="shape=partialRectangle;overflow=hidden;connectable=0;fillColor=none;strokeColor=inherit;top=0;left=0;bottom=0;right=0;" vertex="1" parent="g3cTPtyoxiStfmRMTbJ5-14">
<mxGeometry width="30" height="30" as="geometry">
<mxRectangle width="30" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="g3cTPtyoxiStfmRMTbJ5-16" value="gmt_created timestamp without time zone DEFAULT CURRENT_TIMESTAMP NOT NULL" style="shape=partialRectangle;overflow=hidden;connectable=0;fillColor=none;align=left;strokeColor=inherit;top=0;left=0;bottom=0;right=0;spacingLeft=6;" vertex="1" parent="g3cTPtyoxiStfmRMTbJ5-14">
<mxGeometry x="30" width="500" height="30" as="geometry">
<mxRectangle width="500" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="g3cTPtyoxiStfmRMTbJ5-17" value="" style="shape=tableRow;horizontal=0;startSize=0;swimlaneHead=0;swimlaneBody=0;fillColor=none;collapsible=0;dropTarget=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;strokeColor=inherit;top=0;left=0;right=0;bottom=0;" vertex="1" parent="g3cTPtyoxiStfmRMTbJ5-1">
<mxGeometry y="180" width="530" height="30" as="geometry" />
</mxCell>
<mxCell id="g3cTPtyoxiStfmRMTbJ5-18" value="" style="shape=partialRectangle;overflow=hidden;connectable=0;fillColor=none;strokeColor=inherit;top=0;left=0;bottom=0;right=0;" vertex="1" parent="g3cTPtyoxiStfmRMTbJ5-17">
<mxGeometry width="30" height="30" as="geometry">
<mxRectangle width="30" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="g3cTPtyoxiStfmRMTbJ5-19" value="gmt_updated timestamp without time zone DEFAULT CURRENT_TIMESTAMP NOT NULL" style="shape=partialRectangle;overflow=hidden;connectable=0;fillColor=none;align=left;strokeColor=inherit;top=0;left=0;bottom=0;right=0;spacingLeft=6;" vertex="1" parent="g3cTPtyoxiStfmRMTbJ5-17">
<mxGeometry x="30" width="500" height="30" as="geometry">
<mxRectangle width="500" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="g3cTPtyoxiStfmRMTbJ5-20" value="" style="shape=tableRow;horizontal=0;startSize=0;swimlaneHead=0;swimlaneBody=0;fillColor=none;collapsible=0;dropTarget=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;strokeColor=inherit;top=0;left=0;right=0;bottom=0;" vertex="1" parent="g3cTPtyoxiStfmRMTbJ5-1">
<mxGeometry y="210" width="530" height="30" as="geometry" />
</mxCell>
<mxCell id="g3cTPtyoxiStfmRMTbJ5-21" value="" style="shape=partialRectangle;overflow=hidden;connectable=0;fillColor=none;strokeColor=inherit;top=0;left=0;bottom=0;right=0;" vertex="1" parent="g3cTPtyoxiStfmRMTbJ5-20">
<mxGeometry width="30" height="30" as="geometry">
<mxRectangle width="30" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="g3cTPtyoxiStfmRMTbJ5-22" value="gmt_deleted timestamp without time zone" style="shape=partialRectangle;overflow=hidden;connectable=0;fillColor=none;align=left;strokeColor=inherit;top=0;left=0;bottom=0;right=0;spacingLeft=6;" vertex="1" parent="g3cTPtyoxiStfmRMTbJ5-20">
<mxGeometry x="30" width="500" height="30" as="geometry">
<mxRectangle width="500" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="g3cTPtyoxiStfmRMTbJ5-24" value="" style="edgeStyle=entityRelationEdgeStyle;fontSize=12;html=1;endArrow=ERoneToMany;rounded=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" edge="1" parent="1" source="6WugjG2xhQJgWSEuV__S-155" target="g3cTPtyoxiStfmRMTbJ5-5">
<mxGeometry width="100" height="100" relative="1" as="geometry">
<mxPoint x="320" y="920" as="sourcePoint" />
<mxPoint x="420" y="820" as="targetPoint" />
</mxGeometry>
</mxCell>
</root>
</mxGraphModel>
</diagram>
Expand Down
Binary file modified database/diagram/gcs_back_end.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit fe5860c

Please sign in to comment.