<?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.match_coach Pages: 1 -->
<svg width="679pt" height="1930pt"
 viewBox="0.00 0.00 678.86 1930.40" 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 1926.4)">
<title>public.match_coach</title>
<polygon fill="white" stroke="none" points="-4,4 -4,-1926.4 674.86,-1926.4 674.86,4 -4,4"/>
<!-- public.match_coach -->
<g id="node1" class="node">
<title>public.match_coach</title>
<polygon fill="#efefef" stroke="none" points="75.25,-758.6 75.25,-794.2 358.18,-794.2 358.18,-758.6 75.25,-758.6"/>
<polygon fill="none" stroke="black" points="75.25,-758.6 75.25,-794.2 358.18,-794.2 358.18,-758.6 75.25,-758.6"/>
<text text-anchor="start" x="82.25" y="-772" font-family="Arial Bold" font-size="18.00">public.match_coach</text>
<text text-anchor="start" x="226.69" y="-772" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="257.81" y="-772" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="75.25,-727.8 75.25,-758.6 358.18,-758.6 358.18,-727.8 75.25,-727.8"/>
<text text-anchor="start" x="82.25" y="-740" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="97.03" y="-740" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="75.25,-697 75.25,-727.8 358.18,-727.8 358.18,-697 75.25,-697"/>
<text text-anchor="start" x="82.25" y="-709.2" font-family="Arial" font-size="14.00">coach_id </text>
<text text-anchor="start" x="142.18" y="-709.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="75.25,-666.2 75.25,-697 358.18,-697 358.18,-666.2 75.25,-666.2"/>
<text text-anchor="start" x="82.25" y="-678.4" font-family="Arial" font-size="14.00">first_name </text>
<text text-anchor="start" x="151.5" y="-678.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="75.25,-635.4 75.25,-666.2 358.18,-666.2 358.18,-635.4 75.25,-635.4"/>
<text text-anchor="start" x="82.25" y="-647.6" font-family="Arial" font-size="14.00">last_name </text>
<text text-anchor="start" x="150.73" y="-647.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="75.25,-604.6 75.25,-635.4 358.18,-635.4 358.18,-604.6 75.25,-604.6"/>
<text text-anchor="start" x="82.25" y="-616.8" font-family="Arial" font-size="14.00">trained_players </text>
<text text-anchor="start" x="181.86" y="-616.8" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
<polygon fill="none" stroke="black" points="75.25,-573.8 75.25,-604.6 358.18,-604.6 358.18,-573.8 75.25,-573.8"/>
<text text-anchor="start" x="82.25" y="-586" font-family="Arial" font-size="14.00">price__amount </text>
<text text-anchor="start" x="178.75" y="-586" font-family="Arial" font-size="14.00" fill="#666666">[bigint]</text>
<polygon fill="none" stroke="black" points="75.25,-543 75.25,-573.8 358.18,-573.8 358.18,-543 75.25,-543"/>
<text text-anchor="start" x="82.25" y="-555.2" font-family="Arial" font-size="14.00">price__currency </text>
<text text-anchor="start" x="185.74" y="-555.2" font-family="Arial" font-size="14.00" fill="#666666">[character(3)]</text>
<polygon fill="none" stroke="black" stroke-width="3" points="73.75,-541.5 73.75,-795.7 359.68,-795.7 359.68,-541.5 73.75,-541.5"/>
</g>
<!-- public.coach -->
<g id="node3" class="node">
<title>public.coach</title>
<polygon fill="#efefef" stroke="none" points="101.74,-382 101.74,-417.6 331.69,-417.6 331.69,-382 101.74,-382"/>
<polygon fill="none" stroke="black" points="101.74,-382 101.74,-417.6 331.69,-417.6 331.69,-382 101.74,-382"/>
<text text-anchor="start" x="108.74" y="-395.4" font-family="Arial Bold" font-size="18.00">public.coach</text>
<text text-anchor="start" x="200.2" y="-395.4" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="231.32" y="-395.4" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="101.74,-351.2 101.74,-382 331.69,-382 331.69,-351.2 101.74,-351.2"/>
<text text-anchor="start" x="108.74" y="-363.4" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="123.53" y="-363.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="101.74,-320.4 101.74,-351.2 331.69,-351.2 331.69,-320.4 101.74,-320.4"/>
<text text-anchor="start" x="108.74" y="-332.6" font-family="Arial" font-size="14.00">contentful_id </text>
<text text-anchor="start" x="192.02" y="-332.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(64)]</text>
<polygon fill="none" stroke="black" points="101.74,-289.6 101.74,-320.4 331.69,-320.4 331.69,-289.6 101.74,-289.6"/>
<text text-anchor="start" x="108.74" y="-301.8" font-family="Arial" font-size="14.00">first_name </text>
<text text-anchor="start" x="177.99" y="-301.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="101.74,-258.8 101.74,-289.6 331.69,-289.6 331.69,-258.8 101.74,-258.8"/>
<text text-anchor="start" x="108.74" y="-271" font-family="Arial" font-size="14.00">last_name </text>
<text text-anchor="start" x="177.22" y="-271" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="101.74,-228 101.74,-258.8 331.69,-258.8 331.69,-228 101.74,-228"/>
<text text-anchor="start" x="108.74" y="-240.2" font-family="Arial" font-size="14.00">training_prices_as_json </text>
<text text-anchor="start" x="259.72" y="-240.2" font-family="Arial" font-size="14.00" fill="#666666">[json]</text>
<polygon fill="none" stroke="black" points="101.74,-197.2 101.74,-228 331.69,-228 331.69,-197.2 101.74,-197.2"/>
<text text-anchor="start" x="108.74" y="-209.4" font-family="Arial" font-size="14.00">profile_image_id </text>
<text text-anchor="start" x="215.36" y="-209.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="101.74,-166.4 101.74,-197.2 331.69,-197.2 331.69,-166.4 101.74,-166.4"/>
<text text-anchor="start" x="108.74" y="-178.6" font-family="Arial" font-size="14.00">email_address </text>
<text text-anchor="start" x="203.68" y="-178.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="101.74,-135.6 101.74,-166.4 331.69,-166.4 331.69,-135.6 101.74,-135.6"/>
<text text-anchor="start" x="108.74" y="-147.8" font-family="Arial" font-size="14.00">title </text>
<text text-anchor="start" x="134.41" y="-147.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="101.74,-104.8 101.74,-135.6 331.69,-135.6 331.69,-104.8 101.74,-104.8"/>
<text text-anchor="start" x="108.74" y="-117" font-family="Arial" font-size="14.00">phone_number </text>
<text text-anchor="start" x="206.81" y="-117" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="101.74,-74 101.74,-104.8 331.69,-104.8 331.69,-74 101.74,-74"/>
<text text-anchor="start" x="108.74" y="-86.2" font-family="Arial" font-size="14.00">user_id </text>
<text text-anchor="start" x="158.55" y="-86.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="101.74,-43.2 101.74,-74 331.69,-74 331.69,-43.2 101.74,-43.2"/>
<text text-anchor="start" x="108.74" y="-55.4" font-family="Arial" font-size="14.00">is_active </text>
<text text-anchor="start" x="167.1" y="-55.4" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
</g>
<!-- public.match_coach&#45;&gt;public.coach -->
<g id="edge2" class="edge">
<title>public.match_coach:coach_id&#45;&gt;public.coach:id</title>
<path fill="none" stroke="black" d="M369.29,-711.88C512.06,-697.04 483.36,-366.6 332.69,-366.6"/>
<polygon fill="black" stroke="black" points="369.5,-711.87 359.28,-707.89 364.17,-712.15 359.85,-712.37 359.85,-712.37 359.85,-712.37 364.17,-712.15 359.74,-716.88 369.5,-711.87"/>
<text text-anchor="start" x="366.18" y="-722.4" font-family="Arial" font-size="10.00">FOREIGN KEY (coach_id) REFERENCES coach(id)</text>
</g>
<!-- public.game -->
<g id="node2" class="node">
<title>public.game</title>
<polygon fill="#efefef" stroke="none" points="43.2,-1843.6 43.2,-1879.2 390.23,-1879.2 390.23,-1843.6 43.2,-1843.6"/>
<polygon fill="none" stroke="black" points="43.2,-1843.6 43.2,-1879.2 390.23,-1879.2 390.23,-1843.6 43.2,-1843.6"/>
<text text-anchor="start" x="110.23" y="-1857" font-family="Arial Bold" font-size="18.00">public.game</text>
<text text-anchor="start" x="198.7" y="-1857" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="229.82" y="-1857" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="43.2,-1812.8 43.2,-1843.6 390.23,-1843.6 390.23,-1812.8 43.2,-1812.8"/>
<text text-anchor="start" x="50.2" y="-1825" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="64.99" y="-1825" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="43.2,-1782 43.2,-1812.8 390.23,-1812.8 390.23,-1782 43.2,-1782"/>
<text text-anchor="start" x="50.2" y="-1794.2" font-family="Arial" font-size="14.00">court_id </text>
<text text-anchor="start" x="103.9" y="-1794.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="43.2,-1751.2 43.2,-1782 390.23,-1782 390.23,-1751.2 43.2,-1751.2"/>
<text text-anchor="start" x="50.2" y="-1763.4" font-family="Arial" font-size="14.00">club_id </text>
<text text-anchor="start" x="98.45" y="-1763.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="43.2,-1720.4 43.2,-1751.2 390.23,-1751.2 390.23,-1720.4 43.2,-1720.4"/>
<text text-anchor="start" x="50.2" y="-1732.6" font-family="Arial" font-size="14.00">coach_id </text>
<text text-anchor="start" x="110.13" y="-1732.6" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="43.2,-1689.6 43.2,-1720.4 390.23,-1720.4 390.23,-1689.6 43.2,-1689.6"/>
<text text-anchor="start" x="50.2" y="-1701.8" font-family="Arial" font-size="14.00">kind </text>
<text text-anchor="start" x="79.77" y="-1701.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="43.2,-1658.8 43.2,-1689.6 390.23,-1689.6 390.23,-1658.8 43.2,-1658.8"/>
<text text-anchor="start" x="50.2" y="-1671" font-family="Arial" font-size="14.00">phase </text>
<text text-anchor="start" x="92.23" y="-1671" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="43.2,-1628 43.2,-1658.8 390.23,-1658.8 390.23,-1628 43.2,-1628"/>
<text text-anchor="start" x="50.2" y="-1640.2" font-family="Arial" font-size="14.00">match_period_starts_at </text>
<text text-anchor="start" x="200.39" y="-1640.2" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="43.2,-1597.2 43.2,-1628 390.23,-1628 390.23,-1597.2 43.2,-1597.2"/>
<text text-anchor="start" x="50.2" y="-1609.4" font-family="Arial" font-size="14.00">match_period_ends_at </text>
<text text-anchor="start" x="196.52" y="-1609.4" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="43.2,-1566.4 43.2,-1597.2 390.23,-1597.2 390.23,-1566.4 43.2,-1566.4"/>
<text text-anchor="start" x="50.2" y="-1578.6" font-family="Arial" font-size="14.00">court_fee_amount </text>
<text text-anchor="start" x="166.94" y="-1578.6" font-family="Arial" font-size="14.00" fill="#666666">[bigint]</text>
<polygon fill="none" stroke="black" points="43.2,-1535.6 43.2,-1566.4 390.23,-1566.4 390.23,-1535.6 43.2,-1535.6"/>
<text text-anchor="start" x="50.2" y="-1547.8" font-family="Arial" font-size="14.00">court_fee_currency </text>
<text text-anchor="start" x="173.93" y="-1547.8" font-family="Arial" font-size="14.00" fill="#666666">[character(3)]</text>
<polygon fill="none" stroke="black" points="43.2,-1504.8 43.2,-1535.6 390.23,-1535.6 390.23,-1504.8 43.2,-1504.8"/>
<text text-anchor="start" x="50.2" y="-1517" font-family="Arial" font-size="14.00">created_at </text>
<text text-anchor="start" x="120.25" y="-1517" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="43.2,-1474 43.2,-1504.8 390.23,-1504.8 390.23,-1474 43.2,-1474"/>
<text text-anchor="start" x="50.2" y="-1486.2" font-family="Arial" font-size="14.00">cancelled_at </text>
<text text-anchor="start" x="132.7" y="-1486.2" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="43.2,-1443.2 43.2,-1474 390.23,-1474 390.23,-1443.2 43.2,-1443.2"/>
<text text-anchor="start" x="50.2" y="-1455.4" font-family="Arial" font-size="14.00">scheduled_at </text>
<text text-anchor="start" x="137.38" y="-1455.4" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="43.2,-1412.4 43.2,-1443.2 390.23,-1443.2 390.23,-1412.4 43.2,-1412.4"/>
<text text-anchor="start" x="50.2" y="-1424.6" font-family="Arial" font-size="14.00">terminated_at </text>
<text text-anchor="start" x="139.7" y="-1424.6" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="43.2,-1381.6 43.2,-1412.4 390.23,-1412.4 390.23,-1381.6 43.2,-1381.6"/>
<text text-anchor="start" x="50.2" y="-1393.8" font-family="Arial" font-size="14.00">cancelled_by_id </text>
<text text-anchor="start" x="154.5" y="-1393.8" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="43.2,-1350.8 43.2,-1381.6 390.23,-1381.6 390.23,-1350.8 43.2,-1350.8"/>
<text text-anchor="start" x="50.2" y="-1363" font-family="Arial" font-size="14.00">note </text>
<text text-anchor="start" x="81.34" y="-1363" font-family="Arial" font-size="14.00" fill="#666666">[text]</text>
<polygon fill="none" stroke="black" points="43.2,-1320 43.2,-1350.8 390.23,-1350.8 390.23,-1320 43.2,-1320"/>
<text text-anchor="start" x="50.2" y="-1332.2" font-family="Arial" font-size="14.00">schedule_till_latest </text>
<text text-anchor="start" x="172.39" y="-1332.2" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="43.2,-1289.2 43.2,-1320 390.23,-1320 390.23,-1289.2 43.2,-1289.2"/>
<text text-anchor="start" x="50.2" y="-1301.4" font-family="Arial" font-size="14.00">match_period_duration_in_seconds </text>
<text text-anchor="start" x="275.91" y="-1301.4" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
<polygon fill="none" stroke="black" points="43.2,-1258.4 43.2,-1289.2 390.23,-1289.2 390.23,-1258.4 43.2,-1258.4"/>
<text text-anchor="start" x="50.2" y="-1270.6" font-family="Arial" font-size="14.00">day_index </text>
<text text-anchor="start" x="117.92" y="-1270.6" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
<polygon fill="none" stroke="black" points="43.2,-1227.6 43.2,-1258.4 390.23,-1258.4 390.23,-1227.6 43.2,-1227.6"/>
<text text-anchor="start" x="50.2" y="-1239.8" font-family="Arial" font-size="14.00">day_name </text>
<text text-anchor="start" x="119.47" y="-1239.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="43.2,-1196.8 43.2,-1227.6 390.23,-1227.6 390.23,-1196.8 43.2,-1196.8"/>
<text text-anchor="start" x="50.2" y="-1209" font-family="Arial" font-size="14.00">running_at </text>
<text text-anchor="start" x="120.25" y="-1209" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="43.2,-1166 43.2,-1196.8 390.23,-1196.8 390.23,-1166 43.2,-1166"/>
<text text-anchor="start" x="50.2" y="-1178.2" font-family="Arial" font-size="14.00">finished_at </text>
<text text-anchor="start" x="121.81" y="-1178.2" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="43.2,-1135.2 43.2,-1166 390.23,-1166 390.23,-1135.2 43.2,-1135.2"/>
<text text-anchor="start" x="50.2" y="-1147.4" font-family="Arial" font-size="14.00">confirming_at </text>
<text text-anchor="start" x="138.13" y="-1147.4" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="43.2,-1104.4 43.2,-1135.2 390.23,-1135.2 390.23,-1104.4 43.2,-1104.4"/>
<text text-anchor="start" x="50.2" y="-1116.6" font-family="Arial" font-size="14.00">match_series_id </text>
<text text-anchor="start" x="156.03" y="-1116.6" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="43.2,-1073.6 43.2,-1104.4 390.23,-1104.4 390.23,-1073.6 43.2,-1073.6"/>
<text text-anchor="start" x="50.2" y="-1085.8" font-family="Arial" font-size="14.00">created_by_id </text>
<text text-anchor="start" x="142.04" y="-1085.8" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="43.2,-1042.8 43.2,-1073.6 390.23,-1073.6 390.23,-1042.8 43.2,-1042.8"/>
<text text-anchor="start" x="50.2" y="-1055" font-family="Arial" font-size="14.00">split_payment_id </text>
<text text-anchor="start" x="159.15" y="-1055" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="43.2,-1012 43.2,-1042.8 390.23,-1042.8 390.23,-1012 43.2,-1012"/>
<text text-anchor="start" x="50.2" y="-1024.2" font-family="Arial" font-size="14.00">version </text>
<text text-anchor="start" x="99.22" y="-1024.2" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
<polygon fill="none" stroke="black" points="43.2,-981.2 43.2,-1012 390.23,-1012 390.23,-981.2 43.2,-981.2"/>
<text text-anchor="start" x="50.2" y="-993.4" font-family="Arial" font-size="14.00">is_split_payment_migrated </text>
<text text-anchor="start" x="220.62" y="-993.4" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="43.2,-950.4 43.2,-981.2 390.23,-981.2 390.23,-950.4 43.2,-950.4"/>
<text text-anchor="start" x="50.2" y="-962.6" font-family="Arial" font-size="14.00">abandoned_at </text>
<text text-anchor="start" x="143.63" y="-962.6" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="43.2,-919.6 43.2,-950.4 390.23,-950.4 390.23,-919.6 43.2,-919.6"/>
<text text-anchor="start" x="50.2" y="-931.8" font-family="Arial" font-size="14.00">reserved_at </text>
<text text-anchor="start" x="128.02" y="-931.8" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
</g>
<!-- public.game&#45;&gt;public.match_coach -->
<g id="edge1" class="edge">
<title>public.game:coach_id&#45;&gt;public.match_coach:id</title>
<path fill="none" stroke="black" d="M401.16,-1732.95C499.49,-1674.73 466.08,-743.2 359.18,-743.2"/>
<polygon fill="black" stroke="black" points="401.16,-1732.95 390.31,-1731.38 396.03,-1734.42 391.87,-1735.62 391.87,-1735.62 391.87,-1735.62 396.03,-1734.42 392.79,-1740.03 401.16,-1732.95"/>
<text text-anchor="start" x="398.23" y="-1745.8" font-family="Arial" font-size="10.00">FOREIGN KEY (coach_id) REFERENCES match_coach(id)</text>
</g>
</g>
</svg>
