<?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.split_payment Pages: 1 -->
<svg width="716pt" height="1280pt"
 viewBox="0.00 0.00 716.10 1279.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 1275.6)">
<title>public.split_payment</title>
<polygon fill="white" stroke="none" points="-4,4 -4,-1275.6 712.1,-1275.6 712.1,4 -4,4"/>
<!-- public.split_payment -->
<g id="node1" class="node">
<title>public.split_payment</title>
<polygon fill="#efefef" stroke="none" points="71.73,-107.8 71.73,-143.4 361.7,-143.4 361.7,-107.8 71.73,-107.8"/>
<polygon fill="none" stroke="black" points="71.73,-107.8 71.73,-143.4 361.7,-143.4 361.7,-107.8 71.73,-107.8"/>
<text text-anchor="start" x="78.73" y="-121.2" font-family="Arial Bold" font-size="18.00">public.split_payment</text>
<text text-anchor="start" x="230.21" y="-121.2" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="261.33" y="-121.2" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="71.73,-77 71.73,-107.8 361.7,-107.8 361.7,-77 71.73,-77"/>
<text text-anchor="start" x="78.73" y="-89.2" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="93.51" y="-89.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="71.73,-46.2 71.73,-77 361.7,-77 361.7,-46.2 71.73,-46.2"/>
<text text-anchor="start" x="78.73" y="-58.4" font-family="Arial" font-size="14.00">is_split_payment_enabled </text>
<text text-anchor="start" x="244.51" y="-58.4" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" stroke-width="3" points="70.23,-44.7 70.23,-144.9 363.2,-144.9 363.2,-44.7 70.23,-44.7"/>
</g>
<!-- public.game -->
<g id="node2" class="node">
<title>public.game</title>
<polygon fill="#efefef" stroke="none" points="43.2,-1192.8 43.2,-1228.4 390.23,-1228.4 390.23,-1192.8 43.2,-1192.8"/>
<polygon fill="none" stroke="black" points="43.2,-1192.8 43.2,-1228.4 390.23,-1228.4 390.23,-1192.8 43.2,-1192.8"/>
<text text-anchor="start" x="110.23" y="-1206.2" font-family="Arial Bold" font-size="18.00">public.game</text>
<text text-anchor="start" x="198.7" y="-1206.2" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="229.82" y="-1206.2" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="43.2,-1162 43.2,-1192.8 390.23,-1192.8 390.23,-1162 43.2,-1162"/>
<text text-anchor="start" x="50.2" y="-1174.2" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="64.99" y="-1174.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="43.2,-1131.2 43.2,-1162 390.23,-1162 390.23,-1131.2 43.2,-1131.2"/>
<text text-anchor="start" x="50.2" y="-1143.4" font-family="Arial" font-size="14.00">court_id </text>
<text text-anchor="start" x="103.9" y="-1143.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="43.2,-1100.4 43.2,-1131.2 390.23,-1131.2 390.23,-1100.4 43.2,-1100.4"/>
<text text-anchor="start" x="50.2" y="-1112.6" font-family="Arial" font-size="14.00">club_id </text>
<text text-anchor="start" x="98.45" y="-1112.6" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="43.2,-1069.6 43.2,-1100.4 390.23,-1100.4 390.23,-1069.6 43.2,-1069.6"/>
<text text-anchor="start" x="50.2" y="-1081.8" font-family="Arial" font-size="14.00">coach_id </text>
<text text-anchor="start" x="110.13" y="-1081.8" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="43.2,-1038.8 43.2,-1069.6 390.23,-1069.6 390.23,-1038.8 43.2,-1038.8"/>
<text text-anchor="start" x="50.2" y="-1051" font-family="Arial" font-size="14.00">kind </text>
<text text-anchor="start" x="79.77" y="-1051" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="43.2,-1008 43.2,-1038.8 390.23,-1038.8 390.23,-1008 43.2,-1008"/>
<text text-anchor="start" x="50.2" y="-1020.2" font-family="Arial" font-size="14.00">phase </text>
<text text-anchor="start" x="92.23" y="-1020.2" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="43.2,-977.2 43.2,-1008 390.23,-1008 390.23,-977.2 43.2,-977.2"/>
<text text-anchor="start" x="50.2" y="-989.4" font-family="Arial" font-size="14.00">match_period_starts_at </text>
<text text-anchor="start" x="200.39" y="-989.4" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="43.2,-946.4 43.2,-977.2 390.23,-977.2 390.23,-946.4 43.2,-946.4"/>
<text text-anchor="start" x="50.2" y="-958.6" font-family="Arial" font-size="14.00">match_period_ends_at </text>
<text text-anchor="start" x="196.52" y="-958.6" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="43.2,-915.6 43.2,-946.4 390.23,-946.4 390.23,-915.6 43.2,-915.6"/>
<text text-anchor="start" x="50.2" y="-927.8" font-family="Arial" font-size="14.00">court_fee_amount </text>
<text text-anchor="start" x="166.94" y="-927.8" font-family="Arial" font-size="14.00" fill="#666666">[bigint]</text>
<polygon fill="none" stroke="black" points="43.2,-884.8 43.2,-915.6 390.23,-915.6 390.23,-884.8 43.2,-884.8"/>
<text text-anchor="start" x="50.2" y="-897" font-family="Arial" font-size="14.00">court_fee_currency </text>
<text text-anchor="start" x="173.93" y="-897" font-family="Arial" font-size="14.00" fill="#666666">[character(3)]</text>
<polygon fill="none" stroke="black" points="43.2,-854 43.2,-884.8 390.23,-884.8 390.23,-854 43.2,-854"/>
<text text-anchor="start" x="50.2" y="-866.2" font-family="Arial" font-size="14.00">created_at </text>
<text text-anchor="start" x="120.25" y="-866.2" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="43.2,-823.2 43.2,-854 390.23,-854 390.23,-823.2 43.2,-823.2"/>
<text text-anchor="start" x="50.2" y="-835.4" font-family="Arial" font-size="14.00">cancelled_at </text>
<text text-anchor="start" x="132.7" y="-835.4" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="43.2,-792.4 43.2,-823.2 390.23,-823.2 390.23,-792.4 43.2,-792.4"/>
<text text-anchor="start" x="50.2" y="-804.6" font-family="Arial" font-size="14.00">scheduled_at </text>
<text text-anchor="start" x="137.38" y="-804.6" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="43.2,-761.6 43.2,-792.4 390.23,-792.4 390.23,-761.6 43.2,-761.6"/>
<text text-anchor="start" x="50.2" y="-773.8" font-family="Arial" font-size="14.00">terminated_at </text>
<text text-anchor="start" x="139.7" y="-773.8" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="43.2,-730.8 43.2,-761.6 390.23,-761.6 390.23,-730.8 43.2,-730.8"/>
<text text-anchor="start" x="50.2" y="-743" font-family="Arial" font-size="14.00">cancelled_by_id </text>
<text text-anchor="start" x="154.5" y="-743" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="43.2,-700 43.2,-730.8 390.23,-730.8 390.23,-700 43.2,-700"/>
<text text-anchor="start" x="50.2" y="-712.2" font-family="Arial" font-size="14.00">note </text>
<text text-anchor="start" x="81.34" y="-712.2" font-family="Arial" font-size="14.00" fill="#666666">[text]</text>
<polygon fill="none" stroke="black" points="43.2,-669.2 43.2,-700 390.23,-700 390.23,-669.2 43.2,-669.2"/>
<text text-anchor="start" x="50.2" y="-681.4" font-family="Arial" font-size="14.00">schedule_till_latest </text>
<text text-anchor="start" x="172.39" y="-681.4" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="43.2,-638.4 43.2,-669.2 390.23,-669.2 390.23,-638.4 43.2,-638.4"/>
<text text-anchor="start" x="50.2" y="-650.6" font-family="Arial" font-size="14.00">match_period_duration_in_seconds </text>
<text text-anchor="start" x="275.91" y="-650.6" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
<polygon fill="none" stroke="black" points="43.2,-607.6 43.2,-638.4 390.23,-638.4 390.23,-607.6 43.2,-607.6"/>
<text text-anchor="start" x="50.2" y="-619.8" font-family="Arial" font-size="14.00">day_index </text>
<text text-anchor="start" x="117.92" y="-619.8" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
<polygon fill="none" stroke="black" points="43.2,-576.8 43.2,-607.6 390.23,-607.6 390.23,-576.8 43.2,-576.8"/>
<text text-anchor="start" x="50.2" y="-589" font-family="Arial" font-size="14.00">day_name </text>
<text text-anchor="start" x="119.47" y="-589" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="43.2,-546 43.2,-576.8 390.23,-576.8 390.23,-546 43.2,-546"/>
<text text-anchor="start" x="50.2" y="-558.2" font-family="Arial" font-size="14.00">running_at </text>
<text text-anchor="start" x="120.25" y="-558.2" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="43.2,-515.2 43.2,-546 390.23,-546 390.23,-515.2 43.2,-515.2"/>
<text text-anchor="start" x="50.2" y="-527.4" font-family="Arial" font-size="14.00">finished_at </text>
<text text-anchor="start" x="121.81" y="-527.4" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="43.2,-484.4 43.2,-515.2 390.23,-515.2 390.23,-484.4 43.2,-484.4"/>
<text text-anchor="start" x="50.2" y="-496.6" font-family="Arial" font-size="14.00">confirming_at </text>
<text text-anchor="start" x="138.13" y="-496.6" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="43.2,-453.6 43.2,-484.4 390.23,-484.4 390.23,-453.6 43.2,-453.6"/>
<text text-anchor="start" x="50.2" y="-465.8" font-family="Arial" font-size="14.00">match_series_id </text>
<text text-anchor="start" x="156.03" y="-465.8" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="43.2,-422.8 43.2,-453.6 390.23,-453.6 390.23,-422.8 43.2,-422.8"/>
<text text-anchor="start" x="50.2" y="-435" font-family="Arial" font-size="14.00">created_by_id </text>
<text text-anchor="start" x="142.04" y="-435" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="43.2,-392 43.2,-422.8 390.23,-422.8 390.23,-392 43.2,-392"/>
<text text-anchor="start" x="50.2" y="-404.2" font-family="Arial" font-size="14.00">split_payment_id </text>
<text text-anchor="start" x="159.15" 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 390.23,-392 390.23,-361.2 43.2,-361.2"/>
<text text-anchor="start" x="50.2" y="-373.4" font-family="Arial" font-size="14.00">version </text>
<text text-anchor="start" x="99.22" y="-373.4" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
<polygon fill="none" stroke="black" points="43.2,-330.4 43.2,-361.2 390.23,-361.2 390.23,-330.4 43.2,-330.4"/>
<text text-anchor="start" x="50.2" y="-342.6" font-family="Arial" font-size="14.00">is_split_payment_migrated </text>
<text text-anchor="start" x="220.62" y="-342.6" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="43.2,-299.6 43.2,-330.4 390.23,-330.4 390.23,-299.6 43.2,-299.6"/>
<text text-anchor="start" x="50.2" y="-311.8" font-family="Arial" font-size="14.00">abandoned_at </text>
<text text-anchor="start" x="143.63" y="-311.8" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="43.2,-268.8 43.2,-299.6 390.23,-299.6 390.23,-268.8 43.2,-268.8"/>
<text text-anchor="start" x="50.2" y="-281" font-family="Arial" font-size="14.00">reserved_at </text>
<text text-anchor="start" x="128.02" y="-281" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
</g>
<!-- public.game&#45;&gt;public.split_payment -->
<g id="edge1" class="edge">
<title>public.game:split_payment_id&#45;&gt;public.split_payment:id</title>
<path fill="none" stroke="black" d="M401.18,-405.05C458.51,-376.22 429.41,-92.4 362.7,-92.4"/>
<polygon fill="black" stroke="black" points="401.28,-405.02 390.52,-402.94 396.09,-406.25 391.88,-407.25 391.88,-407.25 391.88,-407.25 396.09,-406.25 392.59,-411.7 401.28,-405.02"/>
<text text-anchor="start" x="398.23" y="-417.4" font-family="Arial" font-size="10.00">FOREIGN KEY (split_payment_id) REFERENCES split_payment(id)</text>
</g>
</g>
</svg>
