<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
 "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by graphviz version 12.1.2 (20240928.0832)
 -->
<!-- Title: public.document Pages: 1 -->
<svg width="664pt" height="510pt"
 viewBox="0.00 0.00 664.44 509.60" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 505.6)">
<title>public.document</title>
<polygon fill="white" stroke="none" points="-4,4 -4,-505.6 660.44,-505.6 660.44,4 -4,4"/>
<!-- public.document -->
<g id="node1" class="node">
<title>public.document</title>
<polygon fill="#efefef" stroke="none" points="79.19,-138.6 79.19,-174.2 338.15,-174.2 338.15,-138.6 79.19,-138.6"/>
<polygon fill="none" stroke="black" points="79.19,-138.6 79.19,-174.2 338.15,-174.2 338.15,-138.6 79.19,-138.6"/>
<text text-anchor="start" x="86.19" y="-152" font-family="Arial Bold" font-size="18.00">public.document</text>
<text text-anchor="start" x="206.66" y="-152" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="237.78" y="-152" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="79.19,-107.8 79.19,-138.6 338.15,-138.6 338.15,-107.8 79.19,-107.8"/>
<text text-anchor="start" x="86.19" y="-120" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="100.97" y="-120" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="79.19,-77 79.19,-107.8 338.15,-107.8 338.15,-77 79.19,-77"/>
<text text-anchor="start" x="86.19" y="-89.2" font-family="Arial" font-size="14.00">contentful_id </text>
<text text-anchor="start" x="169.47" y="-89.2" font-family="Arial" font-size="14.00" fill="#666666">[varchar(64)]</text>
<polygon fill="none" stroke="black" points="79.19,-46.2 79.19,-77 338.15,-77 338.15,-46.2 79.19,-46.2"/>
<text text-anchor="start" x="86.19" y="-58.4" font-family="Arial" font-size="14.00">type </text>
<text text-anchor="start" x="116.54" y="-58.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" stroke-width="3" points="77.69,-44.7 77.69,-175.7 339.65,-175.7 339.65,-44.7 77.69,-44.7"/>
</g>
<!-- public.document_approval -->
<g id="node2" class="node">
<title>public.document_approval</title>
<polygon fill="#efefef" stroke="none" points="43.2,-422.8 43.2,-458.4 374.13,-458.4 374.13,-422.8 43.2,-422.8"/>
<polygon fill="none" stroke="black" points="43.2,-422.8 43.2,-458.4 374.13,-458.4 374.13,-422.8 43.2,-422.8"/>
<text text-anchor="start" x="50.2" y="-436.2" font-family="Arial Bold" font-size="18.00">public.document_approval</text>
<text text-anchor="start" x="242.65" y="-436.2" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="273.76" y="-436.2" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="43.2,-392 43.2,-422.8 374.13,-422.8 374.13,-392 43.2,-392"/>
<text text-anchor="start" x="50.2" y="-404.2" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="64.99" y="-404.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="43.2,-361.2 43.2,-392 374.13,-392 374.13,-361.2 43.2,-361.2"/>
<text text-anchor="start" x="50.2" y="-373.4" font-family="Arial" font-size="14.00">user_id </text>
<text text-anchor="start" x="100.01" y="-373.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="43.2,-330.4 43.2,-361.2 374.13,-361.2 374.13,-330.4 43.2,-330.4"/>
<text text-anchor="start" x="50.2" y="-342.6" font-family="Arial" font-size="14.00">document_id </text>
<text text-anchor="start" x="134.25" y="-342.6" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="43.2,-299.6 43.2,-330.4 374.13,-330.4 374.13,-299.6 43.2,-299.6"/>
<text text-anchor="start" x="50.2" y="-311.8" font-family="Arial" font-size="14.00">approved_at </text>
<text text-anchor="start" x="131.93" y="-311.8" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
</g>
<!-- public.document_approval&#45;&gt;public.document -->
<g id="edge1" class="edge">
<title>public.document_approval:document_id&#45;&gt;public.document:id</title>
<path fill="none" stroke="black" d="M385.47,-344.95C472.67,-330 435.74,-123.2 339.15,-123.2"/>
<polygon fill="black" stroke="black" points="385.43,-344.95 375.1,-341.29 380.12,-345.39 375.8,-345.75 375.8,-345.75 375.8,-345.75 380.12,-345.39 375.84,-350.26 385.43,-344.95"/>
<text text-anchor="start" x="382.13" y="-355.8" font-family="Arial" font-size="10.00">FOREIGN KEY (document_id) REFERENCES document(id)</text>
</g>
</g>
</svg>
