<?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.payment_intent Pages: 1 -->
<svg width="1020pt" height="1403pt"
 viewBox="0.00 0.00 1019.62 1402.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 1398.8)">
<title>public.payment_intent</title>
<polygon fill="white" stroke="none" points="-4,4 -4,-1398.8 1015.62,-1398.8 1015.62,4 -4,4"/>
<!-- public.payment_intent -->
<g id="node1" class="node">
<title>public.payment_intent</title>
<polygon fill="#efefef" stroke="none" points="352.71,-1313 352.71,-1348.6 652.67,-1348.6 652.67,-1313 352.71,-1313"/>
<polygon fill="none" stroke="black" points="352.71,-1313 352.71,-1348.6 652.67,-1348.6 652.67,-1313 352.71,-1313"/>
<text text-anchor="start" x="359.71" y="-1326.4" font-family="Arial Bold" font-size="18.00">public.payment_intent</text>
<text text-anchor="start" x="521.18" y="-1326.4" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="552.3" y="-1326.4" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="352.71,-1282.2 352.71,-1313 652.67,-1313 652.67,-1282.2 352.71,-1282.2"/>
<text text-anchor="start" x="359.71" y="-1294.4" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="374.5" y="-1294.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="352.71,-1251.4 352.71,-1282.2 652.67,-1282.2 652.67,-1251.4 352.71,-1251.4"/>
<text text-anchor="start" x="359.71" y="-1263.6" font-family="Arial" font-size="14.00">user_id </text>
<text text-anchor="start" x="409.52" y="-1263.6" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="352.71,-1220.6 352.71,-1251.4 652.67,-1251.4 652.67,-1220.6 352.71,-1220.6"/>
<text text-anchor="start" x="359.71" y="-1232.8" font-family="Arial" font-size="14.00">match_id </text>
<text text-anchor="start" x="420.41" y="-1232.8" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="352.71,-1189.8 352.71,-1220.6 652.67,-1220.6 652.67,-1189.8 352.71,-1189.8"/>
<text text-anchor="start" x="359.71" y="-1202" font-family="Arial" font-size="14.00">total_in_cents </text>
<text text-anchor="start" x="450" y="-1202" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="352.71,-1159 352.71,-1189.8 652.67,-1189.8 652.67,-1159 352.71,-1159"/>
<text text-anchor="start" x="359.71" y="-1171.2" font-family="Arial" font-size="14.00">currency </text>
<text text-anchor="start" x="417.29" y="-1171.2" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="352.71,-1128.2 352.71,-1159 652.67,-1159 652.67,-1128.2 352.71,-1128.2"/>
<text text-anchor="start" x="359.71" y="-1140.4" font-family="Arial" font-size="14.00">stripe_client_secret </text>
<text text-anchor="start" x="484.22" y="-1140.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" stroke-width="3" points="351.21,-1126.7 351.21,-1350.1 654.17,-1350.1 654.17,-1126.7 351.21,-1126.7"/>
</g>
<!-- public.user -->
<g id="node2" class="node">
<title>public.user</title>
<polygon fill="#efefef" stroke="none" points="68.82,-813.2 68.82,-848.8 462.56,-848.8 462.56,-813.2 68.82,-813.2"/>
<polygon fill="none" stroke="black" points="68.82,-813.2 68.82,-848.8 462.56,-848.8 462.56,-813.2 68.82,-813.2"/>
<text text-anchor="start" x="163.71" y="-826.6" font-family="Arial Bold" font-size="18.00">public.user</text>
<text text-anchor="start" x="243.19" y="-826.6" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="274.3" y="-826.6" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="68.82,-782.4 68.82,-813.2 462.56,-813.2 462.56,-782.4 68.82,-782.4"/>
<text text-anchor="start" x="75.82" y="-794.6" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="90.61" y="-794.6" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="68.82,-751.6 68.82,-782.4 462.56,-782.4 462.56,-751.6 68.82,-751.6"/>
<text text-anchor="start" x="75.82" y="-763.8" font-family="Arial" font-size="14.00">first_name </text>
<text text-anchor="start" x="145.07" y="-763.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="68.82,-720.8 68.82,-751.6 462.56,-751.6 462.56,-720.8 68.82,-720.8"/>
<text text-anchor="start" x="75.82" y="-733" font-family="Arial" font-size="14.00">last_name </text>
<text text-anchor="start" x="144.3" y="-733" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="68.82,-690 68.82,-720.8 462.56,-720.8 462.56,-690 68.82,-690"/>
<text text-anchor="start" x="75.82" y="-702.2" font-family="Arial" font-size="14.00">email </text>
<text text-anchor="start" x="113.16" y="-702.2" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="68.82,-659.2 68.82,-690 462.56,-690 462.56,-659.2 68.82,-659.2"/>
<text text-anchor="start" x="75.82" y="-671.4" font-family="Arial" font-size="14.00">gender </text>
<text text-anchor="start" x="123.3" y="-671.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="68.82,-628.4 68.82,-659.2 462.56,-659.2 462.56,-628.4 68.82,-628.4"/>
<text text-anchor="start" x="75.82" y="-640.6" font-family="Arial" font-size="14.00">birthday </text>
<text text-anchor="start" x="129.52" y="-640.6" font-family="Arial" font-size="14.00" fill="#666666">[date]</text>
<polygon fill="none" stroke="black" points="68.82,-597.6 68.82,-628.4 462.56,-628.4 462.56,-597.6 68.82,-597.6"/>
<text text-anchor="start" x="75.82" y="-609.8" font-family="Arial" font-size="14.00">skill_level </text>
<text text-anchor="start" x="139.62" y="-609.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="68.82,-566.8 68.82,-597.6 462.56,-597.6 462.56,-566.8 68.82,-566.8"/>
<text text-anchor="start" x="75.82" y="-579" font-family="Arial" font-size="14.00">is_age_public </text>
<text text-anchor="start" x="165.33" y="-579" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="68.82,-536 68.82,-566.8 462.56,-566.8 462.56,-536 68.82,-536"/>
<text text-anchor="start" x="75.82" y="-548.2" font-family="Arial" font-size="14.00">profile_image_path </text>
<text text-anchor="start" x="198.79" y="-548.2" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="68.82,-505.2 68.82,-536 462.56,-536 462.56,-505.2 68.82,-505.2"/>
<text text-anchor="start" x="75.82" y="-517.4" font-family="Arial" font-size="14.00">is_marketing_consent_granted </text>
<text text-anchor="start" x="271.16" y="-517.4" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="68.82,-474.4 68.82,-505.2 462.56,-505.2 462.56,-474.4 68.82,-474.4"/>
<text text-anchor="start" x="75.82" y="-486.6" font-family="Arial" font-size="14.00">marketing_consent_granted_at </text>
<text text-anchor="start" x="272.73" y="-486.6" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="68.82,-443.6 68.82,-474.4 462.56,-474.4 462.56,-443.6 68.82,-443.6"/>
<text text-anchor="start" x="75.82" y="-455.8" font-family="Arial" font-size="14.00">get_stream_token </text>
<text text-anchor="start" x="191.78" y="-455.8" font-family="Arial" font-size="14.00" fill="#666666">[text]</text>
<polygon fill="none" stroke="black" points="68.82,-412.8 68.82,-443.6 462.56,-443.6 462.56,-412.8 68.82,-412.8"/>
<text text-anchor="start" x="75.82" y="-425" font-family="Arial" font-size="14.00">email_address_id </text>
<text text-anchor="start" x="189.44" y="-425" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="68.82,-382 68.82,-412.8 462.56,-412.8 462.56,-382 68.82,-382"/>
<text text-anchor="start" x="75.82" y="-394.2" font-family="Arial" font-size="14.00">preferred_playing_times </text>
<text text-anchor="start" x="229.9" y="-394.2" font-family="Arial" font-size="14.00" fill="#666666">[text]</text>
<polygon fill="none" stroke="black" points="68.82,-351.2 68.82,-382 462.56,-382 462.56,-351.2 68.82,-351.2"/>
<text text-anchor="start" x="75.82" y="-363.4" font-family="Arial" font-size="14.00">dominant_hands </text>
<text text-anchor="start" x="183.23" y="-363.4" font-family="Arial" font-size="14.00" fill="#666666">[text]</text>
<polygon fill="none" stroke="black" points="68.82,-320.4 68.82,-351.2 462.56,-351.2 462.56,-320.4 68.82,-320.4"/>
<text text-anchor="start" x="75.82" y="-332.6" font-family="Arial" font-size="14.00">locale </text>
<text text-anchor="start" x="116.29" y="-332.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="68.82,-289.6 68.82,-320.4 462.56,-320.4 462.56,-289.6 68.82,-289.6"/>
<text text-anchor="start" x="75.82" y="-301.8" font-family="Arial" font-size="14.00">is_deleted </text>
<text text-anchor="start" x="143.54" y="-301.8" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="68.82,-258.8 68.82,-289.6 462.56,-289.6 462.56,-258.8 68.82,-258.8"/>
<text text-anchor="start" x="75.82" y="-271" font-family="Arial" font-size="14.00">deleted_at </text>
<text text-anchor="start" x="145.1" y="-271" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="68.82,-228 68.82,-258.8 462.56,-258.8 462.56,-228 68.82,-228"/>
<text text-anchor="start" x="75.82" y="-240.2" font-family="Arial" font-size="14.00">created_at </text>
<text text-anchor="start" x="145.87" y="-240.2" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="68.82,-197.2 68.82,-228 462.56,-228 462.56,-197.2 68.82,-197.2"/>
<text text-anchor="start" x="75.82" y="-209.4" font-family="Arial" font-size="14.00">phone_number </text>
<text text-anchor="start" x="173.9" y="-209.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
</g>
<!-- public.payment_intent&#45;&gt;public.user -->
<g id="edge1" class="edge">
<title>public.payment_intent:user_id&#45;&gt;public.user:id</title>
<path fill="none" stroke="black" d="M341.47,-1266.44C186.95,-1254.96 440.02,-974.3 462.56,-892 473.63,-851.62 505.43,-797.8 463.56,-797.8"/>
<polygon fill="black" stroke="black" points="341.39,-1266.43 351.22,-1271.29 346.72,-1266.62 351.05,-1266.78 351.05,-1266.78 351.05,-1266.78 346.72,-1266.62 351.54,-1262.29 341.39,-1266.43"/>
<text text-anchor="start" x="7" y="-1276.8" font-family="Arial" font-size="10.00">FOREIGN KEY (user_id) REFERENCES &quot;user&quot;(id) ON DELETE RESTRICT</text>
</g>
<!-- public.game -->
<g id="node3" class="node">
<title>public.game</title>
<polygon fill="#efefef" stroke="none" points="567.18,-967.2 567.18,-1002.8 914.2,-1002.8 914.2,-967.2 567.18,-967.2"/>
<polygon fill="none" stroke="black" points="567.18,-967.2 567.18,-1002.8 914.2,-1002.8 914.2,-967.2 567.18,-967.2"/>
<text text-anchor="start" x="634.21" y="-980.6" font-family="Arial Bold" font-size="18.00">public.game</text>
<text text-anchor="start" x="722.68" y="-980.6" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="753.8" y="-980.6" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="567.18,-936.4 567.18,-967.2 914.2,-967.2 914.2,-936.4 567.18,-936.4"/>
<text text-anchor="start" x="574.18" y="-948.6" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="588.96" y="-948.6" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="567.18,-905.6 567.18,-936.4 914.2,-936.4 914.2,-905.6 567.18,-905.6"/>
<text text-anchor="start" x="574.18" y="-917.8" font-family="Arial" font-size="14.00">court_id </text>
<text text-anchor="start" x="627.87" y="-917.8" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="567.18,-874.8 567.18,-905.6 914.2,-905.6 914.2,-874.8 567.18,-874.8"/>
<text text-anchor="start" x="574.18" y="-887" font-family="Arial" font-size="14.00">club_id </text>
<text text-anchor="start" x="622.43" y="-887" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="567.18,-844 567.18,-874.8 914.2,-874.8 914.2,-844 567.18,-844"/>
<text text-anchor="start" x="574.18" y="-856.2" font-family="Arial" font-size="14.00">coach_id </text>
<text text-anchor="start" x="634.11" y="-856.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="567.18,-813.2 567.18,-844 914.2,-844 914.2,-813.2 567.18,-813.2"/>
<text text-anchor="start" x="574.18" y="-825.4" font-family="Arial" font-size="14.00">kind </text>
<text text-anchor="start" x="603.75" y="-825.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="567.18,-782.4 567.18,-813.2 914.2,-813.2 914.2,-782.4 567.18,-782.4"/>
<text text-anchor="start" x="574.18" y="-794.6" font-family="Arial" font-size="14.00">phase </text>
<text text-anchor="start" x="616.21" y="-794.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="567.18,-751.6 567.18,-782.4 914.2,-782.4 914.2,-751.6 567.18,-751.6"/>
<text text-anchor="start" x="574.18" y="-763.8" font-family="Arial" font-size="14.00">match_period_starts_at </text>
<text text-anchor="start" x="724.37" y="-763.8" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="567.18,-720.8 567.18,-751.6 914.2,-751.6 914.2,-720.8 567.18,-720.8"/>
<text text-anchor="start" x="574.18" y="-733" font-family="Arial" font-size="14.00">match_period_ends_at </text>
<text text-anchor="start" x="720.5" y="-733" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="567.18,-690 567.18,-720.8 914.2,-720.8 914.2,-690 567.18,-690"/>
<text text-anchor="start" x="574.18" y="-702.2" font-family="Arial" font-size="14.00">court_fee_amount </text>
<text text-anchor="start" x="690.92" y="-702.2" font-family="Arial" font-size="14.00" fill="#666666">[bigint]</text>
<polygon fill="none" stroke="black" points="567.18,-659.2 567.18,-690 914.2,-690 914.2,-659.2 567.18,-659.2"/>
<text text-anchor="start" x="574.18" y="-671.4" font-family="Arial" font-size="14.00">court_fee_currency </text>
<text text-anchor="start" x="697.91" y="-671.4" font-family="Arial" font-size="14.00" fill="#666666">[character(3)]</text>
<polygon fill="none" stroke="black" points="567.18,-628.4 567.18,-659.2 914.2,-659.2 914.2,-628.4 567.18,-628.4"/>
<text text-anchor="start" x="574.18" y="-640.6" font-family="Arial" font-size="14.00">created_at </text>
<text text-anchor="start" x="644.23" y="-640.6" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="567.18,-597.6 567.18,-628.4 914.2,-628.4 914.2,-597.6 567.18,-597.6"/>
<text text-anchor="start" x="574.18" y="-609.8" font-family="Arial" font-size="14.00">cancelled_at </text>
<text text-anchor="start" x="656.68" y="-609.8" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="567.18,-566.8 567.18,-597.6 914.2,-597.6 914.2,-566.8 567.18,-566.8"/>
<text text-anchor="start" x="574.18" y="-579" font-family="Arial" font-size="14.00">scheduled_at </text>
<text text-anchor="start" x="661.36" y="-579" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="567.18,-536 567.18,-566.8 914.2,-566.8 914.2,-536 567.18,-536"/>
<text text-anchor="start" x="574.18" y="-548.2" font-family="Arial" font-size="14.00">terminated_at </text>
<text text-anchor="start" x="663.67" y="-548.2" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="567.18,-505.2 567.18,-536 914.2,-536 914.2,-505.2 567.18,-505.2"/>
<text text-anchor="start" x="574.18" y="-517.4" font-family="Arial" font-size="14.00">cancelled_by_id </text>
<text text-anchor="start" x="678.47" y="-517.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="567.18,-474.4 567.18,-505.2 914.2,-505.2 914.2,-474.4 567.18,-474.4"/>
<text text-anchor="start" x="574.18" y="-486.6" font-family="Arial" font-size="14.00">note </text>
<text text-anchor="start" x="605.32" y="-486.6" font-family="Arial" font-size="14.00" fill="#666666">[text]</text>
<polygon fill="none" stroke="black" points="567.18,-443.6 567.18,-474.4 914.2,-474.4 914.2,-443.6 567.18,-443.6"/>
<text text-anchor="start" x="574.18" y="-455.8" font-family="Arial" font-size="14.00">schedule_till_latest </text>
<text text-anchor="start" x="696.36" y="-455.8" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="567.18,-412.8 567.18,-443.6 914.2,-443.6 914.2,-412.8 567.18,-412.8"/>
<text text-anchor="start" x="574.18" y="-425" font-family="Arial" font-size="14.00">match_period_duration_in_seconds </text>
<text text-anchor="start" x="799.89" y="-425" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
<polygon fill="none" stroke="black" points="567.18,-382 567.18,-412.8 914.2,-412.8 914.2,-382 567.18,-382"/>
<text text-anchor="start" x="574.18" y="-394.2" font-family="Arial" font-size="14.00">day_index </text>
<text text-anchor="start" x="641.9" y="-394.2" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
<polygon fill="none" stroke="black" points="567.18,-351.2 567.18,-382 914.2,-382 914.2,-351.2 567.18,-351.2"/>
<text text-anchor="start" x="574.18" y="-363.4" font-family="Arial" font-size="14.00">day_name </text>
<text text-anchor="start" x="643.45" y="-363.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="567.18,-320.4 567.18,-351.2 914.2,-351.2 914.2,-320.4 567.18,-320.4"/>
<text text-anchor="start" x="574.18" y="-332.6" font-family="Arial" font-size="14.00">running_at </text>
<text text-anchor="start" x="644.23" y="-332.6" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="567.18,-289.6 567.18,-320.4 914.2,-320.4 914.2,-289.6 567.18,-289.6"/>
<text text-anchor="start" x="574.18" y="-301.8" font-family="Arial" font-size="14.00">finished_at </text>
<text text-anchor="start" x="645.78" y="-301.8" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="567.18,-258.8 567.18,-289.6 914.2,-289.6 914.2,-258.8 567.18,-258.8"/>
<text text-anchor="start" x="574.18" y="-271" font-family="Arial" font-size="14.00">confirming_at </text>
<text text-anchor="start" x="662.11" y="-271" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="567.18,-228 567.18,-258.8 914.2,-258.8 914.2,-228 567.18,-228"/>
<text text-anchor="start" x="574.18" y="-240.2" font-family="Arial" font-size="14.00">match_series_id </text>
<text text-anchor="start" x="680.01" y="-240.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="567.18,-197.2 567.18,-228 914.2,-228 914.2,-197.2 567.18,-197.2"/>
<text text-anchor="start" x="574.18" y="-209.4" font-family="Arial" font-size="14.00">created_by_id </text>
<text text-anchor="start" x="666.02" y="-209.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="567.18,-166.4 567.18,-197.2 914.2,-197.2 914.2,-166.4 567.18,-166.4"/>
<text text-anchor="start" x="574.18" y="-178.6" font-family="Arial" font-size="14.00">split_payment_id </text>
<text text-anchor="start" x="683.13" y="-178.6" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="567.18,-135.6 567.18,-166.4 914.2,-166.4 914.2,-135.6 567.18,-135.6"/>
<text text-anchor="start" x="574.18" y="-147.8" font-family="Arial" font-size="14.00">version </text>
<text text-anchor="start" x="623.2" y="-147.8" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
<polygon fill="none" stroke="black" points="567.18,-104.8 567.18,-135.6 914.2,-135.6 914.2,-104.8 567.18,-104.8"/>
<text text-anchor="start" x="574.18" y="-117" font-family="Arial" font-size="14.00">is_split_payment_migrated </text>
<text text-anchor="start" x="744.6" y="-117" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="567.18,-74 567.18,-104.8 914.2,-104.8 914.2,-74 567.18,-74"/>
<text text-anchor="start" x="574.18" y="-86.2" font-family="Arial" font-size="14.00">abandoned_at </text>
<text text-anchor="start" x="667.6" y="-86.2" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="567.18,-43.2 567.18,-74 914.2,-74 914.2,-43.2 567.18,-43.2"/>
<text text-anchor="start" x="574.18" y="-55.4" font-family="Arial" font-size="14.00">reserved_at </text>
<text text-anchor="start" x="652" y="-55.4" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
</g>
<!-- public.payment_intent&#45;&gt;public.game -->
<g id="edge2" class="edge">
<title>public.payment_intent:match_id&#45;&gt;public.game:id</title>
<path fill="none" stroke="black" d="M664.02,-1235.15C718.66,-1225.5 688.63,-1135.79 652.67,-1082 629.75,-1047.73 590.16,-1080.22 567.18,-1046 543.83,-1011.24 524.31,-951.8 566.18,-951.8"/>
<polygon fill="black" stroke="black" points="663.97,-1235.16 653.63,-1231.49 658.65,-1235.59 654.33,-1235.95 654.33,-1235.95 654.33,-1235.95 658.65,-1235.59 654.37,-1240.46 663.97,-1235.16"/>
<text text-anchor="start" x="660.67" y="-1246" font-family="Arial" font-size="10.00">FOREIGN KEY (match_id) REFERENCES game(id) ON DELETE RESTRICT</text>
</g>
</g>
</svg>
