Skip to content

Commit

Permalink
I must have missed updating the user database schema diagram
Browse files Browse the repository at this point in the history
  • Loading branch information
rosiejeays committed Sep 6, 2023
1 parent f0e6609 commit e566f6c
Show file tree
Hide file tree
Showing 5 changed files with 99 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ Deployed Project: [Deployed website](https://advocat.fly.dev/projects/)

### Updated Database Schema

![Database Schema as at 12/08/23](images/DatabaseSchema_230905.svg)
![Updated Database Schema](images/DatabaseSchema_updated.svg)

<!-- ### Updated Wireframes
Expand Down
1 change: 0 additions & 1 deletion images/DatabaseSchema_230812.svg

This file was deleted.

1 change: 0 additions & 1 deletion images/DatabaseSchema_230905.svg

This file was deleted.

1 change: 1 addition & 0 deletions images/DatabaseSchema_updated.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
104 changes: 97 additions & 7 deletions images/DatabaseSchema_updates.drawio
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<mxfile host="65bd71144e">
<diagram name="Page-1" id="jqZ9hyK0SmsvzGVy0Bck">
<mxGraphModel dx="402" dy="250" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" background="#000000" math="0" shadow="0">
<mxGraphModel dx="957" dy="732" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" background="#000000" math="0" shadow="0">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
Expand Down Expand Up @@ -365,13 +365,13 @@
<mxRectangle width="140" height="30" as="alternateBounds"/>
</mxGeometry>
</mxCell>
<mxCell id="31" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;strokeColor=#001DBC;fontSize=16;fontColor=#FFFFFF;opacity=40;" vertex="1" parent="28">
<mxCell id="31" value="boolean" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;strokeColor=#001DBC;fontSize=16;fontColor=#FFFFFF;opacity=40;" vertex="1" parent="28">
<mxGeometry x="180" width="140" height="30" as="geometry">
<mxRectangle width="140" height="30" as="alternateBounds"/>
</mxGeometry>
</mxCell>
<mxCell id="7YEKfxPkjedVTqQern5_-128" value="user" style="shape=table;startSize=30;container=1;collapsible=0;childLayout=tableLayout;fixedRows=1;rowLines=0;fontStyle=0;strokeColor=#006EAF;fontSize=16;fillColor=#1ba1e2;fontColor=#ffffff;" parent="1" vertex="1">
<mxGeometry x="590" y="520" width="320" height="210" as="geometry"/>
<mxGeometry x="590" y="520" width="320" height="360" as="geometry"/>
</mxCell>
<mxCell id="7YEKfxPkjedVTqQern5_-129" value="" style="shape=tableRow;horizontal=0;startSize=0;swimlaneHead=0;swimlaneBody=0;top=0;left=0;bottom=0;right=0;collapsible=0;dropTarget=0;fillColor=#1ba1e2;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;strokeColor=#006EAF;fontSize=16;fontColor=#ffffff;opacity=40;" parent="7YEKfxPkjedVTqQern5_-128" vertex="1">
<mxGeometry y="30" width="320" height="30" as="geometry"/>
Expand Down Expand Up @@ -453,12 +453,12 @@
<mxRectangle width="40" height="30" as="alternateBounds"/>
</mxGeometry>
</mxCell>
<mxCell id="7YEKfxPkjedVTqQern5_-147" value="image" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;strokeColor=inherit;fontSize=16;fontColor=#FFFFFF;" parent="7YEKfxPkjedVTqQern5_-145" vertex="1">
<mxCell id="7YEKfxPkjedVTqQern5_-147" value="last_login" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;strokeColor=inherit;fontSize=16;fontColor=#FFFFFF;" parent="7YEKfxPkjedVTqQern5_-145" vertex="1">
<mxGeometry x="40" width="140" height="30" as="geometry">
<mxRectangle width="140" height="30" as="alternateBounds"/>
</mxGeometry>
</mxCell>
<mxCell id="7YEKfxPkjedVTqQern5_-148" value="string" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;strokeColor=inherit;fontSize=16;fontColor=#FFFFFF;" parent="7YEKfxPkjedVTqQern5_-145" vertex="1">
<mxCell id="7YEKfxPkjedVTqQern5_-148" value="datetime" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;strokeColor=inherit;fontSize=16;fontColor=#FFFFFF;" parent="7YEKfxPkjedVTqQern5_-145" vertex="1">
<mxGeometry x="180" width="140" height="30" as="geometry">
<mxRectangle width="140" height="30" as="alternateBounds"/>
</mxGeometry>
Expand All @@ -471,12 +471,102 @@
<mxRectangle width="40" height="30" as="alternateBounds"/>
</mxGeometry>
</mxCell>
<mxCell id="7YEKfxPkjedVTqQern5_-159" value="bio" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;strokeColor=inherit;fontSize=16;fontColor=#FFFFFF;" parent="7YEKfxPkjedVTqQern5_-157" vertex="1">
<mxCell id="7YEKfxPkjedVTqQern5_-159" value="is_superuser" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;strokeColor=inherit;fontSize=16;fontColor=#FFFFFF;" parent="7YEKfxPkjedVTqQern5_-157" vertex="1">
<mxGeometry x="40" width="140" height="30" as="geometry">
<mxRectangle width="140" height="30" as="alternateBounds"/>
</mxGeometry>
</mxCell>
<mxCell id="7YEKfxPkjedVTqQern5_-160" value="string" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;strokeColor=inherit;fontSize=16;fontColor=#FFFFFF;" parent="7YEKfxPkjedVTqQern5_-157" vertex="1">
<mxCell id="7YEKfxPkjedVTqQern5_-160" value="boolean" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;strokeColor=inherit;fontSize=16;fontColor=#FFFFFF;" parent="7YEKfxPkjedVTqQern5_-157" vertex="1">
<mxGeometry x="180" width="140" height="30" as="geometry">
<mxRectangle width="140" height="30" as="alternateBounds"/>
</mxGeometry>
</mxCell>
<mxCell id="32" style="shape=tableRow;horizontal=0;startSize=0;swimlaneHead=0;swimlaneBody=0;top=0;left=0;bottom=0;right=0;collapsible=0;dropTarget=0;fillColor=none;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;strokeColor=inherit;fontSize=16;" vertex="1" parent="7YEKfxPkjedVTqQern5_-128">
<mxGeometry y="210" width="320" height="30" as="geometry"/>
</mxCell>
<mxCell id="33" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;strokeColor=inherit;fontSize=16;fontColor=#FFFFFF;" vertex="1" parent="32">
<mxGeometry width="40" height="30" as="geometry">
<mxRectangle width="40" height="30" as="alternateBounds"/>
</mxGeometry>
</mxCell>
<mxCell id="34" value="first_name" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;strokeColor=inherit;fontSize=16;fontColor=#FFFFFF;" vertex="1" parent="32">
<mxGeometry x="40" width="140" height="30" as="geometry">
<mxRectangle width="140" height="30" as="alternateBounds"/>
</mxGeometry>
</mxCell>
<mxCell id="35" value="string" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;strokeColor=inherit;fontSize=16;fontColor=#FFFFFF;" vertex="1" parent="32">
<mxGeometry x="180" width="140" height="30" as="geometry">
<mxRectangle width="140" height="30" as="alternateBounds"/>
</mxGeometry>
</mxCell>
<mxCell id="40" style="shape=tableRow;horizontal=0;startSize=0;swimlaneHead=0;swimlaneBody=0;top=0;left=0;bottom=0;right=0;collapsible=0;dropTarget=0;fillColor=none;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;strokeColor=inherit;fontSize=16;" vertex="1" parent="7YEKfxPkjedVTqQern5_-128">
<mxGeometry y="240" width="320" height="30" as="geometry"/>
</mxCell>
<mxCell id="41" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;strokeColor=inherit;fontSize=16;fontColor=#FFFFFF;" vertex="1" parent="40">
<mxGeometry width="40" height="30" as="geometry">
<mxRectangle width="40" height="30" as="alternateBounds"/>
</mxGeometry>
</mxCell>
<mxCell id="42" value="last_name&lt;span style=&quot;white-space: pre;&quot;&gt;&#9;&lt;/span&gt;" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;strokeColor=inherit;fontSize=16;fontColor=#FFFFFF;" vertex="1" parent="40">
<mxGeometry x="40" width="140" height="30" as="geometry">
<mxRectangle width="140" height="30" as="alternateBounds"/>
</mxGeometry>
</mxCell>
<mxCell id="43" value="string" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;strokeColor=inherit;fontSize=16;fontColor=#FFFFFF;" vertex="1" parent="40">
<mxGeometry x="180" width="140" height="30" as="geometry">
<mxRectangle width="140" height="30" as="alternateBounds"/>
</mxGeometry>
</mxCell>
<mxCell id="36" style="shape=tableRow;horizontal=0;startSize=0;swimlaneHead=0;swimlaneBody=0;top=0;left=0;bottom=0;right=0;collapsible=0;dropTarget=0;fillColor=none;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;strokeColor=inherit;fontSize=16;" vertex="1" parent="7YEKfxPkjedVTqQern5_-128">
<mxGeometry y="270" width="320" height="30" as="geometry"/>
</mxCell>
<mxCell id="37" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;strokeColor=inherit;fontSize=16;fontColor=#FFFFFF;" vertex="1" parent="36">
<mxGeometry width="40" height="30" as="geometry">
<mxRectangle width="40" height="30" as="alternateBounds"/>
</mxGeometry>
</mxCell>
<mxCell id="38" value="is_staff" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;strokeColor=inherit;fontSize=16;fontColor=#FFFFFF;" vertex="1" parent="36">
<mxGeometry x="40" width="140" height="30" as="geometry">
<mxRectangle width="140" height="30" as="alternateBounds"/>
</mxGeometry>
</mxCell>
<mxCell id="39" value="boolean" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;strokeColor=inherit;fontSize=16;fontColor=#FFFFFF;" vertex="1" parent="36">
<mxGeometry x="180" width="140" height="30" as="geometry">
<mxRectangle width="140" height="30" as="alternateBounds"/>
</mxGeometry>
</mxCell>
<mxCell id="56" style="shape=tableRow;horizontal=0;startSize=0;swimlaneHead=0;swimlaneBody=0;top=0;left=0;bottom=0;right=0;collapsible=0;dropTarget=0;fillColor=none;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;strokeColor=inherit;fontSize=16;" vertex="1" parent="7YEKfxPkjedVTqQern5_-128">
<mxGeometry y="300" width="320" height="30" as="geometry"/>
</mxCell>
<mxCell id="57" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;strokeColor=inherit;fontSize=16;fontColor=#FFFFFF;" vertex="1" parent="56">
<mxGeometry width="40" height="30" as="geometry">
<mxRectangle width="40" height="30" as="alternateBounds"/>
</mxGeometry>
</mxCell>
<mxCell id="58" value="is_active" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;strokeColor=inherit;fontSize=16;fontColor=#FFFFFF;" vertex="1" parent="56">
<mxGeometry x="40" width="140" height="30" as="geometry">
<mxRectangle width="140" height="30" as="alternateBounds"/>
</mxGeometry>
</mxCell>
<mxCell id="59" value="boolean" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;strokeColor=inherit;fontSize=16;fontColor=#FFFFFF;" vertex="1" parent="56">
<mxGeometry x="180" width="140" height="30" as="geometry">
<mxRectangle width="140" height="30" as="alternateBounds"/>
</mxGeometry>
</mxCell>
<mxCell id="52" style="shape=tableRow;horizontal=0;startSize=0;swimlaneHead=0;swimlaneBody=0;top=0;left=0;bottom=0;right=0;collapsible=0;dropTarget=0;fillColor=none;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;strokeColor=inherit;fontSize=16;" vertex="1" parent="7YEKfxPkjedVTqQern5_-128">
<mxGeometry y="330" width="320" height="30" as="geometry"/>
</mxCell>
<mxCell id="53" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;strokeColor=inherit;fontSize=16;fontColor=#FFFFFF;" vertex="1" parent="52">
<mxGeometry width="40" height="30" as="geometry">
<mxRectangle width="40" height="30" as="alternateBounds"/>
</mxGeometry>
</mxCell>
<mxCell id="54" value="date_joined" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;strokeColor=inherit;fontSize=16;fontColor=#FFFFFF;" vertex="1" parent="52">
<mxGeometry x="40" width="140" height="30" as="geometry">
<mxRectangle width="140" height="30" as="alternateBounds"/>
</mxGeometry>
</mxCell>
<mxCell id="55" value="datetime" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;strokeColor=inherit;fontSize=16;fontColor=#FFFFFF;" vertex="1" parent="52">
<mxGeometry x="180" width="140" height="30" as="geometry">
<mxRectangle width="140" height="30" as="alternateBounds"/>
</mxGeometry>
Expand Down

0 comments on commit e566f6c

Please sign in to comment.