Skip to content

Commit

Permalink
Milestone #4
Browse files Browse the repository at this point in the history
changed filetypes
  • Loading branch information
sed19015 committed Apr 4, 2025
1 parent b05893b commit ef1b626
Show file tree
Hide file tree
Showing 5 changed files with 401 additions and 0 deletions.
51 changes: 51 additions & 0 deletions docs/er-pet-adoption.drawio
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<mxfile host="65bd71144e">
<diagram id="X_PEzSOiQopxYavAu7Ki" name="Page-1">
<mxGraphModel dx="558" dy="662" 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="7" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="2" target="3">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="2" value="&lt;u&gt;User [primary key]&lt;/u&gt;&lt;div&gt;user_id&lt;/div&gt;&lt;div&gt;username&lt;/div&gt;&lt;div&gt;password&lt;/div&gt;&lt;div&gt;email&lt;/div&gt;" style="whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="50" y="150" width="120" height="130" as="geometry"/>
</mxCell>
<mxCell id="3" value="&lt;div&gt;&lt;u&gt;Pet [primary key]&lt;/u&gt;&lt;/div&gt;&lt;div&gt;pet_id&lt;/div&gt;&lt;div&gt;name&lt;/div&gt;&lt;div&gt;type&lt;/div&gt;&lt;div&gt;breed&lt;/div&gt;&lt;div&gt;age&lt;/div&gt;" style="whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="350" y="150" width="120" height="130" as="geometry"/>
</mxCell>
<mxCell id="8" style="edgeStyle=none;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="1" source="4" target="2">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="11" style="edgeStyle=none;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="4" target="5">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="12" style="edgeStyle=none;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="4" target="6">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="110" y="555"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="4" value="&lt;u&gt;Questionnaire [primary key]&lt;/u&gt;&lt;div&gt;questionnaire_id&lt;/div&gt;&lt;div&gt;user_id&lt;/div&gt;&lt;div&gt;responses&lt;/div&gt;" style="whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="50" y="337.5" width="120" height="125" as="geometry"/>
</mxCell>
<mxCell id="9" style="edgeStyle=none;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="1" source="5" target="3">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="10" style="edgeStyle=none;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="5" target="6">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="410" y="555"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="5" value="&lt;div&gt;&lt;u&gt;Adoption [foreign key]&lt;/u&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: transparent;&quot;&gt;adoption_id&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: transparent;&quot;&gt;user_id&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: transparent;&quot;&gt;pet_id&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: transparent;&quot;&gt;status&lt;/span&gt;&lt;/div&gt;" style="whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="350" y="340" width="120" height="120" as="geometry"/>
</mxCell>
<mxCell id="6" value="&lt;u&gt;Connection [foreign key]&lt;/u&gt;&lt;div&gt;apply&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;" style="whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="190" y="490" width="120" height="130" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>
Loading

0 comments on commit ef1b626

Please sign in to comment.