<?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.cart_item Pages: 1 -->
<svg width="538pt" height="633pt"
 viewBox="0.00 0.00 537.96 632.80" 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 628.8)">
<title>public.cart_item</title>
<polygon fill="white" stroke="none" points="-4,4 -4,-628.8 533.96,-628.8 533.96,4 -4,4"/>
<!-- public.cart_item -->
<g id="node1" class="node">
<title>public.cart_item</title>
<polygon fill="#efefef" stroke="none" points="46.2,-543 46.2,-578.6 302.15,-578.6 302.15,-543 46.2,-543"/>
<polygon fill="none" stroke="black" points="46.2,-543 46.2,-578.6 302.15,-578.6 302.15,-543 46.2,-543"/>
<text text-anchor="start" x="53.2" y="-556.4" font-family="Arial Bold" font-size="18.00">public.cart_item</text>
<text text-anchor="start" x="170.66" y="-556.4" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="201.77" y="-556.4" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="46.2,-512.2 46.2,-543 302.15,-543 302.15,-512.2 46.2,-512.2"/>
<text text-anchor="start" x="53.2" y="-524.4" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="67.99" y="-524.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="46.2,-481.4 46.2,-512.2 302.15,-512.2 302.15,-481.4 46.2,-481.4"/>
<text text-anchor="start" x="53.2" y="-493.6" font-family="Arial" font-size="14.00">cart_id </text>
<text text-anchor="start" x="99.11" y="-493.6" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="46.2,-450.6 46.2,-481.4 302.15,-481.4 302.15,-450.6 46.2,-450.6"/>
<text text-anchor="start" x="53.2" y="-462.8" font-family="Arial" font-size="14.00">type </text>
<text text-anchor="start" x="83.55" y="-462.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="46.2,-419.8 46.2,-450.6 302.15,-450.6 302.15,-419.8 46.2,-419.8"/>
<text text-anchor="start" x="53.2" y="-432" font-family="Arial" font-size="14.00">amount_amount </text>
<text text-anchor="start" x="158.27" y="-432" font-family="Arial" font-size="14.00" fill="#666666">[bigint]</text>
<polygon fill="none" stroke="black" points="46.2,-389 46.2,-419.8 302.15,-419.8 302.15,-389 46.2,-389"/>
<text text-anchor="start" x="53.2" y="-401.2" font-family="Arial" font-size="14.00">amount_currency </text>
<text text-anchor="start" x="165.25" y="-401.2" font-family="Arial" font-size="14.00" fill="#666666">[character(3)]</text>
<polygon fill="none" stroke="black" points="46.2,-358.2 46.2,-389 302.15,-389 302.15,-358.2 46.2,-358.2"/>
<text text-anchor="start" x="53.2" y="-370.4" font-family="Arial" font-size="14.00">quantity </text>
<text text-anchor="start" x="106.12" y="-370.4" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
<polygon fill="none" stroke="black" points="46.2,-327.4 46.2,-358.2 302.15,-358.2 302.15,-327.4 46.2,-327.4"/>
<text text-anchor="start" x="53.2" y="-339.6" font-family="Arial" font-size="14.00">discount_percentage </text>
<text text-anchor="start" x="187.07" y="-339.6" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
<polygon fill="none" stroke="black" points="46.2,-296.6 46.2,-327.4 302.15,-327.4 302.15,-296.6 46.2,-296.6"/>
<text text-anchor="start" x="53.2" y="-308.8" font-family="Arial" font-size="14.00">quantity_discountable </text>
<text text-anchor="start" x="192.52" y="-308.8" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
<polygon fill="none" stroke="black" stroke-width="3" points="44.7,-295.1 44.7,-580.1 303.65,-580.1 303.65,-295.1 44.7,-295.1"/>
</g>
<!-- public.cart -->
<g id="node2" class="node">
<title>public.cart</title>
<polygon fill="#efefef" stroke="none" points="66.7,-135.6 66.7,-171.2 281.65,-171.2 281.65,-135.6 66.7,-135.6"/>
<polygon fill="none" stroke="black" points="66.7,-135.6 66.7,-171.2 281.65,-171.2 281.65,-135.6 66.7,-135.6"/>
<text text-anchor="start" x="73.7" y="-149" font-family="Arial Bold" font-size="18.00">public.cart</text>
<text text-anchor="start" x="150.16" y="-149" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="181.28" y="-149" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="66.7,-104.8 66.7,-135.6 281.65,-135.6 281.65,-104.8 66.7,-104.8"/>
<text text-anchor="start" x="73.7" y="-117" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="88.48" y="-117" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="66.7,-74 66.7,-104.8 281.65,-104.8 281.65,-74 66.7,-74"/>
<text text-anchor="start" x="73.7" y="-86.2" font-family="Arial" font-size="14.00">event_registration_id </text>
<text text-anchor="start" x="207.56" y="-86.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="66.7,-43.2 66.7,-74 281.65,-74 281.65,-43.2 66.7,-43.2"/>
<text text-anchor="start" x="73.7" y="-55.4" font-family="Arial" font-size="14.00">match_player_id </text>
<text text-anchor="start" x="180.31" y="-55.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
</g>
<!-- public.cart_item&#45;&gt;public.cart -->
<g id="edge1" class="edge">
<title>public.cart_item:cart_id&#45;&gt;public.cart:id</title>
<path fill="none" stroke="black" d="M313.38,-494.77C385.08,-465.13 362.86,-120.2 282.65,-120.2"/>
<polygon fill="black" stroke="black" points="313.28,-494.79 302.6,-492.32 308.05,-495.83 303.8,-496.67 303.8,-496.67 303.8,-496.67 308.05,-495.83 304.35,-501.15 313.28,-494.79"/>
<text text-anchor="start" x="310.15" y="-506.8" font-family="Arial" font-size="10.00">FOREIGN KEY (cart_id) REFERENCES cart(id)</text>
</g>
</g>
</svg>
