<?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_player Pages: 1 -->
<svg width="2124pt" height="2208pt"
 viewBox="0.00 0.00 2123.80 2207.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 2203.6)">
<title>public.match_player</title>
<polygon fill="white" stroke="none" points="-4,4 -4,-2203.6 2119.8,-2203.6 2119.8,4 -4,4"/>
<!-- public.match_player -->
<g id="node1" class="node">
<title>public.match_player</title>
<polygon fill="#efefef" stroke="none" points="1028.27,-1497.8 1028.27,-1533.4 1355.84,-1533.4 1355.84,-1497.8 1028.27,-1497.8"/>
<polygon fill="none" stroke="black" points="1028.27,-1497.8 1028.27,-1533.4 1355.84,-1533.4 1355.84,-1497.8 1028.27,-1497.8"/>
<text text-anchor="start" x="1056.09" y="-1511.2" font-family="Arial Bold" font-size="18.00">public.match_player</text>
<text text-anchor="start" x="1203.53" y="-1511.2" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="1234.65" y="-1511.2" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="1028.27,-1467 1028.27,-1497.8 1355.84,-1497.8 1355.84,-1467 1028.27,-1467"/>
<text text-anchor="start" x="1035.27" y="-1479.2" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="1050.06" y="-1479.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="1028.27,-1436.2 1028.27,-1467 1355.84,-1467 1355.84,-1436.2 1028.27,-1436.2"/>
<text text-anchor="start" x="1035.27" y="-1448.4" font-family="Arial" font-size="14.00">user_id </text>
<text text-anchor="start" x="1085.08" y="-1448.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="1028.27,-1405.4 1028.27,-1436.2 1355.84,-1436.2 1355.84,-1405.4 1028.27,-1405.4"/>
<text text-anchor="start" x="1035.27" y="-1417.6" font-family="Arial" font-size="14.00">game_id </text>
<text text-anchor="start" x="1092.86" y="-1417.6" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="1028.27,-1374.6 1028.27,-1405.4 1355.84,-1405.4 1355.84,-1374.6 1028.27,-1374.6"/>
<text text-anchor="start" x="1035.27" y="-1386.8" font-family="Arial" font-size="14.00">slot </text>
<text text-anchor="start" x="1060.95" y="-1386.8" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
<polygon fill="none" stroke="black" points="1028.27,-1343.8 1028.27,-1374.6 1355.84,-1374.6 1355.84,-1343.8 1028.27,-1343.8"/>
<text text-anchor="start" x="1035.27" y="-1356" font-family="Arial" font-size="14.00">is_host </text>
<text text-anchor="start" x="1083.52" y="-1356" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="1028.27,-1313 1028.27,-1343.8 1355.84,-1343.8 1355.84,-1313 1028.27,-1313"/>
<text text-anchor="start" x="1035.27" y="-1325.2" font-family="Arial" font-size="14.00">terms_of_service_id </text>
<text text-anchor="start" x="1164.44" y="-1325.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="1028.27,-1282.2 1028.27,-1313 1355.84,-1313 1355.84,-1282.2 1028.27,-1282.2"/>
<text text-anchor="start" x="1035.27" y="-1294.4" font-family="Arial" font-size="14.00">joined_match_at </text>
<text text-anchor="start" x="1141.9" y="-1294.4" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="1028.27,-1251.4 1028.27,-1282.2 1355.84,-1282.2 1355.84,-1251.4 1028.27,-1251.4"/>
<text text-anchor="start" x="1035.27" y="-1263.6" font-family="Arial" font-size="14.00">confirmed_match_at </text>
<text text-anchor="start" x="1166" y="-1263.6" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="1028.27,-1220.6 1028.27,-1251.4 1355.84,-1251.4 1355.84,-1220.6 1028.27,-1220.6"/>
<text text-anchor="start" x="1035.27" y="-1232.8" font-family="Arial" font-size="14.00">left_match_at </text>
<text text-anchor="start" x="1123.21" y="-1232.8" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="1028.27,-1189.8 1028.27,-1220.6 1355.84,-1220.6 1355.84,-1189.8 1028.27,-1189.8"/>
<text text-anchor="start" x="1035.27" y="-1202" font-family="Arial" font-size="14.00">status </text>
<text text-anchor="start" x="1076.51" y="-1202" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="1028.27,-1159 1028.27,-1189.8 1355.84,-1189.8 1355.84,-1159 1028.27,-1159"/>
<text text-anchor="start" x="1035.27" y="-1171.2" font-family="Arial" font-size="14.00">discount_id </text>
<text text-anchor="start" x="1109.99" y="-1171.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="1028.27,-1128.2 1028.27,-1159 1355.84,-1159 1355.84,-1128.2 1028.27,-1128.2"/>
<text text-anchor="start" x="1035.27" y="-1140.4" font-family="Arial" font-size="14.00">expected_payment_of_slots </text>
<text text-anchor="start" x="1213.5" y="-1140.4" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
<polygon fill="none" stroke="black" stroke-width="3" points="1026.77,-1126.7 1026.77,-1534.9 1357.34,-1534.9 1357.34,-1126.7 1026.77,-1126.7"/>
</g>
<!-- public.user -->
<g id="node6" class="node">
<title>public.user</title>
<polygon fill="#efefef" stroke="none" points="303.18,-813.2 303.18,-848.8 696.93,-848.8 696.93,-813.2 303.18,-813.2"/>
<polygon fill="none" stroke="black" points="303.18,-813.2 303.18,-848.8 696.93,-848.8 696.93,-813.2 303.18,-813.2"/>
<text text-anchor="start" x="398.07" y="-826.6" font-family="Arial Bold" font-size="18.00">public.user</text>
<text text-anchor="start" x="477.55" y="-826.6" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="508.67" y="-826.6" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="303.18,-782.4 303.18,-813.2 696.93,-813.2 696.93,-782.4 303.18,-782.4"/>
<text text-anchor="start" x="310.18" y="-794.6" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="324.97" y="-794.6" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="303.18,-751.6 303.18,-782.4 696.93,-782.4 696.93,-751.6 303.18,-751.6"/>
<text text-anchor="start" x="310.18" y="-763.8" font-family="Arial" font-size="14.00">first_name </text>
<text text-anchor="start" x="379.43" y="-763.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="303.18,-720.8 303.18,-751.6 696.93,-751.6 696.93,-720.8 303.18,-720.8"/>
<text text-anchor="start" x="310.18" y="-733" font-family="Arial" font-size="14.00">last_name </text>
<text text-anchor="start" x="378.67" y="-733" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="303.18,-690 303.18,-720.8 696.93,-720.8 696.93,-690 303.18,-690"/>
<text text-anchor="start" x="310.18" y="-702.2" font-family="Arial" font-size="14.00">email </text>
<text text-anchor="start" x="347.53" y="-702.2" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="303.18,-659.2 303.18,-690 696.93,-690 696.93,-659.2 303.18,-659.2"/>
<text text-anchor="start" x="310.18" y="-671.4" font-family="Arial" font-size="14.00">gender </text>
<text text-anchor="start" x="357.67" y="-671.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="303.18,-628.4 303.18,-659.2 696.93,-659.2 696.93,-628.4 303.18,-628.4"/>
<text text-anchor="start" x="310.18" y="-640.6" font-family="Arial" font-size="14.00">birthday </text>
<text text-anchor="start" x="363.88" y="-640.6" font-family="Arial" font-size="14.00" fill="#666666">[date]</text>
<polygon fill="none" stroke="black" points="303.18,-597.6 303.18,-628.4 696.93,-628.4 696.93,-597.6 303.18,-597.6"/>
<text text-anchor="start" x="310.18" y="-609.8" font-family="Arial" font-size="14.00">skill_level </text>
<text text-anchor="start" x="373.98" y="-609.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="303.18,-566.8 303.18,-597.6 696.93,-597.6 696.93,-566.8 303.18,-566.8"/>
<text text-anchor="start" x="310.18" y="-579" font-family="Arial" font-size="14.00">is_age_public </text>
<text text-anchor="start" x="399.69" y="-579" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="303.18,-536 303.18,-566.8 696.93,-566.8 696.93,-536 303.18,-536"/>
<text text-anchor="start" x="310.18" y="-548.2" font-family="Arial" font-size="14.00">profile_image_path </text>
<text text-anchor="start" x="433.15" y="-548.2" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="303.18,-505.2 303.18,-536 696.93,-536 696.93,-505.2 303.18,-505.2"/>
<text text-anchor="start" x="310.18" y="-517.4" font-family="Arial" font-size="14.00">is_marketing_consent_granted </text>
<text text-anchor="start" x="505.53" y="-517.4" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="303.18,-474.4 303.18,-505.2 696.93,-505.2 696.93,-474.4 303.18,-474.4"/>
<text text-anchor="start" x="310.18" y="-486.6" font-family="Arial" font-size="14.00">marketing_consent_granted_at </text>
<text text-anchor="start" x="507.09" y="-486.6" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="303.18,-443.6 303.18,-474.4 696.93,-474.4 696.93,-443.6 303.18,-443.6"/>
<text text-anchor="start" x="310.18" y="-455.8" font-family="Arial" font-size="14.00">get_stream_token </text>
<text text-anchor="start" x="426.14" y="-455.8" font-family="Arial" font-size="14.00" fill="#666666">[text]</text>
<polygon fill="none" stroke="black" points="303.18,-412.8 303.18,-443.6 696.93,-443.6 696.93,-412.8 303.18,-412.8"/>
<text text-anchor="start" x="310.18" y="-425" font-family="Arial" font-size="14.00">email_address_id </text>
<text text-anchor="start" x="423.8" y="-425" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="303.18,-382 303.18,-412.8 696.93,-412.8 696.93,-382 303.18,-382"/>
<text text-anchor="start" x="310.18" y="-394.2" font-family="Arial" font-size="14.00">preferred_playing_times </text>
<text text-anchor="start" x="464.26" y="-394.2" font-family="Arial" font-size="14.00" fill="#666666">[text]</text>
<polygon fill="none" stroke="black" points="303.18,-351.2 303.18,-382 696.93,-382 696.93,-351.2 303.18,-351.2"/>
<text text-anchor="start" x="310.18" y="-363.4" font-family="Arial" font-size="14.00">dominant_hands </text>
<text text-anchor="start" x="417.6" y="-363.4" font-family="Arial" font-size="14.00" fill="#666666">[text]</text>
<polygon fill="none" stroke="black" points="303.18,-320.4 303.18,-351.2 696.93,-351.2 696.93,-320.4 303.18,-320.4"/>
<text text-anchor="start" x="310.18" y="-332.6" font-family="Arial" font-size="14.00">locale </text>
<text text-anchor="start" x="350.65" y="-332.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="303.18,-289.6 303.18,-320.4 696.93,-320.4 696.93,-289.6 303.18,-289.6"/>
<text text-anchor="start" x="310.18" y="-301.8" font-family="Arial" font-size="14.00">is_deleted </text>
<text text-anchor="start" x="377.9" y="-301.8" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="303.18,-258.8 303.18,-289.6 696.93,-289.6 696.93,-258.8 303.18,-258.8"/>
<text text-anchor="start" x="310.18" y="-271" font-family="Arial" font-size="14.00">deleted_at </text>
<text text-anchor="start" x="379.46" y="-271" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="303.18,-228 303.18,-258.8 696.93,-258.8 696.93,-228 303.18,-228"/>
<text text-anchor="start" x="310.18" y="-240.2" font-family="Arial" font-size="14.00">created_at </text>
<text text-anchor="start" x="380.23" y="-240.2" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="303.18,-197.2 303.18,-228 696.93,-228 696.93,-197.2 303.18,-197.2"/>
<text text-anchor="start" x="310.18" y="-209.4" font-family="Arial" font-size="14.00">phone_number </text>
<text text-anchor="start" x="408.26" y="-209.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
</g>
<!-- public.match_player&#45;&gt;public.user -->
<g id="edge7" class="edge">
<title>public.match_player:user_id&#45;&gt;public.user:id</title>
<path fill="none" stroke="black" d="M1016.89,-1451.44C809.48,-1445.01 833.24,-1243.92 749.05,-1046 727.01,-994.18 754.24,-797.8 697.93,-797.8"/>
<polygon fill="black" stroke="black" points="1016.94,-1451.44 1026.87,-1456.09 1022.27,-1451.52 1026.6,-1451.59 1026.6,-1451.59 1026.6,-1451.59 1022.27,-1451.52 1027.01,-1447.1 1016.94,-1451.44"/>
<text text-anchor="start" x="794.79" y="-1461.6" font-family="Arial" font-size="10.00">FOREIGN KEY (user_id) REFERENCES &quot;user&quot;(id)</text>
</g>
<!-- public.game -->
<g id="node7" class="node">
<title>public.game</title>
<polygon fill="#efefef" stroke="none" points="801.54,-967.2 801.54,-1002.8 1148.57,-1002.8 1148.57,-967.2 801.54,-967.2"/>
<polygon fill="none" stroke="black" points="801.54,-967.2 801.54,-1002.8 1148.57,-1002.8 1148.57,-967.2 801.54,-967.2"/>
<text text-anchor="start" x="868.57" y="-980.6" font-family="Arial Bold" font-size="18.00">public.game</text>
<text text-anchor="start" x="957.04" y="-980.6" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="988.16" y="-980.6" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="801.54,-936.4 801.54,-967.2 1148.57,-967.2 1148.57,-936.4 801.54,-936.4"/>
<text text-anchor="start" x="808.54" y="-948.6" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="823.33" y="-948.6" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="801.54,-905.6 801.54,-936.4 1148.57,-936.4 1148.57,-905.6 801.54,-905.6"/>
<text text-anchor="start" x="808.54" y="-917.8" font-family="Arial" font-size="14.00">court_id </text>
<text text-anchor="start" x="862.24" y="-917.8" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="801.54,-874.8 801.54,-905.6 1148.57,-905.6 1148.57,-874.8 801.54,-874.8"/>
<text text-anchor="start" x="808.54" y="-887" font-family="Arial" font-size="14.00">club_id </text>
<text text-anchor="start" x="856.8" y="-887" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="801.54,-844 801.54,-874.8 1148.57,-874.8 1148.57,-844 801.54,-844"/>
<text text-anchor="start" x="808.54" y="-856.2" font-family="Arial" font-size="14.00">coach_id </text>
<text text-anchor="start" x="868.47" y="-856.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="801.54,-813.2 801.54,-844 1148.57,-844 1148.57,-813.2 801.54,-813.2"/>
<text text-anchor="start" x="808.54" y="-825.4" font-family="Arial" font-size="14.00">kind </text>
<text text-anchor="start" x="838.11" y="-825.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="801.54,-782.4 801.54,-813.2 1148.57,-813.2 1148.57,-782.4 801.54,-782.4"/>
<text text-anchor="start" x="808.54" y="-794.6" font-family="Arial" font-size="14.00">phase </text>
<text text-anchor="start" x="850.58" y="-794.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="801.54,-751.6 801.54,-782.4 1148.57,-782.4 1148.57,-751.6 801.54,-751.6"/>
<text text-anchor="start" x="808.54" y="-763.8" font-family="Arial" font-size="14.00">match_period_starts_at </text>
<text text-anchor="start" x="958.73" y="-763.8" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="801.54,-720.8 801.54,-751.6 1148.57,-751.6 1148.57,-720.8 801.54,-720.8"/>
<text text-anchor="start" x="808.54" y="-733" font-family="Arial" font-size="14.00">match_period_ends_at </text>
<text text-anchor="start" x="954.86" y="-733" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="801.54,-690 801.54,-720.8 1148.57,-720.8 1148.57,-690 801.54,-690"/>
<text text-anchor="start" x="808.54" y="-702.2" font-family="Arial" font-size="14.00">court_fee_amount </text>
<text text-anchor="start" x="925.29" y="-702.2" font-family="Arial" font-size="14.00" fill="#666666">[bigint]</text>
<polygon fill="none" stroke="black" points="801.54,-659.2 801.54,-690 1148.57,-690 1148.57,-659.2 801.54,-659.2"/>
<text text-anchor="start" x="808.54" y="-671.4" font-family="Arial" font-size="14.00">court_fee_currency </text>
<text text-anchor="start" x="932.27" y="-671.4" font-family="Arial" font-size="14.00" fill="#666666">[character(3)]</text>
<polygon fill="none" stroke="black" points="801.54,-628.4 801.54,-659.2 1148.57,-659.2 1148.57,-628.4 801.54,-628.4"/>
<text text-anchor="start" x="808.54" y="-640.6" font-family="Arial" font-size="14.00">created_at </text>
<text text-anchor="start" x="878.59" y="-640.6" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="801.54,-597.6 801.54,-628.4 1148.57,-628.4 1148.57,-597.6 801.54,-597.6"/>
<text text-anchor="start" x="808.54" y="-609.8" font-family="Arial" font-size="14.00">cancelled_at </text>
<text text-anchor="start" x="891.04" y="-609.8" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="801.54,-566.8 801.54,-597.6 1148.57,-597.6 1148.57,-566.8 801.54,-566.8"/>
<text text-anchor="start" x="808.54" y="-579" font-family="Arial" font-size="14.00">scheduled_at </text>
<text text-anchor="start" x="895.72" y="-579" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="801.54,-536 801.54,-566.8 1148.57,-566.8 1148.57,-536 801.54,-536"/>
<text text-anchor="start" x="808.54" y="-548.2" font-family="Arial" font-size="14.00">terminated_at </text>
<text text-anchor="start" x="898.04" y="-548.2" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="801.54,-505.2 801.54,-536 1148.57,-536 1148.57,-505.2 801.54,-505.2"/>
<text text-anchor="start" x="808.54" y="-517.4" font-family="Arial" font-size="14.00">cancelled_by_id </text>
<text text-anchor="start" x="912.84" y="-517.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="801.54,-474.4 801.54,-505.2 1148.57,-505.2 1148.57,-474.4 801.54,-474.4"/>
<text text-anchor="start" x="808.54" y="-486.6" font-family="Arial" font-size="14.00">note </text>
<text text-anchor="start" x="839.68" y="-486.6" font-family="Arial" font-size="14.00" fill="#666666">[text]</text>
<polygon fill="none" stroke="black" points="801.54,-443.6 801.54,-474.4 1148.57,-474.4 1148.57,-443.6 801.54,-443.6"/>
<text text-anchor="start" x="808.54" y="-455.8" font-family="Arial" font-size="14.00">schedule_till_latest </text>
<text text-anchor="start" x="930.73" y="-455.8" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="801.54,-412.8 801.54,-443.6 1148.57,-443.6 1148.57,-412.8 801.54,-412.8"/>
<text text-anchor="start" x="808.54" y="-425" font-family="Arial" font-size="14.00">match_period_duration_in_seconds </text>
<text text-anchor="start" x="1034.25" y="-425" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
<polygon fill="none" stroke="black" points="801.54,-382 801.54,-412.8 1148.57,-412.8 1148.57,-382 801.54,-382"/>
<text text-anchor="start" x="808.54" y="-394.2" font-family="Arial" font-size="14.00">day_index </text>
<text text-anchor="start" x="876.26" y="-394.2" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
<polygon fill="none" stroke="black" points="801.54,-351.2 801.54,-382 1148.57,-382 1148.57,-351.2 801.54,-351.2"/>
<text text-anchor="start" x="808.54" y="-363.4" font-family="Arial" font-size="14.00">day_name </text>
<text text-anchor="start" x="877.81" y="-363.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="801.54,-320.4 801.54,-351.2 1148.57,-351.2 1148.57,-320.4 801.54,-320.4"/>
<text text-anchor="start" x="808.54" y="-332.6" font-family="Arial" font-size="14.00">running_at </text>
<text text-anchor="start" x="878.6" y="-332.6" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="801.54,-289.6 801.54,-320.4 1148.57,-320.4 1148.57,-289.6 801.54,-289.6"/>
<text text-anchor="start" x="808.54" y="-301.8" font-family="Arial" font-size="14.00">finished_at </text>
<text text-anchor="start" x="880.15" y="-301.8" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="801.54,-258.8 801.54,-289.6 1148.57,-289.6 1148.57,-258.8 801.54,-258.8"/>
<text text-anchor="start" x="808.54" y="-271" font-family="Arial" font-size="14.00">confirming_at </text>
<text text-anchor="start" x="896.47" y="-271" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="801.54,-228 801.54,-258.8 1148.57,-258.8 1148.57,-228 801.54,-228"/>
<text text-anchor="start" x="808.54" y="-240.2" font-family="Arial" font-size="14.00">match_series_id </text>
<text text-anchor="start" x="914.37" y="-240.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="801.54,-197.2 801.54,-228 1148.57,-228 1148.57,-197.2 801.54,-197.2"/>
<text text-anchor="start" x="808.54" y="-209.4" font-family="Arial" font-size="14.00">created_by_id </text>
<text text-anchor="start" x="900.38" y="-209.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="801.54,-166.4 801.54,-197.2 1148.57,-197.2 1148.57,-166.4 801.54,-166.4"/>
<text text-anchor="start" x="808.54" y="-178.6" font-family="Arial" font-size="14.00">split_payment_id </text>
<text text-anchor="start" x="917.49" y="-178.6" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="801.54,-135.6 801.54,-166.4 1148.57,-166.4 1148.57,-135.6 801.54,-135.6"/>
<text text-anchor="start" x="808.54" y="-147.8" font-family="Arial" font-size="14.00">version </text>
<text text-anchor="start" x="857.56" y="-147.8" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
<polygon fill="none" stroke="black" points="801.54,-104.8 801.54,-135.6 1148.57,-135.6 1148.57,-104.8 801.54,-104.8"/>
<text text-anchor="start" x="808.54" y="-117" font-family="Arial" font-size="14.00">is_split_payment_migrated </text>
<text text-anchor="start" x="978.96" y="-117" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="801.54,-74 801.54,-104.8 1148.57,-104.8 1148.57,-74 801.54,-74"/>
<text text-anchor="start" x="808.54" y="-86.2" font-family="Arial" font-size="14.00">abandoned_at </text>
<text text-anchor="start" x="901.97" y="-86.2" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="801.54,-43.2 801.54,-74 1148.57,-74 1148.57,-43.2 801.54,-43.2"/>
<text text-anchor="start" x="808.54" y="-55.4" font-family="Arial" font-size="14.00">reserved_at </text>
<text text-anchor="start" x="886.36" y="-55.4" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
</g>
<!-- public.match_player&#45;&gt;public.game -->
<g id="edge8" class="edge">
<title>public.match_player:game_id&#45;&gt;public.game:id</title>
<path fill="none" stroke="black" d="M1017.03,-1420.44C879.59,-1410.63 940.28,-1199.82 1028.27,-1082 1061.67,-1037.29 1115,-1090.59 1148.57,-1046 1173.75,-1012.55 1191.44,-951.8 1149.57,-951.8"/>
<polygon fill="black" stroke="black" points="1016.94,-1420.44 1026.78,-1425.29 1022.27,-1420.63 1026.6,-1420.78 1026.6,-1420.78 1026.6,-1420.78 1022.27,-1420.63 1027.09,-1416.29 1016.94,-1420.44"/>
<text text-anchor="start" x="790.77" y="-1430.8" font-family="Arial" font-size="10.00">FOREIGN KEY (game_id) REFERENCES game(id)</text>
</g>
<!-- public.terms_of_service -->
<g id="node8" class="node">
<title>public.terms_of_service</title>
<polygon fill="#efefef" stroke="none" points="1253.09,-520.6 1253.09,-556.2 1565.02,-556.2 1565.02,-520.6 1253.09,-520.6"/>
<polygon fill="none" stroke="black" points="1253.09,-520.6 1253.09,-556.2 1565.02,-556.2 1565.02,-520.6 1253.09,-520.6"/>
<text text-anchor="start" x="1260.09" y="-534" font-family="Arial Bold" font-size="18.00">public.terms_of_service</text>
<text text-anchor="start" x="1433.53" y="-534" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="1464.65" y="-534" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="1253.09,-489.8 1253.09,-520.6 1565.02,-520.6 1565.02,-489.8 1253.09,-489.8"/>
<text text-anchor="start" x="1260.09" y="-502" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="1274.87" y="-502" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
</g>
<!-- public.match_player&#45;&gt;public.terms_of_service -->
<g id="edge9" class="edge">
<title>public.match_player:terms_of_service_id&#45;&gt;public.terms_of_service:id</title>
<path fill="none" stroke="black" d="M1366.9,-1327.47C1523,-1296.56 1071.28,-505.2 1252.09,-505.2"/>
<polygon fill="black" stroke="black" points="1367.13,-1327.45 1356.76,-1323.89 1361.82,-1327.94 1357.5,-1328.34 1357.5,-1328.34 1357.5,-1328.34 1361.82,-1327.94 1357.58,-1332.85 1367.13,-1327.45"/>
<text text-anchor="start" x="1363.84" y="-1338.4" font-family="Arial" font-size="10.00">FOREIGN KEY (terms_of_service_id) REFERENCES terms_of_service(id)</text>
</g>
<!-- public.discount -->
<g id="node9" class="node">
<title>public.discount</title>
<polygon fill="#efefef" stroke="none" points="1669.51,-767 1669.51,-802.6 2072.6,-802.6 2072.6,-767 1669.51,-767"/>
<polygon fill="none" stroke="black" points="1669.51,-767 1669.51,-802.6 2072.6,-802.6 2072.6,-767 1669.51,-767"/>
<text text-anchor="start" x="1753.57" y="-780.4" font-family="Arial Bold" font-size="18.00">public.discount</text>
<text text-anchor="start" x="1864.05" y="-780.4" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="1895.17" y="-780.4" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="1669.51,-736.2 1669.51,-767 2072.6,-767 2072.6,-736.2 1669.51,-736.2"/>
<text text-anchor="start" x="1676.51" y="-748.4" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="1691.3" y="-748.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="1669.51,-705.4 1669.51,-736.2 2072.6,-736.2 2072.6,-705.4 1669.51,-705.4"/>
<text text-anchor="start" x="1676.51" y="-717.6" font-family="Arial" font-size="14.00">group_id </text>
<text text-anchor="start" x="1734.89" y="-717.6" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="1669.51,-674.6 1669.51,-705.4 2072.6,-705.4 2072.6,-674.6 1669.51,-674.6"/>
<text text-anchor="start" x="1676.51" y="-686.8" font-family="Arial" font-size="14.00">created_at </text>
<text text-anchor="start" x="1746.56" y="-686.8" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="1669.51,-643.8 1669.51,-674.6 2072.6,-674.6 2072.6,-643.8 1669.51,-643.8"/>
<text text-anchor="start" x="1676.51" y="-656" font-family="Arial" font-size="14.00">valid_from </text>
<text text-anchor="start" x="1744.98" y="-656" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="1669.51,-613 1669.51,-643.8 2072.6,-643.8 2072.6,-613 1669.51,-613"/>
<text text-anchor="start" x="1676.51" y="-625.2" font-family="Arial" font-size="14.00">valid_till </text>
<text text-anchor="start" x="1730.2" y="-625.2" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="1669.51,-582.2 1669.51,-613 2072.6,-613 2072.6,-582.2 1669.51,-582.2"/>
<text text-anchor="start" x="1676.51" y="-594.4" font-family="Arial" font-size="14.00">percentage </text>
<text text-anchor="start" x="1750.45" y="-594.4" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
<polygon fill="none" stroke="black" points="1669.51,-551.4 1669.51,-582.2 2072.6,-582.2 2072.6,-551.4 1669.51,-551.4"/>
<text text-anchor="start" x="1676.51" y="-563.6" font-family="Arial" font-size="14.00">is_enabled </text>
<text text-anchor="start" x="1748.12" y="-563.6" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="1669.51,-520.6 1669.51,-551.4 2072.6,-551.4 2072.6,-520.6 1669.51,-520.6"/>
<text text-anchor="start" x="1676.51" y="-532.8" font-family="Arial" font-size="14.00">applicable_on_days </text>
<text text-anchor="start" x="1804.16" y="-532.8" font-family="Arial" font-size="14.00" fill="#666666">[text]</text>
<polygon fill="none" stroke="black" points="1669.51,-489.8 1669.51,-520.6 2072.6,-520.6 2072.6,-489.8 1669.51,-489.8"/>
<text text-anchor="start" x="1676.51" y="-502" font-family="Arial" font-size="14.00">applicable_from_time </text>
<text text-anchor="start" x="1813.47" y="-502" font-family="Arial" font-size="14.00" fill="#666666">[time(0) without time zone]</text>
<polygon fill="none" stroke="black" points="1669.51,-459 1669.51,-489.8 2072.6,-489.8 2072.6,-459 1669.51,-459"/>
<text text-anchor="start" x="1676.51" y="-471.2" font-family="Arial" font-size="14.00">applicable_till_time </text>
<text text-anchor="start" x="1798.69" y="-471.2" font-family="Arial" font-size="14.00" fill="#666666">[time(0) without time zone]</text>
<polygon fill="none" stroke="black" points="1669.51,-428.2 1669.51,-459 2072.6,-459 2072.6,-428.2 1669.51,-428.2"/>
<text text-anchor="start" x="1676.51" y="-440.4" font-family="Arial" font-size="14.00">applicable_on_sports </text>
<text text-anchor="start" x="1812.72" y="-440.4" font-family="Arial" font-size="14.00" fill="#666666">[text]</text>
<polygon fill="none" stroke="black" points="1669.51,-397.4 1669.51,-428.2 2072.6,-428.2 2072.6,-397.4 1669.51,-397.4"/>
<text text-anchor="start" x="1676.51" y="-409.6" font-family="Arial" font-size="14.00">applicable_on_locations </text>
<text text-anchor="start" x="1829.85" y="-409.6" font-family="Arial" font-size="14.00" fill="#666666">[text]</text>
<polygon fill="none" stroke="black" points="1669.51,-366.6 1669.51,-397.4 2072.6,-397.4 2072.6,-366.6 1669.51,-366.6"/>
<text text-anchor="start" x="1676.51" y="-378.8" font-family="Arial" font-size="14.00">max_playable_hours_in_validity_period </text>
<text text-anchor="start" x="1925.56" y="-378.8" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
<polygon fill="none" stroke="black" points="1669.51,-335.8 1669.51,-366.6 2072.6,-366.6 2072.6,-335.8 1669.51,-335.8"/>
<text text-anchor="start" x="1676.51" y="-348" font-family="Arial" font-size="14.00">kind </text>
<text text-anchor="start" x="1706.08" y="-348" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="1669.51,-305 1669.51,-335.8 2072.6,-335.8 2072.6,-305 1669.51,-305"/>
<text text-anchor="start" x="1676.51" y="-317.2" font-family="Arial" font-size="14.00">played_hours_in_validity_period </text>
<text text-anchor="start" x="1880.43" y="-317.2" font-family="Arial" font-size="14.00" fill="#666666">[double precision]</text>
<polygon fill="none" stroke="black" points="1669.51,-274.2 1669.51,-305 2072.6,-305 2072.6,-274.2 1669.51,-274.2"/>
<text text-anchor="start" x="1676.51" y="-286.4" font-family="Arial" font-size="14.00">played_hours_last_computed_at </text>
<text text-anchor="start" x="1882.76" y="-286.4" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="1669.51,-243.4 1669.51,-274.2 2072.6,-274.2 2072.6,-243.4 1669.51,-243.4"/>
<text text-anchor="start" x="1676.51" y="-255.6" font-family="Arial" font-size="14.00">origin </text>
<text text-anchor="start" x="1714.64" y="-255.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
</g>
<!-- public.match_player&#45;&gt;public.discount -->
<g id="edge10" class="edge">
<title>public.match_player:discount_id&#45;&gt;public.discount:id</title>
<path fill="none" stroke="black" d="M1367.25,-1174.34C1488.77,-1172.97 1541.87,-1146.41 1617.05,-1046 1656.86,-992.84 1602.1,-751.6 1668.51,-751.6"/>
<polygon fill="black" stroke="black" points="1367.17,-1174.34 1357.15,-1169.9 1361.84,-1174.37 1357.51,-1174.4 1357.51,-1174.4 1357.51,-1174.4 1361.84,-1174.37 1357.2,-1178.9 1367.17,-1174.34"/>
<text text-anchor="start" x="1363.84" y="-1184.4" font-family="Arial" font-size="10.00">FOREIGN KEY (discount_id) REFERENCES discount(id)</text>
</g>
<!-- public.cart -->
<g id="node2" class="node">
<title>public.cart</title>
<polygon fill="#efefef" stroke="none" points="97.58,-1936 97.58,-1971.6 312.53,-1971.6 312.53,-1936 97.58,-1936"/>
<polygon fill="none" stroke="black" points="97.58,-1936 97.58,-1971.6 312.53,-1971.6 312.53,-1936 97.58,-1936"/>
<text text-anchor="start" x="104.58" y="-1949.4" font-family="Arial Bold" font-size="18.00">public.cart</text>
<text text-anchor="start" x="181.04" y="-1949.4" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="212.16" y="-1949.4" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="97.58,-1905.2 97.58,-1936 312.53,-1936 312.53,-1905.2 97.58,-1905.2"/>
<text text-anchor="start" x="104.58" y="-1917.4" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="119.36" y="-1917.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="97.58,-1874.4 97.58,-1905.2 312.53,-1905.2 312.53,-1874.4 97.58,-1874.4"/>
<text text-anchor="start" x="104.58" y="-1886.6" font-family="Arial" font-size="14.00">event_registration_id </text>
<text text-anchor="start" x="238.44" y="-1886.6" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="97.58,-1843.6 97.58,-1874.4 312.53,-1874.4 312.53,-1843.6 97.58,-1843.6"/>
<text text-anchor="start" x="104.58" y="-1855.8" font-family="Arial" font-size="14.00">match_player_id </text>
<text text-anchor="start" x="211.19" y="-1855.8" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
</g>
<!-- public.cart&#45;&gt;public.match_player -->
<g id="edge1" class="edge">
<title>public.cart:match_player_id&#45;&gt;public.match_player:id</title>
<path fill="none" stroke="black" d="M323.74,-1858.46C415.2,-1848.1 289.08,-1690.81 365.05,-1615.6 471.73,-1510 877.17,-1482.4 1027.27,-1482.4"/>
<polygon fill="black" stroke="black" points="323.85,-1858.46 313.63,-1854.49 318.52,-1858.74 314.2,-1858.96 314.2,-1858.96 314.2,-1858.96 318.52,-1858.74 314.1,-1863.48 323.85,-1858.46"/>
<text text-anchor="start" x="7" y="-1869" font-family="Arial" font-size="10.00">FOREIGN KEY (match_player_id) REFERENCES match_player(id)</text>
</g>
<!-- public.player_equipment -->
<g id="node3" class="node">
<title>public.player_equipment</title>
<polygon fill="#efefef" stroke="none" points="417.09,-1997.6 417.09,-2033.2 735.02,-2033.2 735.02,-1997.6 417.09,-1997.6"/>
<polygon fill="none" stroke="black" points="417.09,-1997.6 417.09,-2033.2 735.02,-2033.2 735.02,-1997.6 417.09,-1997.6"/>
<text text-anchor="start" x="424.09" y="-2011" font-family="Arial Bold" font-size="18.00">public.player_equipment</text>
<text text-anchor="start" x="603.53" y="-2011" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="634.65" y="-2011" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="417.09,-1966.8 417.09,-1997.6 735.02,-1997.6 735.02,-1966.8 417.09,-1966.8"/>
<text text-anchor="start" x="424.09" y="-1979" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="438.87" y="-1979" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="417.09,-1936 417.09,-1966.8 735.02,-1966.8 735.02,-1936 417.09,-1936"/>
<text text-anchor="start" x="424.09" y="-1948.2" font-family="Arial" font-size="14.00">equipment_id </text>
<text text-anchor="start" x="512.04" y="-1948.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="417.09,-1905.2 417.09,-1936 735.02,-1936 735.02,-1905.2 417.09,-1905.2"/>
<text text-anchor="start" x="424.09" y="-1917.4" font-family="Arial" font-size="14.00">player_id </text>
<text text-anchor="start" x="484.79" y="-1917.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="417.09,-1874.4 417.09,-1905.2 735.02,-1905.2 735.02,-1874.4 417.09,-1874.4"/>
<text text-anchor="start" x="424.09" y="-1886.6" font-family="Arial" font-size="14.00">type </text>
<text text-anchor="start" x="454.44" y="-1886.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="417.09,-1843.6 417.09,-1874.4 735.02,-1874.4 735.02,-1843.6 417.09,-1843.6"/>
<text text-anchor="start" x="424.09" y="-1855.8" font-family="Arial" font-size="14.00">name </text>
<text text-anchor="start" x="463" y="-1855.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="417.09,-1812.8 417.09,-1843.6 735.02,-1843.6 735.02,-1812.8 417.09,-1812.8"/>
<text text-anchor="start" x="424.09" y="-1825" font-family="Arial" font-size="14.00">rental_fee_amount </text>
<text text-anchor="start" x="544.73" y="-1825" font-family="Arial" font-size="14.00" fill="#666666">[bigint]</text>
<polygon fill="none" stroke="black" points="417.09,-1782 417.09,-1812.8 735.02,-1812.8 735.02,-1782 417.09,-1782"/>
<text text-anchor="start" x="424.09" y="-1794.2" font-family="Arial" font-size="14.00">rental_fee_currency </text>
<text text-anchor="start" x="551.71" y="-1794.2" font-family="Arial" font-size="14.00" fill="#666666">[character(3)]</text>
</g>
<!-- public.player_equipment&#45;&gt;public.match_player -->
<g id="edge2" class="edge">
<title>public.player_equipment:player_id&#45;&gt;public.match_player:id</title>
<path fill="none" stroke="black" d="M746.2,-1918.44C798.76,-1893.96 749.57,-1668.65 787.05,-1615.6 857.5,-1515.9 905.19,-1482.4 1027.27,-1482.4"/>
<polygon fill="black" stroke="black" points="746.13,-1918.45 735.41,-1916.13 740.91,-1919.56 736.68,-1920.46 736.68,-1920.46 736.68,-1920.46 740.91,-1919.56 737.28,-1924.93 746.13,-1918.45"/>
<text text-anchor="start" x="743.02" y="-1930.6" font-family="Arial" font-size="10.00">FOREIGN KEY (player_id) REFERENCES match_player(id)</text>
</g>
<!-- public.refund -->
<g id="node4" class="node">
<title>public.refund</title>
<polygon fill="#efefef" stroke="none" points="839.08,-2120.8 839.08,-2156.4 1169.03,-2156.4 1169.03,-2120.8 839.08,-2120.8"/>
<polygon fill="none" stroke="black" points="839.08,-2120.8 839.08,-2156.4 1169.03,-2156.4 1169.03,-2120.8 839.08,-2120.8"/>
<text text-anchor="start" x="893.58" y="-2134.2" font-family="Arial Bold" font-size="18.00">public.refund</text>
<text text-anchor="start" x="990.04" y="-2134.2" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="1021.16" y="-2134.2" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="839.08,-2090 839.08,-2120.8 1169.03,-2120.8 1169.03,-2090 839.08,-2090"/>
<text text-anchor="start" x="846.08" y="-2102.2" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="860.87" y="-2102.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="839.08,-2059.2 839.08,-2090 1169.03,-2090 1169.03,-2059.2 839.08,-2059.2"/>
<text text-anchor="start" x="846.08" y="-2071.4" font-family="Arial" font-size="14.00">player_id </text>
<text text-anchor="start" x="906.78" y="-2071.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="839.08,-2028.4 839.08,-2059.2 1169.03,-2059.2 1169.03,-2028.4 839.08,-2028.4"/>
<text text-anchor="start" x="846.08" y="-2040.6" font-family="Arial" font-size="14.00">status </text>
<text text-anchor="start" x="887.32" y="-2040.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="839.08,-1997.6 839.08,-2028.4 1169.03,-2028.4 1169.03,-1997.6 839.08,-1997.6"/>
<text text-anchor="start" x="846.08" y="-2009.8" font-family="Arial" font-size="14.00">refunded_at </text>
<text text-anchor="start" x="924.7" y="-2009.8" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="839.08,-1966.8 839.08,-1997.6 1169.03,-1997.6 1169.03,-1966.8 839.08,-1966.8"/>
<text text-anchor="start" x="846.08" y="-1979" font-family="Arial" font-size="14.00">stripe_refund_id </text>
<text text-anchor="start" x="950.37" y="-1979" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="839.08,-1936 839.08,-1966.8 1169.03,-1966.8 1169.03,-1936 839.08,-1936"/>
<text text-anchor="start" x="846.08" y="-1948.2" font-family="Arial" font-size="14.00">total_amount </text>
<text text-anchor="start" x="930.91" y="-1948.2" font-family="Arial" font-size="14.00" fill="#666666">[bigint]</text>
<polygon fill="none" stroke="black" points="839.08,-1905.2 839.08,-1936 1169.03,-1936 1169.03,-1905.2 839.08,-1905.2"/>
<text text-anchor="start" x="846.08" y="-1917.4" font-family="Arial" font-size="14.00">total_currency </text>
<text text-anchor="start" x="937.9" y="-1917.4" font-family="Arial" font-size="14.00" fill="#666666">[character(3)]</text>
<polygon fill="none" stroke="black" points="839.08,-1874.4 839.08,-1905.2 1169.03,-1905.2 1169.03,-1874.4 839.08,-1874.4"/>
<text text-anchor="start" x="846.08" y="-1886.6" font-family="Arial" font-size="14.00">created_at </text>
<text text-anchor="start" x="916.13" y="-1886.6" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="839.08,-1843.6 839.08,-1874.4 1169.03,-1874.4 1169.03,-1843.6 839.08,-1843.6"/>
<text text-anchor="start" x="846.08" y="-1855.8" font-family="Arial" font-size="14.00">voucher_id </text>
<text text-anchor="start" x="918.46" y="-1855.8" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="839.08,-1812.8 839.08,-1843.6 1169.03,-1843.6 1169.03,-1812.8 839.08,-1812.8"/>
<text text-anchor="start" x="846.08" y="-1825" font-family="Arial" font-size="14.00">refunded_amount_voucher_amount </text>
<text text-anchor="start" x="1071.79" y="-1825" font-family="Arial" font-size="14.00" fill="#666666">[bigint]</text>
<polygon fill="none" stroke="black" points="839.08,-1782 839.08,-1812.8 1169.03,-1812.8 1169.03,-1782 839.08,-1782"/>
<text text-anchor="start" x="846.08" y="-1794.2" font-family="Arial" font-size="14.00">refunded_amount_voucher_currency </text>
<text text-anchor="start" x="1078.78" y="-1794.2" font-family="Arial" font-size="14.00" fill="#666666">[character(3)]</text>
<polygon fill="none" stroke="black" points="839.08,-1751.2 839.08,-1782 1169.03,-1782 1169.03,-1751.2 839.08,-1751.2"/>
<text text-anchor="start" x="846.08" y="-1763.4" font-family="Arial" font-size="14.00">refunded_amount_online_amount </text>
<text text-anchor="start" x="1059.35" y="-1763.4" font-family="Arial" font-size="14.00" fill="#666666">[bigint]</text>
<polygon fill="none" stroke="black" points="839.08,-1720.4 839.08,-1751.2 1169.03,-1751.2 1169.03,-1720.4 839.08,-1720.4"/>
<text text-anchor="start" x="846.08" y="-1732.6" font-family="Arial" font-size="14.00">refunded_amount_online_currency </text>
<text text-anchor="start" x="1066.34" y="-1732.6" font-family="Arial" font-size="14.00" fill="#666666">[character(3)]</text>
<polygon fill="none" stroke="black" points="839.08,-1689.6 839.08,-1720.4 1169.03,-1720.4 1169.03,-1689.6 839.08,-1689.6"/>
<text text-anchor="start" x="846.08" y="-1701.8" font-family="Arial" font-size="14.00">strategy </text>
<text text-anchor="start" x="899.77" y="-1701.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="839.08,-1658.8 839.08,-1689.6 1169.03,-1689.6 1169.03,-1658.8 839.08,-1658.8"/>
<text text-anchor="start" x="846.08" y="-1671" font-family="Arial" font-size="14.00">event_registration_id </text>
<text text-anchor="start" x="979.94" y="-1671" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
</g>
<!-- public.refund&#45;&gt;public.match_player -->
<g id="edge3" class="edge">
<title>public.refund:player_id&#45;&gt;public.match_player:id</title>
<path fill="none" stroke="black" d="M1179.01,-2069.59C1218.32,-2022.19 1198.33,-1653.26 1169.03,-1615.6 1129.37,-1564.64 1068.13,-1630.4 1028.27,-1579.6 1001.6,-1545.61 984.07,-1482.4 1027.27,-1482.4"/>
<polygon fill="black" stroke="black" points="1179.06,-2069.57 1168.13,-2070.51 1174.4,-2072.17 1170.61,-2074.27 1170.61,-2074.27 1170.61,-2074.27 1174.4,-2072.17 1172.51,-2078.37 1179.06,-2069.57"/>
<text text-anchor="start" x="1177.03" y="-2084.6" font-family="Arial" font-size="10.00">FOREIGN KEY (player_id) REFERENCES match_player(id)</text>
</g>
<!-- public.slot -->
<g id="node5" class="node">
<title>public.slot</title>
<polygon fill="#efefef" stroke="none" points="1273.06,-2028.4 1273.06,-2064 1487.05,-2064 1487.05,-2028.4 1273.06,-2028.4"/>
<polygon fill="none" stroke="black" points="1273.06,-2028.4 1273.06,-2064 1487.05,-2064 1487.05,-2028.4 1273.06,-2028.4"/>
<text text-anchor="start" x="1280.06" y="-2041.8" font-family="Arial Bold" font-size="18.00">public.slot</text>
<text text-anchor="start" x="1355.56" y="-2041.8" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="1386.68" y="-2041.8" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="1273.06,-1997.6 1273.06,-2028.4 1487.05,-2028.4 1487.05,-1997.6 1273.06,-1997.6"/>
<text text-anchor="start" x="1280.06" y="-2009.8" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="1294.85" y="-2009.8" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="1273.06,-1966.8 1273.06,-1997.6 1487.05,-1997.6 1487.05,-1966.8 1273.06,-1966.8"/>
<text text-anchor="start" x="1280.06" y="-1979" font-family="Arial" font-size="14.00">game_id </text>
<text text-anchor="start" x="1337.65" y="-1979" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="1273.06,-1936 1273.06,-1966.8 1487.05,-1966.8 1487.05,-1936 1273.06,-1936"/>
<text text-anchor="start" x="1280.06" y="-1948.2" font-family="Arial" font-size="14.00">player_id </text>
<text text-anchor="start" x="1340.76" y="-1948.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="1273.06,-1905.2 1273.06,-1936 1487.05,-1936 1487.05,-1905.2 1273.06,-1905.2"/>
<text text-anchor="start" x="1280.06" y="-1917.4" font-family="Arial" font-size="14.00">index </text>
<text text-anchor="start" x="1317.42" y="-1917.4" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
<polygon fill="none" stroke="black" points="1273.06,-1874.4 1273.06,-1905.2 1487.05,-1905.2 1487.05,-1874.4 1273.06,-1874.4"/>
<text text-anchor="start" x="1280.06" y="-1886.6" font-family="Arial" font-size="14.00">fee_amount </text>
<text text-anchor="start" x="1357.89" y="-1886.6" font-family="Arial" font-size="14.00" fill="#666666">[bigint]</text>
<polygon fill="none" stroke="black" points="1273.06,-1843.6 1273.06,-1874.4 1487.05,-1874.4 1487.05,-1843.6 1273.06,-1843.6"/>
<text text-anchor="start" x="1280.06" y="-1855.8" font-family="Arial" font-size="14.00">fee_currency </text>
<text text-anchor="start" x="1364.88" y="-1855.8" font-family="Arial" font-size="14.00" fill="#666666">[character(3)]</text>
<polygon fill="none" stroke="black" points="1273.06,-1812.8 1273.06,-1843.6 1487.05,-1843.6 1487.05,-1812.8 1273.06,-1812.8"/>
<text text-anchor="start" x="1280.06" y="-1825" font-family="Arial" font-size="14.00">expected_payment_by_id </text>
<text text-anchor="start" x="1443.51" y="-1825" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="1273.06,-1782 1273.06,-1812.8 1487.05,-1812.8 1487.05,-1782 1273.06,-1782"/>
<text text-anchor="start" x="1280.06" y="-1794.2" font-family="Arial" font-size="14.00">paid_by_id </text>
<text text-anchor="start" x="1351.67" y="-1794.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="1273.06,-1751.2 1273.06,-1782 1487.05,-1782 1487.05,-1751.2 1273.06,-1751.2"/>
<text text-anchor="start" x="1280.06" y="-1763.4" font-family="Arial" font-size="14.00">title </text>
<text text-anchor="start" x="1305.74" y="-1763.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
</g>
<!-- public.slot&#45;&gt;public.match_player -->
<g id="edge4" class="edge">
<title>public.slot:expected_payment_by_id&#45;&gt;public.match_player:id</title>
<path fill="none" stroke="black" d="M1262.12,-1827.21C1224.02,-1818.58 1258.84,-1755.59 1273.06,-1708 1292.51,-1642.95 1336.33,-1644.63 1355.84,-1579.6 1368.25,-1538.22 1400.04,-1482.4 1356.84,-1482.4"/>
<polygon fill="black" stroke="black" points="1261.78,-1827.17 1271.28,-1832.64 1267.09,-1827.7 1271.39,-1828.13 1271.39,-1828.13 1271.39,-1828.13 1267.09,-1827.7 1272.18,-1823.69 1261.78,-1827.17"/>
<text text-anchor="start" x="1279.06" y="-1838.2" font-family="Arial" font-size="10.00">FOREIGN KEY (expected_payment_by_id) REFERENCES match_player(id)</text>
</g>
<!-- public.slot&#45;&gt;public.match_player -->
<g id="edge5" class="edge">
<title>public.slot:paid_by_id&#45;&gt;public.match_player:id</title>
<path fill="none" stroke="black" d="M1261.66,-1796.75C1146.48,-1781.01 1498,-1482.4 1356.84,-1482.4"/>
<polygon fill="black" stroke="black" points="1261.75,-1796.76 1271.45,-1801.87 1267.07,-1797.09 1271.39,-1797.36 1271.39,-1797.36 1271.39,-1797.36 1267.07,-1797.09 1272.01,-1792.89 1261.75,-1796.76"/>
<text text-anchor="start" x="1279.06" y="-1807.4" font-family="Arial" font-size="10.00">FOREIGN KEY (paid_by_id) REFERENCES match_player(id)</text>
</g>
<!-- public.slot&#45;&gt;public.match_player -->
<g id="edge6" class="edge">
<title>public.slot:player_id&#45;&gt;public.match_player:id</title>
<path fill="none" stroke="black" d="M1262,-1948.67C1223.43,-1925.15 1258.76,-1756.21 1273.06,-1708 1292.37,-1642.91 1336.33,-1644.63 1355.84,-1579.6 1368.25,-1538.22 1400.04,-1482.4 1356.84,-1482.4"/>
<polygon fill="black" stroke="black" points="1262.09,-1948.7 1270.56,-1955.66 1267.23,-1950.09 1271.41,-1951.23 1271.41,-1951.23 1271.41,-1951.23 1267.23,-1950.09 1272.91,-1946.97 1262.09,-1948.7"/>
<text text-anchor="start" x="1279.06" y="-1961.4" font-family="Arial" font-size="10.00">FOREIGN KEY (player_id) REFERENCES match_player(id)</text>
</g>
</g>
</svg>
