<?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.court_image Pages: 1 -->
<svg width="995pt" height="633pt"
 viewBox="0.00 0.00 994.99 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.court_image</title>
<polygon fill="white" stroke="none" points="-4,4 -4,-628.8 990.99,-628.8 990.99,4 -4,4"/>
<!-- public.court_image -->
<g id="node1" class="node">
<title>public.court_image</title>
<polygon fill="#efefef" stroke="none" points="349.52,-543 349.52,-578.6 627.46,-578.6 627.46,-543 349.52,-543"/>
<polygon fill="none" stroke="black" points="349.52,-543 349.52,-578.6 627.46,-578.6 627.46,-543 349.52,-543"/>
<text text-anchor="start" x="356.52" y="-556.4" font-family="Arial Bold" font-size="18.00">public.court_image</text>
<text text-anchor="start" x="495.97" y="-556.4" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="527.09" y="-556.4" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="349.52,-512.2 349.52,-543 627.46,-543 627.46,-512.2 349.52,-512.2"/>
<text text-anchor="start" x="356.52" y="-524.4" font-family="Arial" font-size="14.00">court_id </text>
<text text-anchor="start" x="410.21" y="-524.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="349.52,-481.4 349.52,-512.2 627.46,-512.2 627.46,-481.4 349.52,-481.4"/>
<text text-anchor="start" x="356.52" y="-493.6" font-family="Arial" font-size="14.00">image_id </text>
<text text-anchor="start" x="417.22" y="-493.6" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" stroke-width="3" points="348.02,-479.9 348.02,-580.1 628.96,-580.1 628.96,-479.9 348.02,-479.9"/>
</g>
<!-- public.court -->
<g id="node2" class="node">
<title>public.court</title>
<polygon fill="#efefef" stroke="none" points="210.01,-320.4 210.01,-356 434.97,-356 434.97,-320.4 210.01,-320.4"/>
<polygon fill="none" stroke="black" points="210.01,-320.4 210.01,-356 434.97,-356 434.97,-320.4 210.01,-320.4"/>
<text text-anchor="start" x="217.01" y="-333.8" font-family="Arial Bold" font-size="18.00">public.court</text>
<text text-anchor="start" x="303.48" y="-333.8" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="334.6" y="-333.8" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="210.01,-289.6 210.01,-320.4 434.97,-320.4 434.97,-289.6 210.01,-289.6"/>
<text text-anchor="start" x="217.01" y="-301.8" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="231.79" y="-301.8" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="210.01,-258.8 210.01,-289.6 434.97,-289.6 434.97,-258.8 210.01,-258.8"/>
<text text-anchor="start" x="217.01" y="-271" font-family="Arial" font-size="14.00">name </text>
<text text-anchor="start" x="255.92" y="-271" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="210.01,-228 210.01,-258.8 434.97,-258.8 434.97,-228 210.01,-228"/>
<text text-anchor="start" x="217.01" y="-240.2" font-family="Arial" font-size="14.00">club_id </text>
<text text-anchor="start" x="265.26" y="-240.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="210.01,-197.2 210.01,-228 434.97,-228 434.97,-197.2 210.01,-197.2"/>
<text text-anchor="start" x="217.01" y="-209.4" font-family="Arial" font-size="14.00">location_type </text>
<text text-anchor="start" x="303.4" y="-209.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="210.01,-166.4 210.01,-197.2 434.97,-197.2 434.97,-166.4 210.01,-166.4"/>
<text text-anchor="start" x="217.01" y="-178.6" font-family="Arial" font-size="14.00">match_type </text>
<text text-anchor="start" x="293.27" y="-178.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="210.01,-135.6 210.01,-166.4 434.97,-166.4 434.97,-135.6 210.01,-135.6"/>
<text text-anchor="start" x="217.01" y="-147.8" font-family="Arial" font-size="14.00">contentful_id </text>
<text text-anchor="start" x="300.29" y="-147.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(64)]</text>
<polygon fill="none" stroke="black" points="210.01,-104.8 210.01,-135.6 434.97,-135.6 434.97,-104.8 210.01,-104.8"/>
<text text-anchor="start" x="217.01" y="-117" font-family="Arial" font-size="14.00">is_active </text>
<text text-anchor="start" x="275.37" y="-117" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="210.01,-74 210.01,-104.8 434.97,-104.8 434.97,-74 210.01,-74"/>
<text text-anchor="start" x="217.01" y="-86.2" font-family="Arial" font-size="14.00">sport_id </text>
<text text-anchor="start" x="270.7" y="-86.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="210.01,-43.2 210.01,-74 434.97,-74 434.97,-43.2 210.01,-43.2"/>
<text text-anchor="start" x="217.01" y="-55.4" font-family="Arial" font-size="14.00">is_premium </text>
<text text-anchor="start" x="293.25" y="-55.4" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
</g>
<!-- public.court_image&#45;&gt;public.court -->
<g id="edge1" class="edge">
<title>public.court_image:court_id&#45;&gt;public.court:id</title>
<path fill="none" stroke="black" d="M338.51,-526.13C311.07,-516.88 328.76,-466.1 349.52,-435.2 372.5,-400.99 412,-433.41 434.97,-399.2 458.31,-364.44 477.84,-305 435.97,-305"/>
<polygon fill="black" stroke="black" points="338.29,-526.1 347.53,-532 343.57,-526.87 347.85,-527.5 347.85,-527.5 347.85,-527.5 343.57,-526.87 348.84,-523.1 338.29,-526.1"/>
<text text-anchor="start" x="7" y="-537.6" font-family="Arial" font-size="10.00">FOREIGN KEY (court_id) REFERENCES court(id) ON DELETE CASCADE</text>
</g>
<!-- public.image -->
<g id="node3" class="node">
<title>public.image</title>
<polygon fill="#efefef" stroke="none" points="539.51,-258.8 539.51,-294.4 771.47,-294.4 771.47,-258.8 539.51,-258.8"/>
<polygon fill="none" stroke="black" points="539.51,-258.8 539.51,-294.4 771.47,-294.4 771.47,-258.8 539.51,-258.8"/>
<text text-anchor="start" x="546.51" y="-272.2" font-family="Arial Bold" font-size="18.00">public.image</text>
<text text-anchor="start" x="639.98" y="-272.2" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="671.1" y="-272.2" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="539.51,-228 539.51,-258.8 771.47,-258.8 771.47,-228 539.51,-228"/>
<text text-anchor="start" x="546.51" y="-240.2" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="561.29" y="-240.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="539.51,-197.2 539.51,-228 771.47,-228 771.47,-197.2 539.51,-197.2"/>
<text text-anchor="start" x="546.51" y="-209.4" font-family="Arial" font-size="14.00">type </text>
<text text-anchor="start" x="576.86" y="-209.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="539.51,-166.4 539.51,-197.2 771.47,-197.2 771.47,-166.4 539.51,-166.4"/>
<text text-anchor="start" x="546.51" y="-178.6" font-family="Arial" font-size="14.00">path </text>
<text text-anchor="start" x="577.65" y="-178.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="539.51,-135.6 539.51,-166.4 771.47,-166.4 771.47,-135.6 539.51,-135.6"/>
<text text-anchor="start" x="546.51" y="-147.8" font-family="Arial" font-size="14.00">url </text>
<text text-anchor="start" x="565.96" y="-147.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="539.51,-104.8 539.51,-135.6 771.47,-135.6 771.47,-104.8 539.51,-104.8"/>
<text text-anchor="start" x="546.51" y="-117" font-family="Arial" font-size="14.00">sort_index </text>
<text text-anchor="start" x="614.99" y="-117" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
</g>
<!-- public.court_image&#45;&gt;public.image -->
<g id="edge2" class="edge">
<title>public.court_image:image_id&#45;&gt;public.image:id</title>
<path fill="none" stroke="black" d="M638.48,-494.09C650.04,-485.23 635.84,-456.5 627.46,-435.2 606.08,-380.86 560.74,-392 539.51,-337.6 524.29,-298.6 496.64,-243.4 538.51,-243.4"/>
<polygon fill="black" stroke="black" points="638.44,-494.1 627.61,-492.37 633.29,-495.49 629.11,-496.63 629.11,-496.63 629.11,-496.63 633.29,-495.49 629.96,-501.06 638.44,-494.1"/>
<text text-anchor="start" x="635.46" y="-506.8" font-family="Arial" font-size="10.00">FOREIGN KEY (image_id) REFERENCES image(id) ON DELETE CASCADE</text>
</g>
</g>
</svg>
