update draw.io scheme

This commit is contained in:
leca 2024-08-12 18:56:45 +03:00
parent daa1f1e1d4
commit 89a38be5d3
1 changed files with 117 additions and 12 deletions

129
db.drawio
View File

@ -1,40 +1,40 @@
<mxfile host="app.diagrams.net" agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36" version="24.7.6"> <mxfile host="app.diagrams.net" agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36" version="24.7.6">
<diagram id="R2lEEEUBdFMjLlhIrx00" name="Page-1"> <diagram id="R2lEEEUBdFMjLlhIrx00" name="Page-1">
<mxGraphModel dx="1196" dy="534" 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="752" dy="787" 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> <root>
<mxCell id="0" /> <mxCell id="0" />
<mxCell id="1" parent="0" /> <mxCell id="1" parent="0" />
<mxCell id="7XvpWkOTBmjUhqAazzN1-1" 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"> <mxCell id="7XvpWkOTBmjUhqAazzN1-1" 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="285" y="130" width="140" height="430" as="geometry" /> <mxGeometry x="10" y="200" width="140" height="430" as="geometry" />
</mxCell> </mxCell>
<mxCell id="7XvpWkOTBmjUhqAazzN1-2" value="mx_id VARCHAR(64)" 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="7XvpWkOTBmjUhqAazzN1-1" vertex="1"> <mxCell id="7XvpWkOTBmjUhqAazzN1-2" value="mx_id VARCHAR(64)" 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="7XvpWkOTBmjUhqAazzN1-1" vertex="1">
<mxGeometry y="30" width="140" height="30" as="geometry" /> <mxGeometry y="30" width="140" height="30" as="geometry" />
</mxCell> </mxCell>
<mxCell id="7XvpWkOTBmjUhqAazzN1-3" value="room_id VARCHAR(64)" 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="7XvpWkOTBmjUhqAazzN1-1" vertex="1"> <mxCell id="M61CuUsqLGTxYLAPg2Ho-9" value="name VARCHAR(32)" 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="7XvpWkOTBmjUhqAazzN1-1" vertex="1">
<mxGeometry y="60" width="140" height="30" as="geometry" /> <mxGeometry y="60" width="140" height="30" as="geometry" />
</mxCell> </mxCell>
<mxCell id="7XvpWkOTBmjUhqAazzN1-4" value="&lt;div&gt;&lt;span style=&quot;background-color: initial;&quot;&gt;pictures_urls TEXT[]&lt;/span&gt;&lt;br&gt;&lt;/div&gt;" 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="7XvpWkOTBmjUhqAazzN1-1" vertex="1"> <mxCell id="7XvpWkOTBmjUhqAazzN1-3" value="room_id VARCHAR(64)" 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="7XvpWkOTBmjUhqAazzN1-1" vertex="1">
<mxGeometry y="90" width="140" height="30" as="geometry" /> <mxGeometry y="90" width="140" height="30" as="geometry" />
</mxCell> </mxCell>
<mxCell id="M61CuUsqLGTxYLAPg2Ho-9" value="name VARCHAR(32)" 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="7XvpWkOTBmjUhqAazzN1-1" vertex="1"> <mxCell id="M61CuUsqLGTxYLAPg2Ho-10" value="age SMALLINT" 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="7XvpWkOTBmjUhqAazzN1-1" vertex="1">
<mxGeometry y="120" width="140" height="30" as="geometry" /> <mxGeometry y="120" width="140" height="30" as="geometry" />
</mxCell> </mxCell>
<mxCell id="M61CuUsqLGTxYLAPg2Ho-10" value="age SMALLINT" 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="7XvpWkOTBmjUhqAazzN1-1" vertex="1"> <mxCell id="M61CuUsqLGTxYLAPg2Ho-18" value="sex CHAR, -- &#39;m&#39; of &#39;f&#39;" 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="7XvpWkOTBmjUhqAazzN1-1" vertex="1">
<mxGeometry y="150" width="140" height="30" as="geometry" /> <mxGeometry y="150" width="140" height="30" as="geometry" />
</mxCell> </mxCell>
<mxCell id="M61CuUsqLGTxYLAPg2Ho-18" value="sex CHAR, -- &#39;m&#39; of &#39;f&#39;" 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="7XvpWkOTBmjUhqAazzN1-1" vertex="1">
<mxGeometry y="180" width="140" height="30" as="geometry" />
</mxCell>
<mxCell id="M61CuUsqLGTxYLAPg2Ho-17" value="interest CHAR, -- male, female or both (&#39;m&#39;, &#39;f&#39; and &#39;b&#39;)" 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="7XvpWkOTBmjUhqAazzN1-1" vertex="1"> <mxCell id="M61CuUsqLGTxYLAPg2Ho-17" value="interest CHAR, -- male, female or both (&#39;m&#39;, &#39;f&#39; and &#39;b&#39;)" 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="7XvpWkOTBmjUhqAazzN1-1" vertex="1">
<mxGeometry y="210" width="140" height="50" as="geometry" /> <mxGeometry y="180" width="140" height="50" as="geometry" />
</mxCell> </mxCell>
<mxCell id="M61CuUsqLGTxYLAPg2Ho-1" value="&lt;div&gt;description VARCHAR(512)&lt;/div&gt;" 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="7XvpWkOTBmjUhqAazzN1-1" vertex="1"> <mxCell id="M61CuUsqLGTxYLAPg2Ho-1" value="&lt;div&gt;description VARCHAR(512)&lt;/div&gt;" 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="7XvpWkOTBmjUhqAazzN1-1" vertex="1">
<mxGeometry y="230" width="140" height="30" as="geometry" />
</mxCell>
<mxCell id="ncYoQrePTnOtlZKuZZqN-1" value="language VARCHAR(8) DEFAULT &#39;en&#39;" 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;" vertex="1" parent="7XvpWkOTBmjUhqAazzN1-1">
<mxGeometry y="260" width="140" height="30" as="geometry" /> <mxGeometry y="260" width="140" height="30" as="geometry" />
</mxCell> </mxCell>
<mxCell id="M61CuUsqLGTxYLAPg2Ho-7" value="&lt;div&gt;country VARCHAR(64)&lt;/div&gt;" 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="7XvpWkOTBmjUhqAazzN1-1" vertex="1"> <mxCell id="M61CuUsqLGTxYLAPg2Ho-8" value="location INTEGER DEFAULT 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="7XvpWkOTBmjUhqAazzN1-1" vertex="1">
<mxGeometry y="290" width="140" height="30" as="geometry" /> <mxGeometry y="290" width="140" height="30" as="geometry" />
</mxCell> </mxCell>
<mxCell id="M61CuUsqLGTxYLAPg2Ho-8" value="city VARCHAR(64)" 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="7XvpWkOTBmjUhqAazzN1-1" vertex="1"> <mxCell id="ncYoQrePTnOtlZKuZZqN-2" value="range DOUBLE PRECISION DEFAULT 20.0" 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;" vertex="1" parent="7XvpWkOTBmjUhqAazzN1-1">
<mxGeometry y="320" width="140" height="30" as="geometry" /> <mxGeometry y="320" width="140" height="30" as="geometry" />
</mxCell> </mxCell>
<mxCell id="M61CuUsqLGTxYLAPg2Ho-11" value="current_action VARCHAR(16)" 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="7XvpWkOTBmjUhqAazzN1-1" vertex="1"> <mxCell id="M61CuUsqLGTxYLAPg2Ho-11" value="current_action VARCHAR(16)" 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="7XvpWkOTBmjUhqAazzN1-1" vertex="1">
@ -43,6 +43,111 @@
<mxCell id="M61CuUsqLGTxYLAPg2Ho-16" value="currently_viewing VARCHAR(64) --link to &quot;room_id&quot;" 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="7XvpWkOTBmjUhqAazzN1-1" vertex="1"> <mxCell id="M61CuUsqLGTxYLAPg2Ho-16" value="currently_viewing VARCHAR(64) --link to &quot;room_id&quot;" 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="7XvpWkOTBmjUhqAazzN1-1" vertex="1">
<mxGeometry y="380" width="140" height="50" as="geometry" /> <mxGeometry y="380" width="140" height="50" as="geometry" />
</mxCell> </mxCell>
<mxCell id="ncYoQrePTnOtlZKuZZqN-14" value="" style="edgeStyle=entityRelationEdgeStyle;fontSize=12;html=1;endArrow=ERmandOne;startArrow=ERmandOne;rounded=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="7XvpWkOTBmjUhqAazzN1-1" source="M61CuUsqLGTxYLAPg2Ho-16" target="7XvpWkOTBmjUhqAazzN1-3">
<mxGeometry width="100" height="100" relative="1" as="geometry">
<mxPoint x="270" y="380" as="sourcePoint" />
<mxPoint x="370" y="280" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="ncYoQrePTnOtlZKuZZqN-3" value="likes" 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;" vertex="1" parent="1">
<mxGeometry x="680" y="140" width="140" height="120" as="geometry" />
</mxCell>
<mxCell id="ncYoQrePTnOtlZKuZZqN-4" value="sender VARCHAR(64)" 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;" vertex="1" parent="ncYoQrePTnOtlZKuZZqN-3">
<mxGeometry y="30" width="140" height="30" as="geometry" />
</mxCell>
<mxCell id="ncYoQrePTnOtlZKuZZqN-5" value="recipient VARCHAR(64)" 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;" vertex="1" parent="ncYoQrePTnOtlZKuZZqN-3">
<mxGeometry y="60" width="140" height="30" as="geometry" />
</mxCell>
<mxCell id="ncYoQrePTnOtlZKuZZqN-6" value="read BOOLEAN 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;" vertex="1" parent="ncYoQrePTnOtlZKuZZqN-3">
<mxGeometry y="90" width="140" height="30" as="geometry" />
</mxCell>
<mxCell id="ncYoQrePTnOtlZKuZZqN-7" value="media" 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;" vertex="1" parent="1">
<mxGeometry x="550" y="280" width="400" height="150" as="geometry" />
</mxCell>
<mxCell id="ncYoQrePTnOtlZKuZZqN-8" value="owner VARCHAR(64)" 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;" vertex="1" parent="ncYoQrePTnOtlZKuZZqN-7">
<mxGeometry y="30" width="400" height="30" as="geometry" />
</mxCell>
<mxCell id="ncYoQrePTnOtlZKuZZqN-9" value="type CHAR&amp;nbsp;-- &#39;i&#39; for image, &#39;v&#39; for video" 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;" vertex="1" parent="ncYoQrePTnOtlZKuZZqN-7">
<mxGeometry y="60" width="400" height="30" as="geometry" />
</mxCell>
<mxCell id="ncYoQrePTnOtlZKuZZqN-15" value="purpose CHAR -&amp;nbsp;-- &#39;p&#39; for media in profile, &#39;m&#39; for media in message" 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;" vertex="1" parent="ncYoQrePTnOtlZKuZZqN-7">
<mxGeometry y="90" width="400" height="30" as="geometry" />
</mxCell>
<mxCell id="ncYoQrePTnOtlZKuZZqN-10" value="url VARCHAR(64)" 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;" vertex="1" parent="ncYoQrePTnOtlZKuZZqN-7">
<mxGeometry y="120" width="400" height="30" as="geometry" />
</mxCell>
<mxCell id="ncYoQrePTnOtlZKuZZqN-12" value="" style="edgeStyle=entityRelationEdgeStyle;fontSize=12;html=1;endArrow=ERmandOne;startArrow=ERmandOne;rounded=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="7XvpWkOTBmjUhqAazzN1-3" target="ncYoQrePTnOtlZKuZZqN-4">
<mxGeometry width="100" height="100" relative="1" as="geometry">
<mxPoint x="430" y="340" as="sourcePoint" />
<mxPoint x="530" y="240" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="ncYoQrePTnOtlZKuZZqN-13" value="" style="edgeStyle=entityRelationEdgeStyle;fontSize=12;html=1;endArrow=ERmandOne;startArrow=ERmandOne;rounded=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" edge="1" parent="1" source="7XvpWkOTBmjUhqAazzN1-3">
<mxGeometry width="100" height="100" relative="1" as="geometry">
<mxPoint x="250" y="210" as="sourcePoint" />
<mxPoint x="680" y="210" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="ncYoQrePTnOtlZKuZZqN-17" value="" style="edgeStyle=entityRelationEdgeStyle;fontSize=12;html=1;endArrow=ERoneToMany;rounded=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" edge="1" parent="1" source="7XvpWkOTBmjUhqAazzN1-3" target="ncYoQrePTnOtlZKuZZqN-8">
<mxGeometry width="100" height="100" relative="1" as="geometry">
<mxPoint x="350" y="227.5" as="sourcePoint" />
<mxPoint x="520" y="422.5" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="ncYoQrePTnOtlZKuZZqN-18" value="messages" 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;" vertex="1" parent="1">
<mxGeometry x="600" y="460" width="300" height="180" as="geometry" />
</mxCell>
<mxCell id="ncYoQrePTnOtlZKuZZqN-19" value="sender VARCHAR(64)" 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;" vertex="1" parent="ncYoQrePTnOtlZKuZZqN-18">
<mxGeometry y="30" width="300" height="30" as="geometry" />
</mxCell>
<mxCell id="ncYoQrePTnOtlZKuZZqN-20" value="recipient VARCHAR(64)" 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;" vertex="1" parent="ncYoQrePTnOtlZKuZZqN-18">
<mxGeometry y="60" width="300" height="30" as="geometry" />
</mxCell>
<mxCell id="ncYoQrePTnOtlZKuZZqN-22" value="type CHAR&amp;nbsp;-- &#39;t&#39; for text, &#39;p&#39; for picture and &#39;v&#39; for video" 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;" vertex="1" parent="ncYoQrePTnOtlZKuZZqN-18">
<mxGeometry y="90" width="300" height="30" as="geometry" />
</mxCell>
<mxCell id="ncYoQrePTnOtlZKuZZqN-23" value="content VARCHAR(128)" 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;" vertex="1" parent="ncYoQrePTnOtlZKuZZqN-18">
<mxGeometry y="120" width="300" height="30" as="geometry" />
</mxCell>
<mxCell id="ncYoQrePTnOtlZKuZZqN-21" value="read BOOLEAN 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;" vertex="1" parent="ncYoQrePTnOtlZKuZZqN-18">
<mxGeometry y="150" width="300" height="30" as="geometry" />
</mxCell>
<mxCell id="ncYoQrePTnOtlZKuZZqN-25" value="" style="edgeStyle=entityRelationEdgeStyle;fontSize=12;html=1;endArrow=ERoneToMany;rounded=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" edge="1" parent="1" source="7XvpWkOTBmjUhqAazzN1-3" target="ncYoQrePTnOtlZKuZZqN-19">
<mxGeometry width="100" height="100" relative="1" as="geometry">
<mxPoint x="420" y="630" as="sourcePoint" />
<mxPoint x="520" y="530" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="ncYoQrePTnOtlZKuZZqN-26" value="" style="edgeStyle=entityRelationEdgeStyle;fontSize=12;html=1;endArrow=ERoneToMany;rounded=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="7XvpWkOTBmjUhqAazzN1-3" target="ncYoQrePTnOtlZKuZZqN-20">
<mxGeometry width="100" height="100" relative="1" as="geometry">
<mxPoint x="420" y="480" as="sourcePoint" />
<mxPoint x="520" y="380" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="ncYoQrePTnOtlZKuZZqN-27" value="cities" 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;" vertex="1" parent="1">
<mxGeometry x="680" y="670" width="140" height="180" as="geometry" />
</mxCell>
<mxCell id="ncYoQrePTnOtlZKuZZqN-28" value="ID SERIAL" 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;" vertex="1" parent="ncYoQrePTnOtlZKuZZqN-27">
<mxGeometry y="30" width="140" height="30" as="geometry" />
</mxCell>
<mxCell id="ncYoQrePTnOtlZKuZZqN-29" value="name VARCHAR(64)" 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;" vertex="1" parent="ncYoQrePTnOtlZKuZZqN-27">
<mxGeometry y="60" width="140" height="30" as="geometry" />
</mxCell>
<mxCell id="ncYoQrePTnOtlZKuZZqN-31" value="lat REAL," 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;" vertex="1" parent="ncYoQrePTnOtlZKuZZqN-27">
<mxGeometry y="90" width="140" height="30" as="geometry" />
</mxCell>
<mxCell id="ncYoQrePTnOtlZKuZZqN-30" value="lng REAL" 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;" vertex="1" parent="ncYoQrePTnOtlZKuZZqN-27">
<mxGeometry y="120" width="140" height="30" as="geometry" />
</mxCell>
<mxCell id="ncYoQrePTnOtlZKuZZqN-32" value="country VARCHAR(64)" 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;" vertex="1" parent="ncYoQrePTnOtlZKuZZqN-27">
<mxGeometry y="150" width="140" height="30" as="geometry" />
</mxCell>
<mxCell id="ncYoQrePTnOtlZKuZZqN-33" value="" style="edgeStyle=entityRelationEdgeStyle;fontSize=12;html=1;endArrow=ERmandOne;startArrow=ERmandOne;rounded=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="M61CuUsqLGTxYLAPg2Ho-8" target="ncYoQrePTnOtlZKuZZqN-28">
<mxGeometry width="100" height="100" relative="1" as="geometry">
<mxPoint x="300" y="580" as="sourcePoint" />
<mxPoint x="400" y="480" as="targetPoint" />
</mxGeometry>
</mxCell>
</root> </root>
</mxGraphModel> </mxGraphModel>
</diagram> </diagram>