<?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.club_facility Pages: 1 -->
<svg width="989pt" height="1187pt"
 viewBox="0.00 0.00 989.31 1187.20" 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 1183.2)">
<title>public.club_facility</title>
<polygon fill="white" stroke="none" points="-4,4 -4,-1183.2 985.31,-1183.2 985.31,4 -4,4"/>
<!-- public.club_facility -->
<g id="node1" class="node">
<title>public.club_facility</title>
<polygon fill="#efefef" stroke="none" points="341.74,-1097.4 341.74,-1133 620.69,-1133 620.69,-1097.4 341.74,-1097.4"/>
<polygon fill="none" stroke="black" points="341.74,-1097.4 341.74,-1133 620.69,-1133 620.69,-1097.4 341.74,-1097.4"/>
<text text-anchor="start" x="348.74" y="-1110.8" font-family="Arial Bold" font-size="18.00">public.club_facility</text>
<text text-anchor="start" x="489.2" y="-1110.8" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="520.32" y="-1110.8" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="341.74,-1066.6 341.74,-1097.4 620.69,-1097.4 620.69,-1066.6 341.74,-1066.6"/>
<text text-anchor="start" x="348.74" y="-1078.8" font-family="Arial" font-size="14.00">club_id </text>
<text text-anchor="start" x="397" y="-1078.8" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="341.74,-1035.8 341.74,-1066.6 620.69,-1066.6 620.69,-1035.8 341.74,-1035.8"/>
<text text-anchor="start" x="348.74" y="-1048" font-family="Arial" font-size="14.00">facility_id </text>
<text text-anchor="start" x="410.21" y="-1048" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" stroke-width="3" points="340.24,-1034.3 340.24,-1134.5 622.19,-1134.5 622.19,-1034.3 340.24,-1034.3"/>
</g>
<!-- public.club -->
<g id="node2" class="node">
<title>public.club</title>
<polygon fill="#efefef" stroke="none" points="139.92,-874.8 139.92,-910.4 446.52,-910.4 446.52,-874.8 139.92,-874.8"/>
<polygon fill="none" stroke="black" points="139.92,-874.8 139.92,-910.4 446.52,-910.4 446.52,-874.8 139.92,-874.8"/>
<text text-anchor="start" x="190.73" y="-888.2" font-family="Arial Bold" font-size="18.00">public.club</text>
<text text-anchor="start" x="271.21" y="-888.2" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="302.33" y="-888.2" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="139.92,-844 139.92,-874.8 446.52,-874.8 446.52,-844 139.92,-844"/>
<text text-anchor="start" x="146.92" y="-856.2" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="161.7" y="-856.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="139.92,-813.2 139.92,-844 446.52,-844 446.52,-813.2 139.92,-813.2"/>
<text text-anchor="start" x="146.92" y="-825.4" font-family="Arial" font-size="14.00">contentful_id </text>
<text text-anchor="start" x="230.2" y="-825.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(64)]</text>
<polygon fill="none" stroke="black" points="139.92,-782.4 139.92,-813.2 446.52,-813.2 446.52,-782.4 139.92,-782.4"/>
<text text-anchor="start" x="146.92" y="-794.6" font-family="Arial" font-size="14.00">name </text>
<text text-anchor="start" x="185.83" y="-794.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="139.92,-751.6 139.92,-782.4 446.52,-782.4 446.52,-751.6 139.92,-751.6"/>
<text text-anchor="start" x="146.92" y="-763.8" font-family="Arial" font-size="14.00">address_street_name </text>
<text text-anchor="start" x="286.22" y="-763.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="139.92,-720.8 139.92,-751.6 446.52,-751.6 446.52,-720.8 139.92,-720.8"/>
<text text-anchor="start" x="146.92" y="-733" font-family="Arial" font-size="14.00">address_building_number </text>
<text text-anchor="start" x="311.92" y="-733" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="139.92,-690 139.92,-720.8 446.52,-720.8 446.52,-690 139.92,-690"/>
<text text-anchor="start" x="146.92" y="-702.2" font-family="Arial" font-size="14.00">address_postal_code </text>
<text text-anchor="start" x="283.9" y="-702.2" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="139.92,-659.2 139.92,-690 446.52,-690 446.52,-659.2 139.92,-659.2"/>
<text text-anchor="start" x="146.92" y="-671.4" font-family="Arial" font-size="14.00">address_locality_name </text>
<text text-anchor="start" x="294" y="-671.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="139.92,-628.4 139.92,-659.2 446.52,-659.2 446.52,-628.4 139.92,-628.4"/>
<text text-anchor="start" x="146.92" y="-640.6" font-family="Arial" font-size="14.00">location_latitude </text>
<text text-anchor="start" x="251.99" y="-640.6" font-family="Arial" font-size="14.00" fill="#666666">[numeric(9,7)]</text>
<polygon fill="none" stroke="black" points="139.92,-597.6 139.92,-628.4 446.52,-628.4 446.52,-597.6 139.92,-597.6"/>
<text text-anchor="start" x="146.92" y="-609.8" font-family="Arial" font-size="14.00">location_longitude </text>
<text text-anchor="start" x="263.68" y="-609.8" font-family="Arial" font-size="14.00" fill="#666666">[numeric(9,7)]</text>
<polygon fill="none" stroke="black" points="139.92,-566.8 139.92,-597.6 446.52,-597.6 446.52,-566.8 139.92,-566.8"/>
<text text-anchor="start" x="146.92" y="-579" font-family="Arial" font-size="14.00">contact_name </text>
<text text-anchor="start" x="238.75" y="-579" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="139.92,-536 139.92,-566.8 446.52,-566.8 446.52,-536 139.92,-536"/>
<text text-anchor="start" x="146.92" y="-548.2" font-family="Arial" font-size="14.00">contact_website </text>
<text text-anchor="start" x="251.2" y="-548.2" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="139.92,-505.2 139.92,-536 446.52,-536 446.52,-505.2 139.92,-505.2"/>
<text text-anchor="start" x="146.92" y="-517.4" font-family="Arial" font-size="14.00">contact_phone_number </text>
<text text-anchor="start" x="297.92" y="-517.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="139.92,-474.4 139.92,-505.2 446.52,-505.2 446.52,-474.4 139.92,-474.4"/>
<text text-anchor="start" x="146.92" y="-486.6" font-family="Arial" font-size="14.00">contact_email_address </text>
<text text-anchor="start" x="294.78" y="-486.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="139.92,-443.6 139.92,-474.4 446.52,-474.4 446.52,-443.6 139.92,-443.6"/>
<text text-anchor="start" x="146.92" y="-455.8" font-family="Arial" font-size="14.00">contact_profile_image_url </text>
<text text-anchor="start" x="311.12" y="-455.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="139.92,-412.8 139.92,-443.6 446.52,-443.6 446.52,-412.8 139.92,-412.8"/>
<text text-anchor="start" x="146.92" y="-425" font-family="Arial" font-size="14.00">is_active </text>
<text text-anchor="start" x="205.28" y="-425" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="139.92,-382 139.92,-412.8 446.52,-412.8 446.52,-382 139.92,-382"/>
<text text-anchor="start" x="146.92" y="-394.2" font-family="Arial" font-size="14.00">main_image_id </text>
<text text-anchor="start" x="245.75" y="-394.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="139.92,-351.2 139.92,-382 446.52,-382 446.52,-351.2 139.92,-351.2"/>
<text text-anchor="start" x="146.92" y="-363.4" font-family="Arial" font-size="14.00">opening_times_as_json </text>
<text text-anchor="start" x="297.91" y="-363.4" font-family="Arial" font-size="14.00" fill="#666666">[json]</text>
<polygon fill="none" stroke="black" points="139.92,-320.4 139.92,-351.2 446.52,-351.2 446.52,-320.4 139.92,-320.4"/>
<text text-anchor="start" x="146.92" y="-332.6" font-family="Arial" font-size="14.00">operator_name </text>
<text text-anchor="start" x="245.76" y="-332.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="139.92,-289.6 139.92,-320.4 446.52,-320.4 446.52,-289.6 139.92,-289.6"/>
<text text-anchor="start" x="146.92" y="-301.8" font-family="Arial" font-size="14.00">court_pricing_as_json </text>
<text text-anchor="start" x="287" y="-301.8" font-family="Arial" font-size="14.00" fill="#666666">[json]</text>
<polygon fill="none" stroke="black" points="139.92,-258.8 139.92,-289.6 446.52,-289.6 446.52,-258.8 139.92,-258.8"/>
<text text-anchor="start" x="146.92" y="-271" font-family="Arial" font-size="14.00">timezone </text>
<text text-anchor="start" x="207.61" y="-271" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="139.92,-228 139.92,-258.8 446.52,-258.8 446.52,-228 139.92,-228"/>
<text text-anchor="start" x="146.92" y="-240.2" font-family="Arial" font-size="14.00">default_price_per_hour_amount </text>
<text text-anchor="start" x="349.28" y="-240.2" font-family="Arial" font-size="14.00" fill="#666666">[bigint]</text>
<polygon fill="none" stroke="black" points="139.92,-197.2 139.92,-228 446.52,-228 446.52,-197.2 139.92,-197.2"/>
<text text-anchor="start" x="146.92" y="-209.4" font-family="Arial" font-size="14.00">default_price_per_hour_currency </text>
<text text-anchor="start" x="356.27" y="-209.4" font-family="Arial" font-size="14.00" fill="#666666">[character(3)]</text>
<polygon fill="none" stroke="black" points="139.92,-166.4 139.92,-197.2 446.52,-197.2 446.52,-166.4 139.92,-166.4"/>
<text text-anchor="start" x="146.92" y="-178.6" font-family="Arial" font-size="14.00">description </text>
<text text-anchor="start" x="218.51" y="-178.6" font-family="Arial" font-size="14.00" fill="#666666">[text]</text>
<polygon fill="none" stroke="black" points="139.92,-135.6 139.92,-166.4 446.52,-166.4 446.52,-135.6 139.92,-135.6"/>
<text text-anchor="start" x="146.92" y="-147.8" font-family="Arial" font-size="14.00">subdivision_code </text>
<text text-anchor="start" x="258.21" y="-147.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="139.92,-104.8 139.92,-135.6 446.52,-135.6 446.52,-104.8 139.92,-104.8"/>
<text text-anchor="start" x="146.92" y="-117" font-family="Arial" font-size="14.00">wellpass_api_key </text>
<text text-anchor="start" x="260.54" y="-117" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="139.92,-74 139.92,-104.8 446.52,-104.8 446.52,-74 139.92,-74"/>
<text text-anchor="start" x="146.92" y="-86.2" font-family="Arial" font-size="14.00">is_wellpass_enabled </text>
<text text-anchor="start" x="280.01" y="-86.2" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="139.92,-43.2 139.92,-74 446.52,-74 446.52,-43.2 139.92,-43.2"/>
<text text-anchor="start" x="146.92" y="-55.4" font-family="Arial" font-size="14.00">is_shown_in_app </text>
<text text-anchor="start" x="259" y="-55.4" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
</g>
<!-- public.club_facility&#45;&gt;public.club -->
<g id="edge1" class="edge">
<title>public.club_facility:club_id&#45;&gt;public.club:id</title>
<path fill="none" stroke="black" d="M330.71,-1080.51C303.11,-1071.15 319.96,-1019.78 341.74,-989.6 370.57,-949.68 417.7,-993.52 446.52,-953.6 471.02,-919.65 489.39,-859.4 447.52,-859.4"/>
<polygon fill="black" stroke="black" points="330.52,-1080.48 339.75,-1086.4 335.8,-1081.27 340.08,-1081.9 340.08,-1081.9 340.08,-1081.9 335.8,-1081.27 341.07,-1077.5 330.52,-1080.48"/>
<text text-anchor="start" x="7" y="-1092" font-family="Arial" font-size="10.00">FOREIGN KEY (club_id) REFERENCES club(id) ON DELETE CASCADE</text>
</g>
<!-- public.facility -->
<g id="node3" class="node">
<title>public.facility</title>
<polygon fill="#efefef" stroke="none" points="550.74,-536 550.74,-571.6 789.7,-571.6 789.7,-536 550.74,-536"/>
<polygon fill="none" stroke="black" points="550.74,-536 550.74,-571.6 789.7,-571.6 789.7,-536 550.74,-536"/>
<text text-anchor="start" x="557.74" y="-549.4" font-family="Arial Bold" font-size="18.00">public.facility</text>
<text text-anchor="start" x="658.21" y="-549.4" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="689.32" y="-549.4" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="550.74,-505.2 550.74,-536 789.7,-536 789.7,-505.2 550.74,-505.2"/>
<text text-anchor="start" x="557.74" y="-517.4" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="572.52" y="-517.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="550.74,-474.4 550.74,-505.2 789.7,-505.2 789.7,-474.4 550.74,-474.4"/>
<text text-anchor="start" x="557.74" y="-486.6" font-family="Arial" font-size="14.00">contentful_id </text>
<text text-anchor="start" x="641.02" y="-486.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(64)]</text>
<polygon fill="none" stroke="black" points="550.74,-443.6 550.74,-474.4 789.7,-474.4 789.7,-443.6 550.74,-443.6"/>
<text text-anchor="start" x="557.74" y="-455.8" font-family="Arial" font-size="14.00">type </text>
<text text-anchor="start" x="588.09" y="-455.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="550.74,-412.8 550.74,-443.6 789.7,-443.6 789.7,-412.8 550.74,-412.8"/>
<text text-anchor="start" x="557.74" y="-425" font-family="Arial" font-size="14.00">name </text>
<text text-anchor="start" x="596.65" y="-425" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="550.74,-382 550.74,-412.8 789.7,-412.8 789.7,-382 550.74,-382"/>
<text text-anchor="start" x="557.74" y="-394.2" font-family="Arial" font-size="14.00">icon_url </text>
<text text-anchor="start" x="610.66" y="-394.2" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
</g>
<!-- public.club_facility&#45;&gt;public.facility -->
<g id="edge2" class="edge">
<title>public.club_facility:facility_id&#45;&gt;public.facility:id</title>
<path fill="none" stroke="black" d="M631.89,-1049.58C721.15,-1017.55 434.58,-520.6 549.74,-520.6"/>
<polygon fill="black" stroke="black" points="631.9,-1049.58 621.32,-1046.7 626.63,-1050.42 622.35,-1051.1 622.35,-1051.1 622.35,-1051.1 626.63,-1050.42 622.73,-1055.59 631.9,-1049.58"/>
<text text-anchor="start" x="628.69" y="-1061.2" font-family="Arial" font-size="10.00">FOREIGN KEY (facility_id) REFERENCES facility(id) ON DELETE CASCADE</text>
</g>
</g>
</svg>
