<?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.event_registration Pages: 1 -->
<svg width="1428pt" height="1900pt"
 viewBox="0.00 0.00 1427.75 1899.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 1895.6)">
<title>public.event_registration</title>
<polygon fill="white" stroke="none" points="-4,4 -4,-1895.6 1423.75,-1895.6 1423.75,4 -4,4"/>
<!-- public.event_registration -->
<g id="node1" class="node">
<title>public.event_registration</title>
<polygon fill="#efefef" stroke="none" points="648.81,-1189.8 648.81,-1225.4 966.74,-1225.4 966.74,-1189.8 648.81,-1189.8"/>
<polygon fill="none" stroke="black" points="648.81,-1189.8 648.81,-1225.4 966.74,-1225.4 966.74,-1189.8 648.81,-1189.8"/>
<text text-anchor="start" x="655.81" y="-1203.2" font-family="Arial Bold" font-size="18.00">public.event_registration</text>
<text text-anchor="start" x="835.25" y="-1203.2" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="866.37" y="-1203.2" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="648.81,-1159 648.81,-1189.8 966.74,-1189.8 966.74,-1159 648.81,-1159"/>
<text text-anchor="start" x="655.81" y="-1171.2" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="670.59" y="-1171.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="648.81,-1128.2 648.81,-1159 966.74,-1159 966.74,-1128.2 648.81,-1128.2"/>
<text text-anchor="start" x="655.81" y="-1140.4" font-family="Arial" font-size="14.00">event_id </text>
<text text-anchor="start" x="712.63" y="-1140.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="648.81,-1097.4 648.81,-1128.2 966.74,-1128.2 966.74,-1097.4 648.81,-1097.4"/>
<text text-anchor="start" x="655.81" y="-1109.6" font-family="Arial" font-size="14.00">created_at </text>
<text text-anchor="start" x="725.86" y="-1109.6" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="648.81,-1066.6 648.81,-1097.4 966.74,-1097.4 966.74,-1066.6 648.81,-1066.6"/>
<text text-anchor="start" x="655.81" y="-1078.8" font-family="Arial" font-size="14.00">status </text>
<text text-anchor="start" x="697.05" y="-1078.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="648.81,-1035.8 648.81,-1066.6 966.74,-1066.6 966.74,-1035.8 648.81,-1035.8"/>
<text text-anchor="start" x="655.81" y="-1048" font-family="Arial" font-size="14.00">team_id </text>
<text text-anchor="start" x="709.5" y="-1048" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="648.81,-1005 648.81,-1035.8 966.74,-1035.8 966.74,-1005 648.81,-1005"/>
<text text-anchor="start" x="655.81" y="-1017.2" font-family="Arial" font-size="14.00">created_by_id </text>
<text text-anchor="start" x="747.65" y="-1017.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="648.81,-974.2 648.81,-1005 966.74,-1005 966.74,-974.2 648.81,-974.2"/>
<text text-anchor="start" x="655.81" y="-986.4" font-family="Arial" font-size="14.00">cancelled_by_id </text>
<text text-anchor="start" x="760.1" y="-986.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="648.81,-943.4 648.81,-974.2 966.74,-974.2 966.74,-943.4 648.81,-943.4"/>
<text text-anchor="start" x="655.81" y="-955.6" font-family="Arial" font-size="14.00">cancelled_at </text>
<text text-anchor="start" x="738.31" y="-955.6" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" stroke-width="3" points="647.31,-941.9 647.31,-1226.9 968.24,-1226.9 968.24,-941.9 647.31,-941.9"/>
</g>
<!-- public.club_event -->
<g id="node5" class="node">
<title>public.club_event</title>
<polygon fill="#efefef" stroke="none" points="43.2,-782.4 43.2,-818 386.35,-818 386.35,-782.4 43.2,-782.4"/>
<polygon fill="none" stroke="black" points="43.2,-782.4 43.2,-818 386.35,-818 386.35,-782.4 43.2,-782.4"/>
<text text-anchor="start" x="88.3" y="-795.8" font-family="Arial Bold" font-size="18.00">public.club_event</text>
<text text-anchor="start" x="216.76" y="-795.8" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="247.88" y="-795.8" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="43.2,-751.6 43.2,-782.4 386.35,-782.4 386.35,-751.6 43.2,-751.6"/>
<text text-anchor="start" x="50.2" y="-763.8" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="64.99" y="-763.8" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="43.2,-720.8 43.2,-751.6 386.35,-751.6 386.35,-720.8 43.2,-720.8"/>
<text text-anchor="start" x="50.2" y="-733" font-family="Arial" font-size="14.00">contentful_id </text>
<text text-anchor="start" x="133.48" y="-733" font-family="Arial" font-size="14.00" fill="#666666">[varchar(64)]</text>
<polygon fill="none" stroke="black" points="43.2,-690 43.2,-720.8 386.35,-720.8 386.35,-690 43.2,-690"/>
<text text-anchor="start" x="50.2" y="-702.2" font-family="Arial" font-size="14.00">is_active </text>
<text text-anchor="start" x="108.56" y="-702.2" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="43.2,-659.2 43.2,-690 386.35,-690 386.35,-659.2 43.2,-659.2"/>
<text text-anchor="start" x="50.2" y="-671.4" font-family="Arial" font-size="14.00">club_id </text>
<text text-anchor="start" x="98.45" y="-671.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="43.2,-628.4 43.2,-659.2 386.35,-659.2 386.35,-628.4 43.2,-628.4"/>
<text text-anchor="start" x="50.2" y="-640.6" font-family="Arial" font-size="14.00">template_id </text>
<text text-anchor="start" x="126.47" y="-640.6" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="43.2,-597.6 43.2,-628.4 386.35,-628.4 386.35,-597.6 43.2,-597.6"/>
<text text-anchor="start" x="50.2" y="-609.8" font-family="Arial" font-size="14.00">event_period_starts_at </text>
<text text-anchor="start" x="196.52" y="-609.8" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="43.2,-566.8 43.2,-597.6 386.35,-597.6 386.35,-566.8 43.2,-566.8"/>
<text text-anchor="start" x="50.2" y="-579" font-family="Arial" font-size="14.00">event_period_ends_at </text>
<text text-anchor="start" x="192.65" y="-579" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="43.2,-536 43.2,-566.8 386.35,-566.8 386.35,-536 43.2,-536"/>
<text text-anchor="start" x="50.2" y="-548.2" font-family="Arial" font-size="14.00">event_period_duration_in_seconds </text>
<text text-anchor="start" x="272.03" y="-548.2" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
<polygon fill="none" stroke="black" points="43.2,-505.2 43.2,-536 386.35,-536 386.35,-505.2 43.2,-505.2"/>
<text text-anchor="start" x="50.2" y="-517.4" font-family="Arial" font-size="14.00">price_per_person_amount </text>
<text text-anchor="start" x="217.53" y="-517.4" font-family="Arial" font-size="14.00" fill="#666666">[bigint]</text>
<polygon fill="none" stroke="black" points="43.2,-474.4 43.2,-505.2 386.35,-505.2 386.35,-474.4 43.2,-474.4"/>
<text text-anchor="start" x="50.2" y="-486.6" font-family="Arial" font-size="14.00">price_per_person_currency </text>
<text text-anchor="start" x="224.52" y="-486.6" font-family="Arial" font-size="14.00" fill="#666666">[character(3)]</text>
<polygon fill="none" stroke="black" points="43.2,-443.6 43.2,-474.4 386.35,-474.4 386.35,-443.6 43.2,-443.6"/>
<text text-anchor="start" x="50.2" y="-455.8" font-family="Arial" font-size="14.00">stripe_price_id </text>
<text text-anchor="start" x="145.14" y="-455.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(64)]</text>
<polygon fill="none" stroke="black" points="43.2,-412.8 43.2,-443.6 386.35,-443.6 386.35,-412.8 43.2,-412.8"/>
<text text-anchor="start" x="50.2" y="-425" font-family="Arial" font-size="14.00">status </text>
<text text-anchor="start" x="91.44" y="-425" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="43.2,-382 43.2,-412.8 386.35,-412.8 386.35,-382 43.2,-382"/>
<text text-anchor="start" x="50.2" y="-394.2" font-family="Arial" font-size="14.00">max_confirmed_registrations </text>
<text text-anchor="start" x="233.83" y="-394.2" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
<polygon fill="none" stroke="black" points="43.2,-351.2 43.2,-382 386.35,-382 386.35,-351.2 43.2,-351.2"/>
<text text-anchor="start" x="50.2" y="-363.4" font-family="Arial" font-size="14.00">registration_opens_at </text>
<text text-anchor="start" x="188.74" y="-363.4" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="43.2,-320.4 43.2,-351.2 386.35,-351.2 386.35,-320.4 43.2,-320.4"/>
<text text-anchor="start" x="50.2" y="-332.6" font-family="Arial" font-size="14.00">description </text>
<text text-anchor="start" x="121.79" y="-332.6" font-family="Arial" font-size="14.00" fill="#666666">[text]</text>
<polygon fill="none" stroke="black" points="43.2,-289.6 43.2,-320.4 386.35,-320.4 386.35,-289.6 43.2,-289.6"/>
<text text-anchor="start" x="50.2" y="-301.8" font-family="Arial" font-size="14.00">persons_per_team </text>
<text text-anchor="start" x="170.83" y="-301.8" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
<polygon fill="none" stroke="black" points="43.2,-258.8 43.2,-289.6 386.35,-289.6 386.35,-258.8 43.2,-258.8"/>
<text text-anchor="start" x="50.2" y="-271" font-family="Arial" font-size="14.00">type </text>
<text text-anchor="start" x="80.55" y="-271" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="43.2,-228 43.2,-258.8 386.35,-258.8 386.35,-228 43.2,-228"/>
<text text-anchor="start" x="50.2" y="-240.2" font-family="Arial" font-size="14.00">is_registrations_hidden </text>
<text text-anchor="start" x="198.07" y="-240.2" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="43.2,-197.2 43.2,-228 386.35,-228 386.35,-197.2 43.2,-197.2"/>
<text text-anchor="start" x="50.2" y="-209.4" font-family="Arial" font-size="14.00">registration_closes_at </text>
<text text-anchor="start" x="190.28" y="-209.4" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="43.2,-166.4 43.2,-197.2 386.35,-197.2 386.35,-166.4 43.2,-166.4"/>
<text text-anchor="start" x="50.2" y="-178.6" font-family="Arial" font-size="14.00">free_cancellation_strategy </text>
<text text-anchor="start" x="217.52" y="-178.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="43.2,-135.6 43.2,-166.4 386.35,-166.4 386.35,-135.6 43.2,-135.6"/>
<text text-anchor="start" x="50.2" y="-147.8" font-family="Arial" font-size="14.00">updated_by_id </text>
<text text-anchor="start" x="145.95" y="-147.8" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="43.2,-104.8 43.2,-135.6 386.35,-135.6 386.35,-104.8 43.2,-104.8"/>
<text text-anchor="start" x="50.2" y="-117" font-family="Arial" font-size="14.00">cancellation_reason </text>
<text text-anchor="start" x="178.62" y="-117" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="43.2,-74 43.2,-104.8 386.35,-104.8 386.35,-74 43.2,-74"/>
<text text-anchor="start" x="50.2" y="-86.2" font-family="Arial" font-size="14.00">updated_at </text>
<text text-anchor="start" x="124.16" y="-86.2" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="43.2,-43.2 43.2,-74 386.35,-74 386.35,-43.2 43.2,-43.2"/>
<text text-anchor="start" x="50.2" y="-55.4" font-family="Arial" font-size="14.00">sport_id </text>
<text text-anchor="start" x="103.9" y="-55.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
</g>
<!-- public.event_registration&#45;&gt;public.club_event -->
<g id="edge4" class="edge">
<title>public.event_registration:event_id&#45;&gt;public.club_event:id</title>
<path fill="none" stroke="black" d="M637.55,-1143.37C492.69,-1136.86 519.71,-990.3 437.78,-861.2 412.33,-821.1 434.84,-767 387.35,-767"/>
<polygon fill="black" stroke="black" points="637.48,-1143.37 647.37,-1148.09 642.81,-1143.49 647.14,-1143.59 647.14,-1143.59 647.14,-1143.59 642.81,-1143.49 647.57,-1139.09 637.48,-1143.37"/>
<text text-anchor="start" x="388.5" y="-1153.6" font-family="Arial" font-size="10.00">FOREIGN KEY (event_id) REFERENCES club_event(id)</text>
</g>
<!-- public.team -->
<g id="node6" class="node">
<title>public.team</title>
<polygon fill="#efefef" stroke="none" points="490.29,-428.2 490.29,-463.8 713.26,-463.8 713.26,-428.2 490.29,-428.2"/>
<polygon fill="none" stroke="black" points="490.29,-428.2 490.29,-463.8 713.26,-463.8 713.26,-428.2 490.29,-428.2"/>
<text text-anchor="start" x="497.29" y="-441.6" font-family="Arial Bold" font-size="18.00">public.team</text>
<text text-anchor="start" x="581.77" y="-441.6" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="612.88" y="-441.6" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="490.29,-397.4 490.29,-428.2 713.26,-428.2 713.26,-397.4 490.29,-397.4"/>
<text text-anchor="start" x="497.29" y="-409.6" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="512.08" y="-409.6" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
</g>
<!-- public.event_registration&#45;&gt;public.team -->
<g id="edge5" class="edge">
<title>public.event_registration:team_id&#45;&gt;public.team:id</title>
<path fill="none" stroke="black" d="M637.54,-1049.89C523.38,-1017.98 853.13,-412.8 714.26,-412.8"/>
<polygon fill="black" stroke="black" points="637.56,-1049.89 646.91,-1055.62 642.85,-1050.57 647.14,-1051.12 647.14,-1051.12 647.14,-1051.12 642.85,-1050.57 648.04,-1046.69 637.56,-1049.89"/>
<text text-anchor="start" x="416.87" y="-1061.2" font-family="Arial" font-size="10.00">FOREIGN KEY (team_id) REFERENCES team(id)</text>
</g>
<!-- public.user -->
<g id="node7" class="node">
<title>public.user</title>
<polygon fill="#efefef" stroke="none" points="817.9,-720.8 817.9,-756.4 1211.65,-756.4 1211.65,-720.8 817.9,-720.8"/>
<polygon fill="none" stroke="black" points="817.9,-720.8 817.9,-756.4 1211.65,-756.4 1211.65,-720.8 817.9,-720.8"/>
<text text-anchor="start" x="912.79" y="-734.2" font-family="Arial Bold" font-size="18.00">public.user</text>
<text text-anchor="start" x="992.27" y="-734.2" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="1023.39" y="-734.2" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="817.9,-690 817.9,-720.8 1211.65,-720.8 1211.65,-690 817.9,-690"/>
<text text-anchor="start" x="824.9" y="-702.2" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="839.69" y="-702.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="817.9,-659.2 817.9,-690 1211.65,-690 1211.65,-659.2 817.9,-659.2"/>
<text text-anchor="start" x="824.9" y="-671.4" font-family="Arial" font-size="14.00">first_name </text>
<text text-anchor="start" x="894.15" y="-671.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="817.9,-628.4 817.9,-659.2 1211.65,-659.2 1211.65,-628.4 817.9,-628.4"/>
<text text-anchor="start" x="824.9" y="-640.6" font-family="Arial" font-size="14.00">last_name </text>
<text text-anchor="start" x="893.39" y="-640.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="817.9,-597.6 817.9,-628.4 1211.65,-628.4 1211.65,-597.6 817.9,-597.6"/>
<text text-anchor="start" x="824.9" y="-609.8" font-family="Arial" font-size="14.00">email </text>
<text text-anchor="start" x="862.25" y="-609.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="817.9,-566.8 817.9,-597.6 1211.65,-597.6 1211.65,-566.8 817.9,-566.8"/>
<text text-anchor="start" x="824.9" y="-579" font-family="Arial" font-size="14.00">gender </text>
<text text-anchor="start" x="872.39" y="-579" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="817.9,-536 817.9,-566.8 1211.65,-566.8 1211.65,-536 817.9,-536"/>
<text text-anchor="start" x="824.9" y="-548.2" font-family="Arial" font-size="14.00">birthday </text>
<text text-anchor="start" x="878.6" y="-548.2" font-family="Arial" font-size="14.00" fill="#666666">[date]</text>
<polygon fill="none" stroke="black" points="817.9,-505.2 817.9,-536 1211.65,-536 1211.65,-505.2 817.9,-505.2"/>
<text text-anchor="start" x="824.9" y="-517.4" font-family="Arial" font-size="14.00">skill_level </text>
<text text-anchor="start" x="888.7" y="-517.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="817.9,-474.4 817.9,-505.2 1211.65,-505.2 1211.65,-474.4 817.9,-474.4"/>
<text text-anchor="start" x="824.9" y="-486.6" font-family="Arial" font-size="14.00">is_age_public </text>
<text text-anchor="start" x="914.41" y="-486.6" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="817.9,-443.6 817.9,-474.4 1211.65,-474.4 1211.65,-443.6 817.9,-443.6"/>
<text text-anchor="start" x="824.9" y="-455.8" font-family="Arial" font-size="14.00">profile_image_path </text>
<text text-anchor="start" x="947.88" y="-455.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="817.9,-412.8 817.9,-443.6 1211.65,-443.6 1211.65,-412.8 817.9,-412.8"/>
<text text-anchor="start" x="824.9" y="-425" font-family="Arial" font-size="14.00">is_marketing_consent_granted </text>
<text text-anchor="start" x="1020.25" y="-425" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="817.9,-382 817.9,-412.8 1211.65,-412.8 1211.65,-382 817.9,-382"/>
<text text-anchor="start" x="824.9" y="-394.2" font-family="Arial" font-size="14.00">marketing_consent_granted_at </text>
<text text-anchor="start" x="1021.81" y="-394.2" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="817.9,-351.2 817.9,-382 1211.65,-382 1211.65,-351.2 817.9,-351.2"/>
<text text-anchor="start" x="824.9" y="-363.4" font-family="Arial" font-size="14.00">get_stream_token </text>
<text text-anchor="start" x="940.86" y="-363.4" font-family="Arial" font-size="14.00" fill="#666666">[text]</text>
<polygon fill="none" stroke="black" points="817.9,-320.4 817.9,-351.2 1211.65,-351.2 1211.65,-320.4 817.9,-320.4"/>
<text text-anchor="start" x="824.9" y="-332.6" font-family="Arial" font-size="14.00">email_address_id </text>
<text text-anchor="start" x="938.52" y="-332.6" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="817.9,-289.6 817.9,-320.4 1211.65,-320.4 1211.65,-289.6 817.9,-289.6"/>
<text text-anchor="start" x="824.9" y="-301.8" font-family="Arial" font-size="14.00">preferred_playing_times </text>
<text text-anchor="start" x="978.99" y="-301.8" font-family="Arial" font-size="14.00" fill="#666666">[text]</text>
<polygon fill="none" stroke="black" points="817.9,-258.8 817.9,-289.6 1211.65,-289.6 1211.65,-258.8 817.9,-258.8"/>
<text text-anchor="start" x="824.9" y="-271" font-family="Arial" font-size="14.00">dominant_hands </text>
<text text-anchor="start" x="932.32" y="-271" font-family="Arial" font-size="14.00" fill="#666666">[text]</text>
<polygon fill="none" stroke="black" points="817.9,-228 817.9,-258.8 1211.65,-258.8 1211.65,-228 817.9,-228"/>
<text text-anchor="start" x="824.9" y="-240.2" font-family="Arial" font-size="14.00">locale </text>
<text text-anchor="start" x="865.37" y="-240.2" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="817.9,-197.2 817.9,-228 1211.65,-228 1211.65,-197.2 817.9,-197.2"/>
<text text-anchor="start" x="824.9" y="-209.4" font-family="Arial" font-size="14.00">is_deleted </text>
<text text-anchor="start" x="892.62" y="-209.4" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="817.9,-166.4 817.9,-197.2 1211.65,-197.2 1211.65,-166.4 817.9,-166.4"/>
<text text-anchor="start" x="824.9" y="-178.6" font-family="Arial" font-size="14.00">deleted_at </text>
<text text-anchor="start" x="894.19" y="-178.6" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="817.9,-135.6 817.9,-166.4 1211.65,-166.4 1211.65,-135.6 817.9,-135.6"/>
<text text-anchor="start" x="824.9" y="-147.8" font-family="Arial" font-size="14.00">created_at </text>
<text text-anchor="start" x="894.95" y="-147.8" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="817.9,-104.8 817.9,-135.6 1211.65,-135.6 1211.65,-104.8 817.9,-104.8"/>
<text text-anchor="start" x="824.9" y="-117" font-family="Arial" font-size="14.00">phone_number </text>
<text text-anchor="start" x="922.98" y="-117" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
</g>
<!-- public.event_registration&#45;&gt;public.user -->
<g id="edge6" class="edge">
<title>public.event_registration:created_by_id&#45;&gt;public.user:id</title>
<path fill="none" stroke="black" d="M978.07,-1019.32C1018.36,-1009.97 991.12,-941.89 966.74,-897.2 928.87,-827.75 855.86,-869 817.9,-799.6 797.81,-762.87 775.03,-705.4 816.9,-705.4"/>
<polygon fill="black" stroke="black" points="978.02,-1019.33 967.61,-1015.89 972.72,-1019.88 968.41,-1020.33 968.41,-1020.33 968.41,-1020.33 972.72,-1019.88 968.54,-1024.84 978.02,-1019.33"/>
<text text-anchor="start" x="974.74" y="-1030.4" font-family="Arial" font-size="10.00">FOREIGN KEY (created_by_id) REFERENCES &quot;user&quot;(id)</text>
</g>
<!-- public.event_registration&#45;&gt;public.user -->
<g id="edge7" class="edge">
<title>public.event_registration:cancelled_by_id&#45;&gt;public.user:id</title>
<path fill="none" stroke="black" d="M978.02,-988.06C1004.47,-978.78 984.53,-929.71 966.74,-897.2 928.78,-827.8 855.86,-869 817.9,-799.6 797.81,-762.87 775.03,-705.4 816.9,-705.4"/>
<polygon fill="black" stroke="black" points="977.96,-988.07 967.41,-985.1 972.69,-988.86 968.4,-989.5 968.4,-989.5 968.4,-989.5 972.69,-988.86 968.74,-994 977.96,-988.07"/>
<text text-anchor="start" x="974.74" y="-999.6" font-family="Arial" font-size="10.00">FOREIGN KEY (cancelled_by_id) REFERENCES &quot;user&quot;(id)</text>
</g>
<!-- public.cart -->
<g id="node2" class="node">
<title>public.cart</title>
<polygon fill="#efefef" stroke="none" points="323.3,-1628 323.3,-1663.6 538.25,-1663.6 538.25,-1628 323.3,-1628"/>
<polygon fill="none" stroke="black" points="323.3,-1628 323.3,-1663.6 538.25,-1663.6 538.25,-1628 323.3,-1628"/>
<text text-anchor="start" x="330.3" y="-1641.4" font-family="Arial Bold" font-size="18.00">public.cart</text>
<text text-anchor="start" x="406.76" y="-1641.4" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="437.88" y="-1641.4" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="323.3,-1597.2 323.3,-1628 538.25,-1628 538.25,-1597.2 323.3,-1597.2"/>
<text text-anchor="start" x="330.3" y="-1609.4" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="345.08" y="-1609.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="323.3,-1566.4 323.3,-1597.2 538.25,-1597.2 538.25,-1566.4 323.3,-1566.4"/>
<text text-anchor="start" x="330.3" y="-1578.6" font-family="Arial" font-size="14.00">event_registration_id </text>
<text text-anchor="start" x="464.16" y="-1578.6" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="323.3,-1535.6 323.3,-1566.4 538.25,-1566.4 538.25,-1535.6 323.3,-1535.6"/>
<text text-anchor="start" x="330.3" y="-1547.8" font-family="Arial" font-size="14.00">match_player_id </text>
<text text-anchor="start" x="436.91" y="-1547.8" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
</g>
<!-- public.cart&#45;&gt;public.event_registration -->
<g id="edge1" class="edge">
<title>public.cart:event_registration_id&#45;&gt;public.event_registration:id</title>
<path fill="none" stroke="black" d="M549.25,-1579.66C598.07,-1557.15 573.8,-1363.44 590.78,-1307.6 609.51,-1245.99 583.41,-1174.4 647.81,-1174.4"/>
<polygon fill="black" stroke="black" points="549.36,-1579.64 538.64,-1577.33 544.14,-1580.75 539.91,-1581.66 539.91,-1581.66 539.91,-1581.66 544.14,-1580.75 540.52,-1586.13 549.36,-1579.64"/>
<text text-anchor="start" x="193.8" y="-1591.8" font-family="Arial" font-size="10.00">FOREIGN KEY (event_registration_id) REFERENCES event_registration(id)</text>
</g>
<!-- public.refund -->
<g id="node3" class="node">
<title>public.refund</title>
<polygon fill="#efefef" stroke="none" points="642.8,-1812.8 642.8,-1848.4 972.75,-1848.4 972.75,-1812.8 642.8,-1812.8"/>
<polygon fill="none" stroke="black" points="642.8,-1812.8 642.8,-1848.4 972.75,-1848.4 972.75,-1812.8 642.8,-1812.8"/>
<text text-anchor="start" x="697.3" y="-1826.2" font-family="Arial Bold" font-size="18.00">public.refund</text>
<text text-anchor="start" x="793.76" y="-1826.2" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="824.88" y="-1826.2" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="642.8,-1782 642.8,-1812.8 972.75,-1812.8 972.75,-1782 642.8,-1782"/>
<text text-anchor="start" x="649.8" y="-1794.2" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="664.59" y="-1794.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="642.8,-1751.2 642.8,-1782 972.75,-1782 972.75,-1751.2 642.8,-1751.2"/>
<text text-anchor="start" x="649.8" y="-1763.4" font-family="Arial" font-size="14.00">player_id </text>
<text text-anchor="start" x="710.5" y="-1763.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="642.8,-1720.4 642.8,-1751.2 972.75,-1751.2 972.75,-1720.4 642.8,-1720.4"/>
<text text-anchor="start" x="649.8" y="-1732.6" font-family="Arial" font-size="14.00">status </text>
<text text-anchor="start" x="691.04" y="-1732.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="642.8,-1689.6 642.8,-1720.4 972.75,-1720.4 972.75,-1689.6 642.8,-1689.6"/>
<text text-anchor="start" x="649.8" y="-1701.8" font-family="Arial" font-size="14.00">refunded_at </text>
<text text-anchor="start" x="728.42" y="-1701.8" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="642.8,-1658.8 642.8,-1689.6 972.75,-1689.6 972.75,-1658.8 642.8,-1658.8"/>
<text text-anchor="start" x="649.8" y="-1671" font-family="Arial" font-size="14.00">stripe_refund_id </text>
<text text-anchor="start" x="754.09" y="-1671" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="642.8,-1628 642.8,-1658.8 972.75,-1658.8 972.75,-1628 642.8,-1628"/>
<text text-anchor="start" x="649.8" y="-1640.2" font-family="Arial" font-size="14.00">total_amount </text>
<text text-anchor="start" x="734.63" y="-1640.2" font-family="Arial" font-size="14.00" fill="#666666">[bigint]</text>
<polygon fill="none" stroke="black" points="642.8,-1597.2 642.8,-1628 972.75,-1628 972.75,-1597.2 642.8,-1597.2"/>
<text text-anchor="start" x="649.8" y="-1609.4" font-family="Arial" font-size="14.00">total_currency </text>
<text text-anchor="start" x="741.62" y="-1609.4" font-family="Arial" font-size="14.00" fill="#666666">[character(3)]</text>
<polygon fill="none" stroke="black" points="642.8,-1566.4 642.8,-1597.2 972.75,-1597.2 972.75,-1566.4 642.8,-1566.4"/>
<text text-anchor="start" x="649.8" y="-1578.6" font-family="Arial" font-size="14.00">created_at </text>
<text text-anchor="start" x="719.85" y="-1578.6" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="642.8,-1535.6 642.8,-1566.4 972.75,-1566.4 972.75,-1535.6 642.8,-1535.6"/>
<text text-anchor="start" x="649.8" y="-1547.8" font-family="Arial" font-size="14.00">voucher_id </text>
<text text-anchor="start" x="722.18" y="-1547.8" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="642.8,-1504.8 642.8,-1535.6 972.75,-1535.6 972.75,-1504.8 642.8,-1504.8"/>
<text text-anchor="start" x="649.8" y="-1517" font-family="Arial" font-size="14.00">refunded_amount_voucher_amount </text>
<text text-anchor="start" x="875.52" y="-1517" font-family="Arial" font-size="14.00" fill="#666666">[bigint]</text>
<polygon fill="none" stroke="black" points="642.8,-1474 642.8,-1504.8 972.75,-1504.8 972.75,-1474 642.8,-1474"/>
<text text-anchor="start" x="649.8" y="-1486.2" font-family="Arial" font-size="14.00">refunded_amount_voucher_currency </text>
<text text-anchor="start" x="882.5" y="-1486.2" font-family="Arial" font-size="14.00" fill="#666666">[character(3)]</text>
<polygon fill="none" stroke="black" points="642.8,-1443.2 642.8,-1474 972.75,-1474 972.75,-1443.2 642.8,-1443.2"/>
<text text-anchor="start" x="649.8" y="-1455.4" font-family="Arial" font-size="14.00">refunded_amount_online_amount </text>
<text text-anchor="start" x="863.07" y="-1455.4" font-family="Arial" font-size="14.00" fill="#666666">[bigint]</text>
<polygon fill="none" stroke="black" points="642.8,-1412.4 642.8,-1443.2 972.75,-1443.2 972.75,-1412.4 642.8,-1412.4"/>
<text text-anchor="start" x="649.8" y="-1424.6" font-family="Arial" font-size="14.00">refunded_amount_online_currency </text>
<text text-anchor="start" x="870.06" y="-1424.6" font-family="Arial" font-size="14.00" fill="#666666">[character(3)]</text>
<polygon fill="none" stroke="black" points="642.8,-1381.6 642.8,-1412.4 972.75,-1412.4 972.75,-1381.6 642.8,-1381.6"/>
<text text-anchor="start" x="649.8" y="-1393.8" font-family="Arial" font-size="14.00">strategy </text>
<text text-anchor="start" x="703.49" y="-1393.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="642.8,-1350.8 642.8,-1381.6 972.75,-1381.6 972.75,-1350.8 642.8,-1350.8"/>
<text text-anchor="start" x="649.8" y="-1363" font-family="Arial" font-size="14.00">event_registration_id </text>
<text text-anchor="start" x="783.66" y="-1363" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
</g>
<!-- public.refund&#45;&gt;public.event_registration -->
<g id="edge2" class="edge">
<title>public.refund:event_registration_id&#45;&gt;public.event_registration:id</title>
<path fill="none" stroke="black" d="M808.53,-1339.66C818.58,-1277.06 926.75,-1335.11 966.74,-1271.6 989.76,-1235.04 1010.95,-1174.4 967.74,-1174.4"/>
<polygon fill="black" stroke="black" points="808.54,-1339.49 803.31,-1349.13 808.14,-1344.81 807.82,-1349.13 807.82,-1349.13 807.82,-1349.13 808.14,-1344.81 812.29,-1349.8 808.54,-1339.49"/>
<text text-anchor="start" x="462.32" y="-1359.8" font-family="Arial" font-size="10.00">FOREIGN KEY (event_registration_id) REFERENCES event_registration(id)</text>
</g>
<!-- public.event_term -->
<g id="node4" class="node">
<title>public.event_term</title>
<polygon fill="#efefef" stroke="none" points="1077,-1735.8 1077,-1771.4 1376.55,-1771.4 1376.55,-1735.8 1077,-1735.8"/>
<polygon fill="none" stroke="black" points="1077,-1735.8 1077,-1771.4 1376.55,-1771.4 1376.55,-1735.8 1077,-1735.8"/>
<text text-anchor="start" x="1099.3" y="-1749.2" font-family="Arial Bold" font-size="18.00">public.event_term</text>
<text text-anchor="start" x="1229.76" y="-1749.2" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="1260.88" y="-1749.2" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="1077,-1705 1077,-1735.8 1376.55,-1735.8 1376.55,-1705 1077,-1705"/>
<text text-anchor="start" x="1084" y="-1717.2" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="1098.78" y="-1717.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="1077,-1674.2 1077,-1705 1376.55,-1705 1376.55,-1674.2 1077,-1674.2"/>
<text text-anchor="start" x="1084" y="-1686.4" font-family="Arial" font-size="14.00">action </text>
<text text-anchor="start" x="1125.24" y="-1686.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="1077,-1643.4 1077,-1674.2 1376.55,-1674.2 1376.55,-1643.4 1077,-1643.4"/>
<text text-anchor="start" x="1084" y="-1655.6" font-family="Arial" font-size="14.00">applicable_from </text>
<text text-anchor="start" x="1186.72" y="-1655.6" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="1077,-1612.6 1077,-1643.4 1376.55,-1643.4 1376.55,-1612.6 1077,-1612.6"/>
<text text-anchor="start" x="1084" y="-1624.8" font-family="Arial" font-size="14.00">applicable_till </text>
<text text-anchor="start" x="1171.94" y="-1624.8" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="1077,-1581.8 1077,-1612.6 1376.55,-1612.6 1376.55,-1581.8 1077,-1581.8"/>
<text text-anchor="start" x="1084" y="-1594" font-family="Arial" font-size="14.00">type </text>
<text text-anchor="start" x="1114.35" y="-1594" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="1077,-1551 1077,-1581.8 1376.55,-1581.8 1376.55,-1551 1077,-1551"/>
<text text-anchor="start" x="1084" y="-1563.2" font-family="Arial" font-size="14.00">legacy_type </text>
<text text-anchor="start" x="1162.6" y="-1563.2" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="1077,-1520.2 1077,-1551 1376.55,-1551 1376.55,-1520.2 1077,-1520.2"/>
<text text-anchor="start" x="1084" y="-1532.4" font-family="Arial" font-size="14.00">due_fee_amount </text>
<text text-anchor="start" x="1192.97" y="-1532.4" font-family="Arial" font-size="14.00" fill="#666666">[bigint]</text>
<polygon fill="none" stroke="black" points="1077,-1489.4 1077,-1520.2 1376.55,-1520.2 1376.55,-1489.4 1077,-1489.4"/>
<text text-anchor="start" x="1084" y="-1501.6" font-family="Arial" font-size="14.00">due_fee_currency </text>
<text text-anchor="start" x="1199.96" y="-1501.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(3)]</text>
<polygon fill="none" stroke="black" points="1077,-1458.6 1077,-1489.4 1376.55,-1489.4 1376.55,-1458.6 1077,-1458.6"/>
<text text-anchor="start" x="1084" y="-1470.8" font-family="Arial" font-size="14.00">is_action_allowed </text>
<text text-anchor="start" x="1198.4" y="-1470.8" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="1077,-1427.8 1077,-1458.6 1376.55,-1458.6 1376.55,-1427.8 1077,-1427.8"/>
<text text-anchor="start" x="1084" y="-1440" font-family="Arial" font-size="14.00">event_registration_id </text>
<text text-anchor="start" x="1217.86" y="-1440" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
</g>
<!-- public.event_term&#45;&gt;public.event_registration -->
<g id="edge3" class="edge">
<title>public.event_term:event_registration_id&#45;&gt;public.event_registration:id</title>
<path fill="none" stroke="black" d="M1065.69,-1442.44C1015.73,-1434.37 1047.43,-1363.86 1024.78,-1307.6 1000.72,-1247.86 1032.14,-1174.4 967.74,-1174.4"/>
<polygon fill="black" stroke="black" points="1065.69,-1442.44 1075.33,-1447.66 1071.01,-1442.83 1075.33,-1443.15 1075.33,-1443.15 1075.33,-1443.15 1071.01,-1442.83 1075.99,-1438.69 1065.69,-1442.44"/>
<text text-anchor="start" x="730.54" y="-1453.2" font-family="Arial" font-size="10.00">FOREIGN KEY (event_registration_id) REFERENCES event_registration(id)</text>
</g>
</g>
</svg>
