69 lines
6.9 KiB
Plaintext
69 lines
6.9 KiB
Plaintext
<mxfile host="65bd71144e" pages="2">
|
|
<diagram name="db-scheme" id="omqtpuhYFdzVFIHnakk7">
|
|
<mxGraphModel dx="702" dy="432" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" background="none" math="0" shadow="0">
|
|
<root>
|
|
<mxCell id="0"/>
|
|
<mxCell id="1" parent="0"/>
|
|
<mxCell id="2" value="Base Model" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
|
|
<mxGeometry x="344" y="20" width="140" height="120" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="3" value="id BIGINT PRIMARY AUTOINCREMENT" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="2" vertex="1">
|
|
<mxGeometry y="30" width="140" height="30" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="4" value="created_at unixtime NOT NULL" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="2" vertex="1">
|
|
<mxGeometry y="60" width="140" height="30" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="5" value="<span style="color: rgb(0, 0, 0);">updated_at unixtime NOT NULL</span>" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="2" vertex="1">
|
|
<mxGeometry y="90" width="140" height="30" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="6" value="" style="endArrow=none;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" parent="1" target="2" edge="1">
|
|
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
|
<mxPoint x="414" y="180" as="sourcePoint"/>
|
|
<mxPoint x="370" y="180" as="targetPoint"/>
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="8" value="users" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
|
|
<mxGeometry x="180" y="230" width="140" height="210" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="9" value="telegram_id BIGINT NOT NULL" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="8" vertex="1">
|
|
<mxGeometry y="30" width="140" height="30" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="10" value="is_banned BOOLEAN NOT NULL DEFAULT FALSE" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="8" vertex="1">
|
|
<mxGeometry y="60" width="140" height="50" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="11" value="is_receive BOOLEAN NOT NULL DEFAULT FALSE" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="8" vertex="1">
|
|
<mxGeometry y="110" width="140" height="50" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="13" value="is_approved_statistics BOOLEAN NOT NULL DEFAULT FALSE" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="8" vertex="1">
|
|
<mxGeometry y="160" width="140" height="50" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="14" value="users_actions" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
|
|
<mxGeometry x="570" y="300" width="140" height="140" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="15" value="user_id BIGINT NOT NULL" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="14" vertex="1">
|
|
<mxGeometry y="30" width="140" height="30" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="16" value="chat_type ENUM(private, group) NOT NULL" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="14" vertex="1">
|
|
<mxGeometry y="60" width="140" height="50" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="17" value="Item 3" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="14" vertex="1">
|
|
<mxGeometry y="110" width="140" height="30" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="19" value="system" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
|
<mxGeometry x="190" y="150" width="120" height="60" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="20" value="statistics" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
|
<mxGeometry x="580" y="190" width="120" height="60" as="geometry"/>
|
|
</mxCell>
|
|
</root>
|
|
</mxGraphModel>
|
|
</diagram>
|
|
<diagram id="TZAEEldzp1pVNTyIG9nr" name="lang-scheme">
|
|
<mxGraphModel dx="702" dy="611" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
|
|
<root>
|
|
<mxCell id="0"/>
|
|
<mxCell id="1" parent="0"/>
|
|
</root>
|
|
</mxGraphModel>
|
|
</diagram>
|
|
</mxfile> |