You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
Backend/DB/datastructure.drawio

1 line
12 KiB

<mxfile host="drawio-plugin" modified="2023-01-05T20:42:11.364Z" agent="5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.102 Safari/537.36" etag="i9MrQX3PeXG9GGFmg6Cc" version="20.5.3" type="embed"><diagram id="19U-MziH3M23uNXIaAuf" name="Page-1"><mxGraphModel dx="1722" dy="2065" 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"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="CXOrtI2YpjZhMgT-CW4e-2" value="" style="group" parent="1" vertex="1" connectable="0"><mxGeometry x="307.5" y="-16" width="160" height="90" as="geometry"/></mxCell><mxCell id="CXOrtI2YpjZhMgT-CW4e-3" value="&lt;u&gt;identifier&lt;/u&gt;&lt;br&gt;name&lt;br&gt;forename" style="rounded=0;whiteSpace=wrap;html=1;verticalAlign=top;" parent="CXOrtI2YpjZhMgT-CW4e-2" vertex="1"><mxGeometry y="30" width="160" height="60" as="geometry"/></mxCell><mxCell id="CXOrtI2YpjZhMgT-CW4e-4" value="user" style="rounded=0;whiteSpace=wrap;html=1;verticalAlign=middle;" parent="CXOrtI2YpjZhMgT-CW4e-2" vertex="1"><mxGeometry width="160" height="30" as="geometry"/></mxCell><mxCell id="CXOrtI2YpjZhMgT-CW4e-8" value="" style="group" parent="1" vertex="1" connectable="0"><mxGeometry x="330" y="-290" width="115" height="140" as="geometry"/></mxCell><mxCell id="CXOrtI2YpjZhMgT-CW4e-9" value="&lt;u&gt;identifier&lt;/u&gt;&lt;br&gt;name&lt;br&gt;club_name" style="rounded=0;whiteSpace=wrap;html=1;verticalAlign=top;" parent="CXOrtI2YpjZhMgT-CW4e-8" vertex="1"><mxGeometry y="30" width="115" height="60" as="geometry"/></mxCell><mxCell id="CXOrtI2YpjZhMgT-CW4e-10" value="group" style="rounded=0;whiteSpace=wrap;html=1;verticalAlign=middle;" parent="CXOrtI2YpjZhMgT-CW4e-8" vertex="1"><mxGeometry width="115" height="30" as="geometry"/></mxCell><mxCell id="CXOrtI2YpjZhMgT-CW4e-11" value="" style="group" parent="1" vertex="1" connectable="0"><mxGeometry x="308" y="-150" width="160" height="90" as="geometry"/></mxCell><mxCell id="CXOrtI2YpjZhMgT-CW4e-12" value="&lt;u&gt;# group_id&lt;/u&gt;&lt;br&gt;&lt;u&gt;# user_id&lt;/u&gt;&lt;br&gt;is_manager" style="rounded=0;whiteSpace=wrap;html=1;verticalAlign=top;" parent="CXOrtI2YpjZhMgT-CW4e-11" vertex="1"><mxGeometry y="30" width="160" height="60" as="geometry"/></mxCell><mxCell id="CXOrtI2YpjZhMgT-CW4e-13" value="member" style="rounded=0;whiteSpace=wrap;html=1;verticalAlign=middle;" parent="CXOrtI2YpjZhMgT-CW4e-11" vertex="1"><mxGeometry width="160" height="30" as="geometry"/></mxCell><mxCell id="CXOrtI2YpjZhMgT-CW4e-16" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="CXOrtI2YpjZhMgT-CW4e-12" target="CXOrtI2YpjZhMgT-CW4e-4" edge="1"><mxGeometry relative="1" as="geometry"/></mxCell><mxCell id="CXOrtI2YpjZhMgT-CW4e-17" value="" style="group" parent="1" vertex="1" connectable="0"><mxGeometry x="25" y="-443" width="160" height="110" as="geometry"/></mxCell><mxCell id="CXOrtI2YpjZhMgT-CW4e-18" value="&lt;u&gt;identifier&lt;br&gt;&lt;/u&gt;# owner&lt;br&gt;name&lt;br&gt;file_path" style="rounded=0;whiteSpace=wrap;html=1;verticalAlign=top;" parent="CXOrtI2YpjZhMgT-CW4e-17" vertex="1"><mxGeometry y="36.66666666666667" width="160" height="73.33333333333334" as="geometry"/></mxCell><mxCell id="CXOrtI2YpjZhMgT-CW4e-19" value="tactic" style="rounded=0;whiteSpace=wrap;html=1;verticalAlign=middle;" parent="CXOrtI2YpjZhMgT-CW4e-17" vertex="1"><mxGeometry width="160" height="36.66666666666667" as="geometry"/></mxCell><mxCell id="CXOrtI2YpjZhMgT-CW4e-21" value="" style="group" parent="1" vertex="1" connectable="0"><mxGeometry x="308" y="-430" width="160" height="90" as="geometry"/></mxCell><mxCell id="CXOrtI2YpjZhMgT-CW4e-22" value="&lt;u&gt;# tactic_id&lt;br&gt;# group_id&lt;br&gt;&lt;/u&gt;" style="rounded=0;whiteSpace=wrap;html=1;verticalAlign=top;" parent="CXOrtI2YpjZhMgT-CW4e-21" vertex="1"><mxGeometry y="30" width="160" height="60" as="geometry"/></mxCell><mxCell id="CXOrtI2YpjZhMgT-CW4e-23" value="tactic_group" style="rounded=0;whiteSpace=wrap;html=1;verticalAlign=middle;" parent="CXOrtI2YpjZhMgT-CW4e-21" vertex="1"><mxGeometry width="160" height="30" as="geometry"/></mxCell><mxCell id="CXOrtI2YpjZhMgT-CW4e-25" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="CXOrtI2YpjZhMgT-CW4e-22" target="CXOrtI2YpjZhMgT-CW4e-10" edge="1"><mxGeometry relative="1" as="geometry"/></mxCell><mxCell id="CXOrtI2YpjZhMgT-CW4e-26" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="1" source="CXOrtI2YpjZhMgT-CW4e-18" target="CXOrtI2YpjZhMgT-CW4e-3" edge="1"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="105" y="44"/></Array></mxGeometry></mxCell><mxCell id="CXOrtI2YpjZhMgT-CW4e-15" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" parent="1" source="CXOrtI2YpjZhMgT-CW4e-13" target="CXOrtI2YpjZhMgT-CW4e-9" edge="1"><mxGeometry relative="1" as="geometry"/></mxCell><mxCell id="3" value="owner = identifier" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1"><mxGeometry x="95" y="-180" width="120" height="30" as="geometry"/></mxCell><mxCell id="CXOrtI2YpjZhMgT-CW4e-24" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;" parent="1" source="CXOrtI2YpjZhMgT-CW4e-22" target="CXOrtI2YpjZhMgT-CW4e-18" edge="1"><mxGeometry relative="1" as="geometry"/></mxCell><mxCell id="6" value="tactic_id = identifier" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1"><mxGeometry x="185" y="-400" width="120" height="30" as="geometry"/></mxCell><mxCell id="7" value="group_id = identifier" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1"><mxGeometry x="383" y="-331" width="120" height="30" as="geometry"/></mxCell><mxCell id="8" value="group_id = identifier" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1"><mxGeometry x="384" y="-192" width="120" height="30" as="geometry"/></mxCell><mxCell id="9" value="user_id = identifier" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1"><mxGeometry x="384" y="-56" width="120" height="30" as="geometry"/></mxCell><mxCell id="10" value="" style="group" vertex="1" connectable="0" parent="1"><mxGeometry x="-300.5" y="120" width="160" height="90" as="geometry"/></mxCell><mxCell id="11" value="&lt;br&gt;name&lt;br&gt;forename" style="rounded=0;whiteSpace=wrap;html=1;verticalAlign=top;" vertex="1" parent="10"><mxGeometry y="30" width="160" height="60" as="geometry"/></mxCell><mxCell id="12" value="user" style="rounded=0;whiteSpace=wrap;html=1;verticalAlign=middle;" vertex="1" parent="10"><mxGeometry width="160" height="30" as="geometry"/></mxCell><mxCell id="13" value="" style="group" vertex="1" connectable="0" parent="1"><mxGeometry x="-278" y="-287" width="115" height="140" as="geometry"/></mxCell><mxCell id="14" value="&lt;br&gt;group name&lt;br&gt;club name" style="rounded=0;whiteSpace=wrap;html=1;verticalAlign=top;" vertex="1" parent="13"><mxGeometry y="30" width="115" height="60" as="geometry"/></mxCell><mxCell id="15" value="group" style="rounded=0;whiteSpace=wrap;html=1;verticalAlign=middle;" vertex="1" parent="13"><mxGeometry width="115" height="30" as="geometry"/></mxCell><mxCell id="16" value="" style="group" vertex="1" connectable="0" parent="1"><mxGeometry x="-300" y="-70" width="160" height="90" as="geometry"/></mxCell><mxCell id="17" value="is_manager" style="rounded=0;whiteSpace=wrap;html=1;verticalAlign=top;" vertex="1" parent="16"><mxGeometry y="30" width="160" height="60" as="geometry"/></mxCell><mxCell id="18" value="member" style="rounded=0;whiteSpace=wrap;html=1;verticalAlign=middle;" vertex="1" parent="16"><mxGeometry width="160" height="30" as="geometry"/></mxCell><mxCell id="19" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;endArrow=none;endFill=0;" edge="1" parent="1" source="17" target="12"><mxGeometry relative="1" as="geometry"/></mxCell><mxCell id="20" value="" style="group" vertex="1" connectable="0" parent="1"><mxGeometry x="-550" y="-440" width="160" height="110" as="geometry"/></mxCell><mxCell id="21" value="name&lt;br&gt;file path in database" style="rounded=0;whiteSpace=wrap;html=1;verticalAlign=top;" vertex="1" parent="20"><mxGeometry y="36.66666666666667" width="160" height="73.33333333333334" as="geometry"/></mxCell><mxCell id="22" value="tactic" style="rounded=0;whiteSpace=wrap;html=1;verticalAlign=middle;" vertex="1" parent="20"><mxGeometry width="160" height="36.66666666666667" as="geometry"/></mxCell><mxCell id="27" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;endArrow=none;endFill=0;" edge="1" parent="1" source="21" target="11"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="-470" y="180"/></Array></mxGeometry></mxCell><mxCell id="28" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;endArrow=none;endFill=0;" edge="1" parent="1" source="18" target="14"><mxGeometry relative="1" as="geometry"/></mxCell><mxCell id="35" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;endArrow=none;endFill=0;" edge="1" parent="1" source="21" target="15"><mxGeometry relative="1" as="geometry"/></mxCell><mxCell id="36" value="1, 1" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1"><mxGeometry x="-392" y="-367" width="60" height="30" as="geometry"/></mxCell><mxCell id="37" value="0, n" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1"><mxGeometry x="-271" y="-314" width="60" height="30" as="geometry"/></mxCell><mxCell id="38" value="1, 1" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1"><mxGeometry x="-481" y="-330" width="60" height="30" as="geometry"/></mxCell><mxCell id="39" value="0, n" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1"><mxGeometry x="-349" y="154" width="60" height="30" as="geometry"/></mxCell><mxCell id="40" value="1, 1" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1"><mxGeometry x="-268" y="14" width="60" height="30" as="geometry"/></mxCell><mxCell id="42" value="owns, edits, manages" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1"><mxGeometry x="-529" y="-101" width="120" height="80" as="geometry"/></mxCell><mxCell id="43" value="contains" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1"><mxGeometry x="-344" y="-406" width="120" height="80" as="geometry"/></mxCell><mxCell id="44" value="be part of" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1"><mxGeometry x="-281" y="-173" width="120" height="80" as="geometry"/></mxCell><mxCell id="45" value="1, n" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1"><mxGeometry x="-232" y="-203" width="60" height="30" as="geometry"/></mxCell><mxCell id="46" value="1, 1" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1"><mxGeometry x="-234" y="-95" width="60" height="30" as="geometry"/></mxCell><mxCell id="47" value="0, n" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1"><mxGeometry x="-272" y="96" width="60" height="30" as="geometry"/></mxCell><mxCell id="48" value="members of" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1"><mxGeometry x="-261" y="47" width="81" height="50" as="geometry"/></mxCell></root></mxGraphModel></diagram></mxfile>