<?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.access_grant Pages: 1 -->
<svg width="576pt" height="1372pt"
 viewBox="0.00 0.00 575.63 1372.00" 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 1368)">
<title>public.access_grant</title>
<polygon fill="white" stroke="none" points="-4,4 -4,-1368 571.63,-1368 571.63,4 -4,4"/>
<!-- public.access_grant -->
<g id="node1" class="node">
<title>public.access_grant</title>
<polygon fill="#efefef" stroke="none" points="56.53,-1282.2 56.53,-1317.8 336.47,-1317.8 336.47,-1282.2 56.53,-1282.2"/>
<polygon fill="none" stroke="black" points="56.53,-1282.2 56.53,-1317.8 336.47,-1317.8 336.47,-1282.2 56.53,-1282.2"/>
<text text-anchor="start" x="63.53" y="-1295.6" font-family="Arial Bold" font-size="18.00">public.access_grant</text>
<text text-anchor="start" x="204.98" y="-1295.6" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="236.09" y="-1295.6" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="56.53,-1251.4 56.53,-1282.2 336.47,-1282.2 336.47,-1251.4 56.53,-1251.4"/>
<text text-anchor="start" x="63.53" y="-1263.6" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="78.32" y="-1263.6" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="56.53,-1220.6 56.53,-1251.4 336.47,-1251.4 336.47,-1220.6 56.53,-1220.6"/>
<text text-anchor="start" x="63.53" y="-1232.8" font-family="Arial" font-size="14.00">club_id </text>
<text text-anchor="start" x="111.79" y="-1232.8" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="56.53,-1189.8 56.53,-1220.6 336.47,-1220.6 336.47,-1189.8 56.53,-1189.8"/>
<text text-anchor="start" x="63.53" y="-1202" font-family="Arial" font-size="14.00">created_at </text>
<text text-anchor="start" x="133.58" y="-1202" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="56.53,-1159 56.53,-1189.8 336.47,-1189.8 336.47,-1159 56.53,-1159"/>
<text text-anchor="start" x="63.53" y="-1171.2" font-family="Arial" font-size="14.00">entity_type </text>
<text text-anchor="start" x="135.13" y="-1171.2" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="56.53,-1128.2 56.53,-1159 336.47,-1159 336.47,-1128.2 56.53,-1128.2"/>
<text text-anchor="start" x="63.53" y="-1140.4" font-family="Arial" font-size="14.00">code </text>
<text text-anchor="start" x="97.78" y="-1140.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="56.53,-1097.4 56.53,-1128.2 336.47,-1128.2 336.47,-1097.4 56.53,-1097.4"/>
<text text-anchor="start" x="63.53" y="-1109.6" font-family="Arial" font-size="14.00">valid_from </text>
<text text-anchor="start" x="132" y="-1109.6" font-family="Arial" font-size="14.00" fill="#666666">[date]</text>
<polygon fill="none" stroke="black" points="56.53,-1066.6 56.53,-1097.4 336.47,-1097.4 336.47,-1066.6 56.53,-1066.6"/>
<text text-anchor="start" x="63.53" y="-1078.8" font-family="Arial" font-size="14.00">valid_till </text>
<text text-anchor="start" x="117.22" y="-1078.8" font-family="Arial" font-size="14.00" fill="#666666">[date]</text>
<polygon fill="none" stroke="black" points="56.53,-1035.8 56.53,-1066.6 336.47,-1066.6 336.47,-1035.8 56.53,-1035.8"/>
<text text-anchor="start" x="63.53" y="-1048" font-family="Arial" font-size="14.00">contentful_id </text>
<text text-anchor="start" x="146.82" y="-1048" font-family="Arial" font-size="14.00" fill="#666666">[varchar(64)]</text>
<polygon fill="none" stroke="black" stroke-width="3" points="55.03,-1034.3 55.03,-1319.3 337.97,-1319.3 337.97,-1034.3 55.03,-1034.3"/>
</g>
<!-- public.club -->
<g id="node2" class="node">
<title>public.club</title>
<polygon fill="#efefef" stroke="none" points="43.2,-874.8 43.2,-910.4 349.8,-910.4 349.8,-874.8 43.2,-874.8"/>
<polygon fill="none" stroke="black" points="43.2,-874.8 43.2,-910.4 349.8,-910.4 349.8,-874.8 43.2,-874.8"/>
<text text-anchor="start" x="94.01" y="-888.2" font-family="Arial Bold" font-size="18.00">public.club</text>
<text text-anchor="start" x="174.5" y="-888.2" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="205.61" y="-888.2" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="43.2,-844 43.2,-874.8 349.8,-874.8 349.8,-844 43.2,-844"/>
<text text-anchor="start" x="50.2" y="-856.2" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="64.99" y="-856.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="43.2,-813.2 43.2,-844 349.8,-844 349.8,-813.2 43.2,-813.2"/>
<text text-anchor="start" x="50.2" y="-825.4" font-family="Arial" font-size="14.00">contentful_id </text>
<text text-anchor="start" x="133.48" y="-825.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(64)]</text>
<polygon fill="none" stroke="black" points="43.2,-782.4 43.2,-813.2 349.8,-813.2 349.8,-782.4 43.2,-782.4"/>
<text text-anchor="start" x="50.2" y="-794.6" font-family="Arial" font-size="14.00">name </text>
<text text-anchor="start" x="89.11" y="-794.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="43.2,-751.6 43.2,-782.4 349.8,-782.4 349.8,-751.6 43.2,-751.6"/>
<text text-anchor="start" x="50.2" y="-763.8" font-family="Arial" font-size="14.00">address_street_name </text>
<text text-anchor="start" x="189.5" y="-763.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="43.2,-720.8 43.2,-751.6 349.8,-751.6 349.8,-720.8 43.2,-720.8"/>
<text text-anchor="start" x="50.2" y="-733" font-family="Arial" font-size="14.00">address_building_number </text>
<text text-anchor="start" x="215.2" y="-733" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="43.2,-690 43.2,-720.8 349.8,-720.8 349.8,-690 43.2,-690"/>
<text text-anchor="start" x="50.2" y="-702.2" font-family="Arial" font-size="14.00">address_postal_code </text>
<text text-anchor="start" x="187.19" y="-702.2" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="43.2,-659.2 43.2,-690 349.8,-690 349.8,-659.2 43.2,-659.2"/>
<text text-anchor="start" x="50.2" y="-671.4" font-family="Arial" font-size="14.00">address_locality_name </text>
<text text-anchor="start" x="197.28" y="-671.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="43.2,-628.4 43.2,-659.2 349.8,-659.2 349.8,-628.4 43.2,-628.4"/>
<text text-anchor="start" x="50.2" y="-640.6" font-family="Arial" font-size="14.00">location_latitude </text>
<text text-anchor="start" x="155.28" y="-640.6" font-family="Arial" font-size="14.00" fill="#666666">[numeric(9,7)]</text>
<polygon fill="none" stroke="black" points="43.2,-597.6 43.2,-628.4 349.8,-628.4 349.8,-597.6 43.2,-597.6"/>
<text text-anchor="start" x="50.2" y="-609.8" font-family="Arial" font-size="14.00">location_longitude </text>
<text text-anchor="start" x="166.96" y="-609.8" font-family="Arial" font-size="14.00" fill="#666666">[numeric(9,7)]</text>
<polygon fill="none" stroke="black" points="43.2,-566.8 43.2,-597.6 349.8,-597.6 349.8,-566.8 43.2,-566.8"/>
<text text-anchor="start" x="50.2" y="-579" font-family="Arial" font-size="14.00">contact_name </text>
<text text-anchor="start" x="142.03" y="-579" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="43.2,-536 43.2,-566.8 349.8,-566.8 349.8,-536 43.2,-536"/>
<text text-anchor="start" x="50.2" y="-548.2" font-family="Arial" font-size="14.00">contact_website </text>
<text text-anchor="start" x="154.48" y="-548.2" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="43.2,-505.2 43.2,-536 349.8,-536 349.8,-505.2 43.2,-505.2"/>
<text text-anchor="start" x="50.2" y="-517.4" font-family="Arial" font-size="14.00">contact_phone_number </text>
<text text-anchor="start" x="201.2" y="-517.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="43.2,-474.4 43.2,-505.2 349.8,-505.2 349.8,-474.4 43.2,-474.4"/>
<text text-anchor="start" x="50.2" y="-486.6" font-family="Arial" font-size="14.00">contact_email_address </text>
<text text-anchor="start" x="198.06" y="-486.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="43.2,-443.6 43.2,-474.4 349.8,-474.4 349.8,-443.6 43.2,-443.6"/>
<text text-anchor="start" x="50.2" y="-455.8" font-family="Arial" font-size="14.00">contact_profile_image_url </text>
<text text-anchor="start" x="214.41" y="-455.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="43.2,-412.8 43.2,-443.6 349.8,-443.6 349.8,-412.8 43.2,-412.8"/>
<text text-anchor="start" x="50.2" y="-425" font-family="Arial" font-size="14.00">is_active </text>
<text text-anchor="start" x="108.56" y="-425" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="43.2,-382 43.2,-412.8 349.8,-412.8 349.8,-382 43.2,-382"/>
<text text-anchor="start" x="50.2" y="-394.2" font-family="Arial" font-size="14.00">main_image_id </text>
<text text-anchor="start" x="149.03" y="-394.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="43.2,-351.2 43.2,-382 349.8,-382 349.8,-351.2 43.2,-351.2"/>
<text text-anchor="start" x="50.2" y="-363.4" font-family="Arial" font-size="14.00">opening_times_as_json </text>
<text text-anchor="start" x="201.19" y="-363.4" font-family="Arial" font-size="14.00" fill="#666666">[json]</text>
<polygon fill="none" stroke="black" points="43.2,-320.4 43.2,-351.2 349.8,-351.2 349.8,-320.4 43.2,-320.4"/>
<text text-anchor="start" x="50.2" y="-332.6" font-family="Arial" font-size="14.00">operator_name </text>
<text text-anchor="start" x="149.04" y="-332.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="43.2,-289.6 43.2,-320.4 349.8,-320.4 349.8,-289.6 43.2,-289.6"/>
<text text-anchor="start" x="50.2" y="-301.8" font-family="Arial" font-size="14.00">court_pricing_as_json </text>
<text text-anchor="start" x="190.28" y="-301.8" font-family="Arial" font-size="14.00" fill="#666666">[json]</text>
<polygon fill="none" stroke="black" points="43.2,-258.8 43.2,-289.6 349.8,-289.6 349.8,-258.8 43.2,-258.8"/>
<text text-anchor="start" x="50.2" y="-271" font-family="Arial" font-size="14.00">timezone </text>
<text text-anchor="start" x="110.9" 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 349.8,-258.8 349.8,-228 43.2,-228"/>
<text text-anchor="start" x="50.2" y="-240.2" font-family="Arial" font-size="14.00">default_price_per_hour_amount </text>
<text text-anchor="start" x="252.56" y="-240.2" font-family="Arial" font-size="14.00" fill="#666666">[bigint]</text>
<polygon fill="none" stroke="black" points="43.2,-197.2 43.2,-228 349.8,-228 349.8,-197.2 43.2,-197.2"/>
<text text-anchor="start" x="50.2" y="-209.4" font-family="Arial" font-size="14.00">default_price_per_hour_currency </text>
<text text-anchor="start" x="259.55" y="-209.4" font-family="Arial" font-size="14.00" fill="#666666">[character(3)]</text>
<polygon fill="none" stroke="black" points="43.2,-166.4 43.2,-197.2 349.8,-197.2 349.8,-166.4 43.2,-166.4"/>
<text text-anchor="start" x="50.2" y="-178.6" font-family="Arial" font-size="14.00">description </text>
<text text-anchor="start" x="121.79" y="-178.6" font-family="Arial" font-size="14.00" fill="#666666">[text]</text>
<polygon fill="none" stroke="black" points="43.2,-135.6 43.2,-166.4 349.8,-166.4 349.8,-135.6 43.2,-135.6"/>
<text text-anchor="start" x="50.2" y="-147.8" font-family="Arial" font-size="14.00">subdivision_code </text>
<text text-anchor="start" x="161.5" y="-147.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="43.2,-104.8 43.2,-135.6 349.8,-135.6 349.8,-104.8 43.2,-104.8"/>
<text text-anchor="start" x="50.2" y="-117" font-family="Arial" font-size="14.00">wellpass_api_key </text>
<text text-anchor="start" x="163.82" 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 349.8,-104.8 349.8,-74 43.2,-74"/>
<text text-anchor="start" x="50.2" y="-86.2" font-family="Arial" font-size="14.00">is_wellpass_enabled </text>
<text text-anchor="start" x="183.29" y="-86.2" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="43.2,-43.2 43.2,-74 349.8,-74 349.8,-43.2 43.2,-43.2"/>
<text text-anchor="start" x="50.2" y="-55.4" font-family="Arial" font-size="14.00">is_shown_in_app </text>
<text text-anchor="start" x="162.28" y="-55.4" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
</g>
<!-- public.access_grant&#45;&gt;public.club -->
<g id="edge1" class="edge">
<title>public.access_grant:club_id&#45;&gt;public.club:id</title>
<path fill="none" stroke="black" d="M347.41,-1234.15C422.14,-1205.74 431.11,-859.4 350.8,-859.4"/>
<polygon fill="black" stroke="black" points="347.63,-1234.11 336.97,-1231.51 342.38,-1235.09 338.12,-1235.88 338.12,-1235.88 338.12,-1235.88 342.38,-1235.09 338.62,-1240.36 347.63,-1234.11"/>
<text text-anchor="start" x="344.47" y="-1246" font-family="Arial" font-size="10.00">FOREIGN KEY (club_id) REFERENCES club(id)</text>
</g>
</g>
</svg>
