<?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.user_group_club Pages: 1 -->
<svg width="1065pt" height="1187pt"
 viewBox="0.00 0.00 1064.93 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.user_group_club</title>
<polygon fill="white" stroke="none" points="-4,4 -4,-1183.2 1060.93,-1183.2 1060.93,4 -4,4"/>
<!-- public.user_group_club -->
<g id="node1" class="node">
<title>public.user_group_club</title>
<polygon fill="#efefef" stroke="none" points="406.24,-1097.4 406.24,-1133 715.19,-1133 715.19,-1097.4 406.24,-1097.4"/>
<polygon fill="none" stroke="black" points="406.24,-1097.4 406.24,-1133 715.19,-1133 715.19,-1097.4 406.24,-1097.4"/>
<text text-anchor="start" x="413.24" y="-1110.8" font-family="Arial Bold" font-size="18.00">public.user_group_club</text>
<text text-anchor="start" x="583.7" y="-1110.8" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="614.82" y="-1110.8" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="406.24,-1066.6 406.24,-1097.4 715.19,-1097.4 715.19,-1066.6 406.24,-1066.6"/>
<text text-anchor="start" x="413.24" y="-1078.8" font-family="Arial" font-size="14.00">user_group_id </text>
<text text-anchor="start" x="506.63" y="-1078.8" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="406.24,-1035.8 406.24,-1066.6 715.19,-1066.6 715.19,-1035.8 406.24,-1035.8"/>
<text text-anchor="start" x="413.24" y="-1048" font-family="Arial" font-size="14.00">club_id </text>
<text text-anchor="start" x="461.49" y="-1048" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" stroke-width="3" points="404.74,-1034.3 404.74,-1134.5 716.69,-1134.5 716.69,-1034.3 404.74,-1034.3"/>
</g>
<!-- public.user_group -->
<g id="node2" class="node">
<title>public.user_group</title>
<polygon fill="#efefef" stroke="none" points="212.82,-613 212.82,-648.6 504.61,-648.6 504.61,-613 212.82,-613"/>
<polygon fill="none" stroke="black" points="212.82,-613 212.82,-648.6 504.61,-648.6 504.61,-613 212.82,-613"/>
<text text-anchor="start" x="231.23" y="-626.4" font-family="Arial Bold" font-size="18.00">public.user_group</text>
<text text-anchor="start" x="361.7" y="-626.4" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="392.82" y="-626.4" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="212.82,-582.2 212.82,-613 504.61,-613 504.61,-582.2 212.82,-582.2"/>
<text text-anchor="start" x="219.82" y="-594.4" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="234.6" y="-594.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="212.82,-551.4 212.82,-582.2 504.61,-582.2 504.61,-551.4 212.82,-551.4"/>
<text text-anchor="start" x="219.82" y="-563.6" font-family="Arial" font-size="14.00">public_name </text>
<text text-anchor="start" x="303.09" y="-563.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="212.82,-520.6 212.82,-551.4 504.61,-551.4 504.61,-520.6 212.82,-520.6"/>
<text text-anchor="start" x="219.82" y="-532.8" font-family="Arial" font-size="14.00">internal_name </text>
<text text-anchor="start" x="312.43" y="-532.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(60)]</text>
<polygon fill="none" stroke="black" points="212.82,-489.8 212.82,-520.6 504.61,-520.6 504.61,-489.8 212.82,-489.8"/>
<text text-anchor="start" x="219.82" y="-502" font-family="Arial" font-size="14.00">note </text>
<text text-anchor="start" x="250.95" y="-502" font-family="Arial" font-size="14.00" fill="#666666">[text]</text>
<polygon fill="none" stroke="black" points="212.82,-459 212.82,-489.8 504.61,-489.8 504.61,-459 212.82,-459"/>
<text text-anchor="start" x="219.82" y="-471.2" font-family="Arial" font-size="14.00">created_at </text>
<text text-anchor="start" x="289.86" y="-471.2" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="212.82,-428.2 212.82,-459 504.61,-459 504.61,-428.2 212.82,-428.2"/>
<text text-anchor="start" x="219.82" y="-440.4" font-family="Arial" font-size="14.00">type </text>
<text text-anchor="start" x="250.17" y="-440.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="212.82,-397.4 212.82,-428.2 504.61,-428.2 504.61,-397.4 212.82,-397.4"/>
<text text-anchor="start" x="219.82" y="-409.6" font-family="Arial" font-size="14.00">invite_code </text>
<text text-anchor="start" x="294.53" y="-409.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(10)]</text>
<polygon fill="none" stroke="black" points="212.82,-366.6 212.82,-397.4 504.61,-397.4 504.61,-366.6 212.82,-366.6"/>
<text text-anchor="start" x="219.82" y="-378.8" font-family="Arial" font-size="14.00">deactivated_by_id </text>
<text text-anchor="start" x="336.57" y="-378.8" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="212.82,-335.8 212.82,-366.6 504.61,-366.6 504.61,-335.8 212.82,-335.8"/>
<text text-anchor="start" x="219.82" y="-348" font-family="Arial" font-size="14.00">deactivated_at </text>
<text text-anchor="start" x="314.77" y="-348" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="212.82,-305 212.82,-335.8 504.61,-335.8 504.61,-305 212.82,-305"/>
<text text-anchor="start" x="219.82" y="-317.2" font-family="Arial" font-size="14.00">active </text>
<text text-anchor="start" x="260.28" y="-317.2" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
</g>
<!-- public.user_group_club&#45;&gt;public.user_group -->
<g id="edge1" class="edge">
<title>public.user_group_club:user_group_id&#45;&gt;public.user_group:id</title>
<path fill="none" stroke="black" d="M395.2,-1080.25C317.29,-1048.54 611.67,-597.6 505.61,-597.6"/>
<polygon fill="black" stroke="black" points="395.06,-1080.22 404.13,-1086.38 400.31,-1081.14 404.58,-1081.88 404.58,-1081.88 404.58,-1081.88 400.31,-1081.14 405.68,-1077.51 395.06,-1080.22"/>
<text text-anchor="start" x="7" y="-1092" font-family="Arial" font-size="10.00">FOREIGN KEY (user_group_id) REFERENCES user_group(id) ON DELETE CASCADE</text>
</g>
<!-- public.club -->
<g id="node3" class="node">
<title>public.club</title>
<polygon fill="#efefef" stroke="none" points="609.41,-874.8 609.41,-910.4 916.01,-910.4 916.01,-874.8 609.41,-874.8"/>
<polygon fill="none" stroke="black" points="609.41,-874.8 609.41,-910.4 916.01,-910.4 916.01,-874.8 609.41,-874.8"/>
<text text-anchor="start" x="660.23" y="-888.2" font-family="Arial Bold" font-size="18.00">public.club</text>
<text text-anchor="start" x="740.71" y="-888.2" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="771.83" y="-888.2" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="609.41,-844 609.41,-874.8 916.01,-874.8 916.01,-844 609.41,-844"/>
<text text-anchor="start" x="616.41" y="-856.2" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="631.2" y="-856.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="609.41,-813.2 609.41,-844 916.01,-844 916.01,-813.2 609.41,-813.2"/>
<text text-anchor="start" x="616.41" y="-825.4" font-family="Arial" font-size="14.00">contentful_id </text>
<text text-anchor="start" x="699.69" y="-825.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(64)]</text>
<polygon fill="none" stroke="black" points="609.41,-782.4 609.41,-813.2 916.01,-813.2 916.01,-782.4 609.41,-782.4"/>
<text text-anchor="start" x="616.41" y="-794.6" font-family="Arial" font-size="14.00">name </text>
<text text-anchor="start" x="655.32" y="-794.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="609.41,-751.6 609.41,-782.4 916.01,-782.4 916.01,-751.6 609.41,-751.6"/>
<text text-anchor="start" x="616.41" y="-763.8" font-family="Arial" font-size="14.00">address_street_name </text>
<text text-anchor="start" x="755.72" y="-763.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="609.41,-720.8 609.41,-751.6 916.01,-751.6 916.01,-720.8 609.41,-720.8"/>
<text text-anchor="start" x="616.41" y="-733" font-family="Arial" font-size="14.00">address_building_number </text>
<text text-anchor="start" x="781.41" y="-733" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="609.41,-690 609.41,-720.8 916.01,-720.8 916.01,-690 609.41,-690"/>
<text text-anchor="start" x="616.41" y="-702.2" font-family="Arial" font-size="14.00">address_postal_code </text>
<text text-anchor="start" x="753.4" y="-702.2" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="609.41,-659.2 609.41,-690 916.01,-690 916.01,-659.2 609.41,-659.2"/>
<text text-anchor="start" x="616.41" y="-671.4" font-family="Arial" font-size="14.00">address_locality_name </text>
<text text-anchor="start" x="763.49" y="-671.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="609.41,-628.4 609.41,-659.2 916.01,-659.2 916.01,-628.4 609.41,-628.4"/>
<text text-anchor="start" x="616.41" y="-640.6" font-family="Arial" font-size="14.00">location_latitude </text>
<text text-anchor="start" x="721.49" y="-640.6" font-family="Arial" font-size="14.00" fill="#666666">[numeric(9,7)]</text>
<polygon fill="none" stroke="black" points="609.41,-597.6 609.41,-628.4 916.01,-628.4 916.01,-597.6 609.41,-597.6"/>
<text text-anchor="start" x="616.41" y="-609.8" font-family="Arial" font-size="14.00">location_longitude </text>
<text text-anchor="start" x="733.17" y="-609.8" font-family="Arial" font-size="14.00" fill="#666666">[numeric(9,7)]</text>
<polygon fill="none" stroke="black" points="609.41,-566.8 609.41,-597.6 916.01,-597.6 916.01,-566.8 609.41,-566.8"/>
<text text-anchor="start" x="616.41" y="-579" font-family="Arial" font-size="14.00">contact_name </text>
<text text-anchor="start" x="708.25" y="-579" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="609.41,-536 609.41,-566.8 916.01,-566.8 916.01,-536 609.41,-536"/>
<text text-anchor="start" x="616.41" y="-548.2" font-family="Arial" font-size="14.00">contact_website </text>
<text text-anchor="start" x="720.69" y="-548.2" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="609.41,-505.2 609.41,-536 916.01,-536 916.01,-505.2 609.41,-505.2"/>
<text text-anchor="start" x="616.41" y="-517.4" font-family="Arial" font-size="14.00">contact_phone_number </text>
<text text-anchor="start" x="767.41" y="-517.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="609.41,-474.4 609.41,-505.2 916.01,-505.2 916.01,-474.4 609.41,-474.4"/>
<text text-anchor="start" x="616.41" y="-486.6" font-family="Arial" font-size="14.00">contact_email_address </text>
<text text-anchor="start" x="764.27" y="-486.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="609.41,-443.6 609.41,-474.4 916.01,-474.4 916.01,-443.6 609.41,-443.6"/>
<text text-anchor="start" x="616.41" y="-455.8" font-family="Arial" font-size="14.00">contact_profile_image_url </text>
<text text-anchor="start" x="780.62" y="-455.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="609.41,-412.8 609.41,-443.6 916.01,-443.6 916.01,-412.8 609.41,-412.8"/>
<text text-anchor="start" x="616.41" y="-425" font-family="Arial" font-size="14.00">is_active </text>
<text text-anchor="start" x="674.77" y="-425" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="609.41,-382 609.41,-412.8 916.01,-412.8 916.01,-382 609.41,-382"/>
<text text-anchor="start" x="616.41" y="-394.2" font-family="Arial" font-size="14.00">main_image_id </text>
<text text-anchor="start" x="715.25" y="-394.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="609.41,-351.2 609.41,-382 916.01,-382 916.01,-351.2 609.41,-351.2"/>
<text text-anchor="start" x="616.41" y="-363.4" font-family="Arial" font-size="14.00">opening_times_as_json </text>
<text text-anchor="start" x="767.4" y="-363.4" font-family="Arial" font-size="14.00" fill="#666666">[json]</text>
<polygon fill="none" stroke="black" points="609.41,-320.4 609.41,-351.2 916.01,-351.2 916.01,-320.4 609.41,-320.4"/>
<text text-anchor="start" x="616.41" y="-332.6" font-family="Arial" font-size="14.00">operator_name </text>
<text text-anchor="start" x="715.25" y="-332.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="609.41,-289.6 609.41,-320.4 916.01,-320.4 916.01,-289.6 609.41,-289.6"/>
<text text-anchor="start" x="616.41" y="-301.8" font-family="Arial" font-size="14.00">court_pricing_as_json </text>
<text text-anchor="start" x="756.49" y="-301.8" font-family="Arial" font-size="14.00" fill="#666666">[json]</text>
<polygon fill="none" stroke="black" points="609.41,-258.8 609.41,-289.6 916.01,-289.6 916.01,-258.8 609.41,-258.8"/>
<text text-anchor="start" x="616.41" y="-271" font-family="Arial" font-size="14.00">timezone </text>
<text text-anchor="start" x="677.11" y="-271" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="609.41,-228 609.41,-258.8 916.01,-258.8 916.01,-228 609.41,-228"/>
<text text-anchor="start" x="616.41" y="-240.2" font-family="Arial" font-size="14.00">default_price_per_hour_amount </text>
<text text-anchor="start" x="818.78" y="-240.2" font-family="Arial" font-size="14.00" fill="#666666">[bigint]</text>
<polygon fill="none" stroke="black" points="609.41,-197.2 609.41,-228 916.01,-228 916.01,-197.2 609.41,-197.2"/>
<text text-anchor="start" x="616.41" y="-209.4" font-family="Arial" font-size="14.00">default_price_per_hour_currency </text>
<text text-anchor="start" x="825.76" y="-209.4" font-family="Arial" font-size="14.00" fill="#666666">[character(3)]</text>
<polygon fill="none" stroke="black" points="609.41,-166.4 609.41,-197.2 916.01,-197.2 916.01,-166.4 609.41,-166.4"/>
<text text-anchor="start" x="616.41" y="-178.6" font-family="Arial" font-size="14.00">description </text>
<text text-anchor="start" x="688.01" y="-178.6" font-family="Arial" font-size="14.00" fill="#666666">[text]</text>
<polygon fill="none" stroke="black" points="609.41,-135.6 609.41,-166.4 916.01,-166.4 916.01,-135.6 609.41,-135.6"/>
<text text-anchor="start" x="616.41" y="-147.8" font-family="Arial" font-size="14.00">subdivision_code </text>
<text text-anchor="start" x="727.71" y="-147.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="609.41,-104.8 609.41,-135.6 916.01,-135.6 916.01,-104.8 609.41,-104.8"/>
<text text-anchor="start" x="616.41" y="-117" font-family="Arial" font-size="14.00">wellpass_api_key </text>
<text text-anchor="start" x="730.03" y="-117" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="609.41,-74 609.41,-104.8 916.01,-104.8 916.01,-74 609.41,-74"/>
<text text-anchor="start" x="616.41" y="-86.2" font-family="Arial" font-size="14.00">is_wellpass_enabled </text>
<text text-anchor="start" x="749.5" y="-86.2" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="609.41,-43.2 609.41,-74 916.01,-74 916.01,-43.2 609.41,-43.2"/>
<text text-anchor="start" x="616.41" y="-55.4" font-family="Arial" font-size="14.00">is_shown_in_app </text>
<text text-anchor="start" x="728.49" y="-55.4" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
</g>
<!-- public.user_group_club&#45;&gt;public.club -->
<g id="edge2" class="edge">
<title>public.user_group_club:club_id&#45;&gt;public.club:id</title>
<path fill="none" stroke="black" d="M726.26,-1048.53C739.64,-1039.29 728.79,-1008.27 715.19,-989.6 685.95,-949.46 638.54,-993.82 609.41,-953.6 584.86,-919.69 566.54,-859.4 608.41,-859.4"/>
<polygon fill="black" stroke="black" points="726.18,-1048.55 715.36,-1046.76 721.02,-1049.92 716.84,-1051.03 716.84,-1051.03 716.84,-1051.03 721.02,-1049.92 717.67,-1055.46 726.18,-1048.55"/>
<text text-anchor="start" x="723.19" y="-1061.2" font-family="Arial" font-size="10.00">FOREIGN KEY (club_id) REFERENCES club(id) ON DELETE CASCADE</text>
</g>
</g>
</svg>
