<?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.sport Pages: 1 -->
<svg width="1135pt" height="1095pt"
 viewBox="0.00 0.00 1135.46 1094.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 1090.8)">
<title>public.sport</title>
<polygon fill="white" stroke="none" points="-4,4 -4,-1090.8 1131.46,-1090.8 1131.46,4 -4,4"/>
<!-- public.sport -->
<g id="node1" class="node">
<title>public.sport</title>
<polygon fill="#efefef" stroke="none" points="392.69,-107.8 392.69,-143.4 616.67,-143.4 616.67,-107.8 392.69,-107.8"/>
<polygon fill="none" stroke="black" points="392.69,-107.8 392.69,-143.4 616.67,-143.4 616.67,-107.8 392.69,-107.8"/>
<text text-anchor="start" x="399.69" y="-121.2" font-family="Arial Bold" font-size="18.00">public.sport</text>
<text text-anchor="start" x="485.18" y="-121.2" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="516.3" y="-121.2" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="392.69,-77 392.69,-107.8 616.67,-107.8 616.67,-77 392.69,-77"/>
<text text-anchor="start" x="399.69" y="-89.2" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="414.48" y="-89.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="392.69,-46.2 392.69,-77 616.67,-77 616.67,-46.2 392.69,-46.2"/>
<text text-anchor="start" x="399.69" y="-58.4" font-family="Arial" font-size="14.00">type </text>
<text text-anchor="start" x="430.04" y="-58.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" stroke-width="3" points="391.19,-44.7 391.19,-144.9 618.17,-144.9 618.17,-44.7 391.19,-44.7"/>
</g>
<!-- public.court -->
<g id="node2" class="node">
<title>public.court</title>
<polygon fill="#efefef" stroke="none" points="43.2,-777 43.2,-812.6 268.16,-812.6 268.16,-777 43.2,-777"/>
<polygon fill="none" stroke="black" points="43.2,-777 43.2,-812.6 268.16,-812.6 268.16,-777 43.2,-777"/>
<text text-anchor="start" x="50.2" y="-790.4" font-family="Arial Bold" font-size="18.00">public.court</text>
<text text-anchor="start" x="136.68" y="-790.4" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="167.79" y="-790.4" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="43.2,-746.2 43.2,-777 268.16,-777 268.16,-746.2 43.2,-746.2"/>
<text text-anchor="start" x="50.2" y="-758.4" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="64.99" y="-758.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="43.2,-715.4 43.2,-746.2 268.16,-746.2 268.16,-715.4 43.2,-715.4"/>
<text text-anchor="start" x="50.2" y="-727.6" font-family="Arial" font-size="14.00">name </text>
<text text-anchor="start" x="89.11" y="-727.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="43.2,-684.6 43.2,-715.4 268.16,-715.4 268.16,-684.6 43.2,-684.6"/>
<text text-anchor="start" x="50.2" y="-696.8" font-family="Arial" font-size="14.00">club_id </text>
<text text-anchor="start" x="98.45" y="-696.8" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="43.2,-653.8 43.2,-684.6 268.16,-684.6 268.16,-653.8 43.2,-653.8"/>
<text text-anchor="start" x="50.2" y="-666" font-family="Arial" font-size="14.00">location_type </text>
<text text-anchor="start" x="136.59" y="-666" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="43.2,-623 43.2,-653.8 268.16,-653.8 268.16,-623 43.2,-623"/>
<text text-anchor="start" x="50.2" y="-635.2" font-family="Arial" font-size="14.00">match_type </text>
<text text-anchor="start" x="126.46" y="-635.2" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="43.2,-592.2 43.2,-623 268.16,-623 268.16,-592.2 43.2,-592.2"/>
<text text-anchor="start" x="50.2" y="-604.4" font-family="Arial" font-size="14.00">contentful_id </text>
<text text-anchor="start" x="133.48" y="-604.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(64)]</text>
<polygon fill="none" stroke="black" points="43.2,-561.4 43.2,-592.2 268.16,-592.2 268.16,-561.4 43.2,-561.4"/>
<text text-anchor="start" x="50.2" y="-573.6" font-family="Arial" font-size="14.00">is_active </text>
<text text-anchor="start" x="108.56" y="-573.6" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="43.2,-530.6 43.2,-561.4 268.16,-561.4 268.16,-530.6 43.2,-530.6"/>
<text text-anchor="start" x="50.2" y="-542.8" font-family="Arial" font-size="14.00">sport_id </text>
<text text-anchor="start" x="103.9" y="-542.8" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="43.2,-499.8 43.2,-530.6 268.16,-530.6 268.16,-499.8 43.2,-499.8"/>
<text text-anchor="start" x="50.2" y="-512" font-family="Arial" font-size="14.00">is_premium </text>
<text text-anchor="start" x="126.44" y="-512" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
</g>
<!-- public.court&#45;&gt;public.sport -->
<g id="edge1" class="edge">
<title>public.court:sport_id&#45;&gt;public.sport:id</title>
<path fill="none" stroke="black" d="M279.28,-544.11C337.02,-520.87 298.85,-290.48 320.68,-225.6 342.08,-162.02 324.61,-92.4 391.69,-92.4"/>
<polygon fill="black" stroke="black" points="279.32,-544.1 268.67,-541.52 274.08,-545.08 269.82,-545.88 269.82,-545.88 269.82,-545.88 274.08,-545.08 270.32,-550.36 279.32,-544.1"/>
<text text-anchor="start" x="276.16" y="-556" font-family="Arial" font-size="10.00">FOREIGN KEY (sport_id) REFERENCES sport(id)</text>
</g>
<!-- public.equipment -->
<g id="node3" class="node">
<title>public.equipment</title>
<polygon fill="#efefef" stroke="none" points="372.7,-730.8 372.7,-766.4 636.66,-766.4 636.66,-730.8 372.7,-730.8"/>
<polygon fill="none" stroke="black" points="372.7,-730.8 372.7,-766.4 636.66,-766.4 636.66,-730.8 372.7,-730.8"/>
<text text-anchor="start" x="379.7" y="-744.2" font-family="Arial Bold" font-size="18.00">public.equipment</text>
<text text-anchor="start" x="505.17" y="-744.2" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="536.29" y="-744.2" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="372.7,-700 372.7,-730.8 636.66,-730.8 636.66,-700 372.7,-700"/>
<text text-anchor="start" x="379.7" y="-712.2" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="394.49" y="-712.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="372.7,-669.2 372.7,-700 636.66,-700 636.66,-669.2 372.7,-669.2"/>
<text text-anchor="start" x="379.7" y="-681.4" font-family="Arial" font-size="14.00">type </text>
<text text-anchor="start" x="410.05" y="-681.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="372.7,-638.4 372.7,-669.2 636.66,-669.2 636.66,-638.4 372.7,-638.4"/>
<text text-anchor="start" x="379.7" y="-650.6" font-family="Arial" font-size="14.00">name </text>
<text text-anchor="start" x="418.61" y="-650.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="372.7,-607.6 372.7,-638.4 636.66,-638.4 636.66,-607.6 372.7,-607.6"/>
<text text-anchor="start" x="379.7" y="-619.8" font-family="Arial" font-size="14.00">fee_amount </text>
<text text-anchor="start" x="457.54" y="-619.8" font-family="Arial" font-size="14.00" fill="#666666">[bigint]</text>
<polygon fill="none" stroke="black" points="372.7,-576.8 372.7,-607.6 636.66,-607.6 636.66,-576.8 372.7,-576.8"/>
<text text-anchor="start" x="379.7" y="-589" font-family="Arial" font-size="14.00">fee_currency </text>
<text text-anchor="start" x="464.52" y="-589" font-family="Arial" font-size="14.00" fill="#666666">[character(3)]</text>
<polygon fill="none" stroke="black" points="372.7,-546 372.7,-576.8 636.66,-576.8 636.66,-546 372.7,-546"/>
<text text-anchor="start" x="379.7" y="-558.2" font-family="Arial" font-size="14.00">sport_id </text>
<text text-anchor="start" x="433.4" y="-558.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
</g>
<!-- public.equipment&#45;&gt;public.sport -->
<g id="edge2" class="edge">
<title>public.equipment:sport_id&#45;&gt;public.sport:id</title>
<path fill="none" stroke="black" d="M504.94,-534.64C515.17,-329.59 821.56,-92.4 617.67,-92.4"/>
<polygon fill="black" stroke="black" points="504.94,-534.67 500.19,-544.55 504.81,-540 504.7,-544.33 504.7,-544.33 504.7,-544.33 504.81,-540 509.19,-544.78 504.94,-534.67"/>
<text text-anchor="start" x="273.75" y="-529" font-family="Arial" font-size="10.00">FOREIGN KEY (sport_id) REFERENCES sport(id)</text>
</g>
<!-- public.club_event -->
<g id="node4" class="node">
<title>public.club_event</title>
<polygon fill="#efefef" stroke="none" points="741.11,-1008 741.11,-1043.6 1084.26,-1043.6 1084.26,-1008 741.11,-1008"/>
<polygon fill="none" stroke="black" points="741.11,-1008 741.11,-1043.6 1084.26,-1043.6 1084.26,-1008 741.11,-1008"/>
<text text-anchor="start" x="786.21" y="-1021.4" font-family="Arial Bold" font-size="18.00">public.club_event</text>
<text text-anchor="start" x="914.67" y="-1021.4" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="945.79" y="-1021.4" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="741.11,-977.2 741.11,-1008 1084.26,-1008 1084.26,-977.2 741.11,-977.2"/>
<text text-anchor="start" x="748.11" y="-989.4" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="762.89" y="-989.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="741.11,-946.4 741.11,-977.2 1084.26,-977.2 1084.26,-946.4 741.11,-946.4"/>
<text text-anchor="start" x="748.11" y="-958.6" font-family="Arial" font-size="14.00">contentful_id </text>
<text text-anchor="start" x="831.39" y="-958.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(64)]</text>
<polygon fill="none" stroke="black" points="741.11,-915.6 741.11,-946.4 1084.26,-946.4 1084.26,-915.6 741.11,-915.6"/>
<text text-anchor="start" x="748.11" y="-927.8" font-family="Arial" font-size="14.00">is_active </text>
<text text-anchor="start" x="806.47" y="-927.8" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="741.11,-884.8 741.11,-915.6 1084.26,-915.6 1084.26,-884.8 741.11,-884.8"/>
<text text-anchor="start" x="748.11" y="-897" font-family="Arial" font-size="14.00">club_id </text>
<text text-anchor="start" x="796.36" y="-897" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="741.11,-854 741.11,-884.8 1084.26,-884.8 1084.26,-854 741.11,-854"/>
<text text-anchor="start" x="748.11" y="-866.2" font-family="Arial" font-size="14.00">template_id </text>
<text text-anchor="start" x="824.38" y="-866.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="741.11,-823.2 741.11,-854 1084.26,-854 1084.26,-823.2 741.11,-823.2"/>
<text text-anchor="start" x="748.11" y="-835.4" font-family="Arial" font-size="14.00">event_period_starts_at </text>
<text text-anchor="start" x="894.42" y="-835.4" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="741.11,-792.4 741.11,-823.2 1084.26,-823.2 1084.26,-792.4 741.11,-792.4"/>
<text text-anchor="start" x="748.11" y="-804.6" font-family="Arial" font-size="14.00">event_period_ends_at </text>
<text text-anchor="start" x="890.55" y="-804.6" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="741.11,-761.6 741.11,-792.4 1084.26,-792.4 1084.26,-761.6 741.11,-761.6"/>
<text text-anchor="start" x="748.11" y="-773.8" font-family="Arial" font-size="14.00">event_period_duration_in_seconds </text>
<text text-anchor="start" x="969.94" y="-773.8" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
<polygon fill="none" stroke="black" points="741.11,-730.8 741.11,-761.6 1084.26,-761.6 1084.26,-730.8 741.11,-730.8"/>
<text text-anchor="start" x="748.11" y="-743" font-family="Arial" font-size="14.00">price_per_person_amount </text>
<text text-anchor="start" x="915.44" y="-743" font-family="Arial" font-size="14.00" fill="#666666">[bigint]</text>
<polygon fill="none" stroke="black" points="741.11,-700 741.11,-730.8 1084.26,-730.8 1084.26,-700 741.11,-700"/>
<text text-anchor="start" x="748.11" y="-712.2" font-family="Arial" font-size="14.00">price_per_person_currency </text>
<text text-anchor="start" x="922.42" y="-712.2" font-family="Arial" font-size="14.00" fill="#666666">[character(3)]</text>
<polygon fill="none" stroke="black" points="741.11,-669.2 741.11,-700 1084.26,-700 1084.26,-669.2 741.11,-669.2"/>
<text text-anchor="start" x="748.11" y="-681.4" font-family="Arial" font-size="14.00">stripe_price_id </text>
<text text-anchor="start" x="843.04" y="-681.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(64)]</text>
<polygon fill="none" stroke="black" points="741.11,-638.4 741.11,-669.2 1084.26,-669.2 1084.26,-638.4 741.11,-638.4"/>
<text text-anchor="start" x="748.11" y="-650.6" font-family="Arial" font-size="14.00">status </text>
<text text-anchor="start" x="789.35" y="-650.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="741.11,-607.6 741.11,-638.4 1084.26,-638.4 1084.26,-607.6 741.11,-607.6"/>
<text text-anchor="start" x="748.11" y="-619.8" font-family="Arial" font-size="14.00">max_confirmed_registrations </text>
<text text-anchor="start" x="931.74" y="-619.8" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
<polygon fill="none" stroke="black" points="741.11,-576.8 741.11,-607.6 1084.26,-607.6 1084.26,-576.8 741.11,-576.8"/>
<text text-anchor="start" x="748.11" y="-589" font-family="Arial" font-size="14.00">registration_opens_at </text>
<text text-anchor="start" x="886.64" y="-589" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="741.11,-546 741.11,-576.8 1084.26,-576.8 1084.26,-546 741.11,-546"/>
<text text-anchor="start" x="748.11" y="-558.2" font-family="Arial" font-size="14.00">description </text>
<text text-anchor="start" x="819.7" y="-558.2" font-family="Arial" font-size="14.00" fill="#666666">[text]</text>
<polygon fill="none" stroke="black" points="741.11,-515.2 741.11,-546 1084.26,-546 1084.26,-515.2 741.11,-515.2"/>
<text text-anchor="start" x="748.11" y="-527.4" font-family="Arial" font-size="14.00">persons_per_team </text>
<text text-anchor="start" x="868.73" y="-527.4" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
<polygon fill="none" stroke="black" points="741.11,-484.4 741.11,-515.2 1084.26,-515.2 1084.26,-484.4 741.11,-484.4"/>
<text text-anchor="start" x="748.11" y="-496.6" font-family="Arial" font-size="14.00">type </text>
<text text-anchor="start" x="778.46" y="-496.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="741.11,-453.6 741.11,-484.4 1084.26,-484.4 1084.26,-453.6 741.11,-453.6"/>
<text text-anchor="start" x="748.11" y="-465.8" font-family="Arial" font-size="14.00">is_registrations_hidden </text>
<text text-anchor="start" x="895.98" y="-465.8" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="741.11,-422.8 741.11,-453.6 1084.26,-453.6 1084.26,-422.8 741.11,-422.8"/>
<text text-anchor="start" x="748.11" y="-435" font-family="Arial" font-size="14.00">registration_closes_at </text>
<text text-anchor="start" x="888.18" y="-435" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="741.11,-392 741.11,-422.8 1084.26,-422.8 1084.26,-392 741.11,-392"/>
<text text-anchor="start" x="748.11" y="-404.2" font-family="Arial" font-size="14.00">free_cancellation_strategy </text>
<text text-anchor="start" x="915.43" y="-404.2" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="741.11,-361.2 741.11,-392 1084.26,-392 1084.26,-361.2 741.11,-361.2"/>
<text text-anchor="start" x="748.11" y="-373.4" font-family="Arial" font-size="14.00">updated_by_id </text>
<text text-anchor="start" x="843.86" y="-373.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="741.11,-330.4 741.11,-361.2 1084.26,-361.2 1084.26,-330.4 741.11,-330.4"/>
<text text-anchor="start" x="748.11" y="-342.6" font-family="Arial" font-size="14.00">cancellation_reason </text>
<text text-anchor="start" x="876.53" y="-342.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="741.11,-299.6 741.11,-330.4 1084.26,-330.4 1084.26,-299.6 741.11,-299.6"/>
<text text-anchor="start" x="748.11" y="-311.8" font-family="Arial" font-size="14.00">updated_at </text>
<text text-anchor="start" x="822.07" y="-311.8" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="741.11,-268.8 741.11,-299.6 1084.26,-299.6 1084.26,-268.8 741.11,-268.8"/>
<text text-anchor="start" x="748.11" y="-281" font-family="Arial" font-size="14.00">sport_id </text>
<text text-anchor="start" x="801.8" y="-281" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
</g>
<!-- public.club_event&#45;&gt;public.sport -->
<g id="edge3" class="edge">
<title>public.club_event:sport_id&#45;&gt;public.sport:id</title>
<path fill="none" stroke="black" d="M730.13,-281.63C686.49,-258.87 664.78,-92.4 617.67,-92.4"/>
<polygon fill="black" stroke="black" points="730.1,-281.63 738.66,-288.47 735.26,-282.95 739.46,-284.03 739.46,-284.03 739.46,-284.03 735.26,-282.95 740.9,-279.76 730.1,-281.63"/>
<text text-anchor="start" x="509.17" y="-294.2" font-family="Arial" font-size="10.00">FOREIGN KEY (sport_id) REFERENCES sport(id)</text>
</g>
</g>
</svg>
