<?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 Pages: 1 -->
<svg width="6399pt" height="2362pt"
 viewBox="0.00 0.00 6399.45 2361.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 2357.6)">
<title>public.club</title>
<polygon fill="white" stroke="none" points="-4,4 -4,-2357.6 6395.45,-2357.6 6395.45,4 -4,4"/>
<!-- public.club -->
<g id="node1" class="node">
<title>public.club</title>
<polygon fill="#efefef" stroke="none" points="2897.97,-1189.8 2897.97,-1225.4 3204.57,-1225.4 3204.57,-1189.8 2897.97,-1189.8"/>
<polygon fill="none" stroke="black" points="2897.97,-1189.8 2897.97,-1225.4 3204.57,-1225.4 3204.57,-1189.8 2897.97,-1189.8"/>
<text text-anchor="start" x="2948.78" y="-1203.2" font-family="Arial Bold" font-size="18.00">public.club</text>
<text text-anchor="start" x="3029.27" y="-1203.2" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="3060.38" y="-1203.2" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="2897.97,-1159 2897.97,-1189.8 3204.57,-1189.8 3204.57,-1159 2897.97,-1159"/>
<text text-anchor="start" x="2904.97" y="-1171.2" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="2919.76" y="-1171.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="2897.97,-1128.2 2897.97,-1159 3204.57,-1159 3204.57,-1128.2 2897.97,-1128.2"/>
<text text-anchor="start" x="2904.97" y="-1140.4" font-family="Arial" font-size="14.00">contentful_id </text>
<text text-anchor="start" x="2988.25" y="-1140.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(64)]</text>
<polygon fill="none" stroke="black" points="2897.97,-1097.4 2897.97,-1128.2 3204.57,-1128.2 3204.57,-1097.4 2897.97,-1097.4"/>
<text text-anchor="start" x="2904.97" y="-1109.6" font-family="Arial" font-size="14.00">name </text>
<text text-anchor="start" x="2943.88" y="-1109.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="2897.97,-1066.6 2897.97,-1097.4 3204.57,-1097.4 3204.57,-1066.6 2897.97,-1066.6"/>
<text text-anchor="start" x="2904.97" y="-1078.8" font-family="Arial" font-size="14.00">address_street_name </text>
<text text-anchor="start" x="3044.27" y="-1078.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="2897.97,-1035.8 2897.97,-1066.6 3204.57,-1066.6 3204.57,-1035.8 2897.97,-1035.8"/>
<text text-anchor="start" x="2904.97" y="-1048" font-family="Arial" font-size="14.00">address_building_number </text>
<text text-anchor="start" x="3069.97" y="-1048" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="2897.97,-1005 2897.97,-1035.8 3204.57,-1035.8 3204.57,-1005 2897.97,-1005"/>
<text text-anchor="start" x="2904.97" y="-1017.2" font-family="Arial" font-size="14.00">address_postal_code </text>
<text text-anchor="start" x="3041.96" y="-1017.2" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="2897.97,-974.2 2897.97,-1005 3204.57,-1005 3204.57,-974.2 2897.97,-974.2"/>
<text text-anchor="start" x="2904.97" y="-986.4" font-family="Arial" font-size="14.00">address_locality_name </text>
<text text-anchor="start" x="3052.05" y="-986.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="2897.97,-943.4 2897.97,-974.2 3204.57,-974.2 3204.57,-943.4 2897.97,-943.4"/>
<text text-anchor="start" x="2904.97" y="-955.6" font-family="Arial" font-size="14.00">location_latitude </text>
<text text-anchor="start" x="3010.05" y="-955.6" font-family="Arial" font-size="14.00" fill="#666666">[numeric(9,7)]</text>
<polygon fill="none" stroke="black" points="2897.97,-912.6 2897.97,-943.4 3204.57,-943.4 3204.57,-912.6 2897.97,-912.6"/>
<text text-anchor="start" x="2904.97" y="-924.8" font-family="Arial" font-size="14.00">location_longitude </text>
<text text-anchor="start" x="3021.73" y="-924.8" font-family="Arial" font-size="14.00" fill="#666666">[numeric(9,7)]</text>
<polygon fill="none" stroke="black" points="2897.97,-881.8 2897.97,-912.6 3204.57,-912.6 3204.57,-881.8 2897.97,-881.8"/>
<text text-anchor="start" x="2904.97" y="-894" font-family="Arial" font-size="14.00">contact_name </text>
<text text-anchor="start" x="2996.8" y="-894" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="2897.97,-851 2897.97,-881.8 3204.57,-881.8 3204.57,-851 2897.97,-851"/>
<text text-anchor="start" x="2904.97" y="-863.2" font-family="Arial" font-size="14.00">contact_website </text>
<text text-anchor="start" x="3009.25" y="-863.2" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="2897.97,-820.2 2897.97,-851 3204.57,-851 3204.57,-820.2 2897.97,-820.2"/>
<text text-anchor="start" x="2904.97" y="-832.4" font-family="Arial" font-size="14.00">contact_phone_number </text>
<text text-anchor="start" x="3055.97" y="-832.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="2897.97,-789.4 2897.97,-820.2 3204.57,-820.2 3204.57,-789.4 2897.97,-789.4"/>
<text text-anchor="start" x="2904.97" y="-801.6" font-family="Arial" font-size="14.00">contact_email_address </text>
<text text-anchor="start" x="3052.83" y="-801.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="2897.97,-758.6 2897.97,-789.4 3204.57,-789.4 3204.57,-758.6 2897.97,-758.6"/>
<text text-anchor="start" x="2904.97" y="-770.8" font-family="Arial" font-size="14.00">contact_profile_image_url </text>
<text text-anchor="start" x="3069.18" y="-770.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="2897.97,-727.8 2897.97,-758.6 3204.57,-758.6 3204.57,-727.8 2897.97,-727.8"/>
<text text-anchor="start" x="2904.97" y="-740" font-family="Arial" font-size="14.00">is_active </text>
<text text-anchor="start" x="2963.33" y="-740" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="2897.97,-697 2897.97,-727.8 3204.57,-727.8 3204.57,-697 2897.97,-697"/>
<text text-anchor="start" x="2904.97" y="-709.2" font-family="Arial" font-size="14.00">main_image_id </text>
<text text-anchor="start" x="3003.8" y="-709.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="2897.97,-666.2 2897.97,-697 3204.57,-697 3204.57,-666.2 2897.97,-666.2"/>
<text text-anchor="start" x="2904.97" y="-678.4" font-family="Arial" font-size="14.00">opening_times_as_json </text>
<text text-anchor="start" x="3055.96" y="-678.4" font-family="Arial" font-size="14.00" fill="#666666">[json]</text>
<polygon fill="none" stroke="black" points="2897.97,-635.4 2897.97,-666.2 3204.57,-666.2 3204.57,-635.4 2897.97,-635.4"/>
<text text-anchor="start" x="2904.97" y="-647.6" font-family="Arial" font-size="14.00">operator_name </text>
<text text-anchor="start" x="3003.81" y="-647.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="2897.97,-604.6 2897.97,-635.4 3204.57,-635.4 3204.57,-604.6 2897.97,-604.6"/>
<text text-anchor="start" x="2904.97" y="-616.8" font-family="Arial" font-size="14.00">court_pricing_as_json </text>
<text text-anchor="start" x="3045.05" y="-616.8" font-family="Arial" font-size="14.00" fill="#666666">[json]</text>
<polygon fill="none" stroke="black" points="2897.97,-573.8 2897.97,-604.6 3204.57,-604.6 3204.57,-573.8 2897.97,-573.8"/>
<text text-anchor="start" x="2904.97" y="-586" font-family="Arial" font-size="14.00">timezone </text>
<text text-anchor="start" x="2965.67" y="-586" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="2897.97,-543 2897.97,-573.8 3204.57,-573.8 3204.57,-543 2897.97,-543"/>
<text text-anchor="start" x="2904.97" y="-555.2" font-family="Arial" font-size="14.00">default_price_per_hour_amount </text>
<text text-anchor="start" x="3107.33" y="-555.2" font-family="Arial" font-size="14.00" fill="#666666">[bigint]</text>
<polygon fill="none" stroke="black" points="2897.97,-512.2 2897.97,-543 3204.57,-543 3204.57,-512.2 2897.97,-512.2"/>
<text text-anchor="start" x="2904.97" y="-524.4" font-family="Arial" font-size="14.00">default_price_per_hour_currency </text>
<text text-anchor="start" x="3114.32" y="-524.4" font-family="Arial" font-size="14.00" fill="#666666">[character(3)]</text>
<polygon fill="none" stroke="black" points="2897.97,-481.4 2897.97,-512.2 3204.57,-512.2 3204.57,-481.4 2897.97,-481.4"/>
<text text-anchor="start" x="2904.97" y="-493.6" font-family="Arial" font-size="14.00">description </text>
<text text-anchor="start" x="2976.56" y="-493.6" font-family="Arial" font-size="14.00" fill="#666666">[text]</text>
<polygon fill="none" stroke="black" points="2897.97,-450.6 2897.97,-481.4 3204.57,-481.4 3204.57,-450.6 2897.97,-450.6"/>
<text text-anchor="start" x="2904.97" y="-462.8" font-family="Arial" font-size="14.00">subdivision_code </text>
<text text-anchor="start" x="3016.27" y="-462.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="2897.97,-419.8 2897.97,-450.6 3204.57,-450.6 3204.57,-419.8 2897.97,-419.8"/>
<text text-anchor="start" x="2904.97" y="-432" font-family="Arial" font-size="14.00">wellpass_api_key </text>
<text text-anchor="start" x="3018.59" y="-432" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="2897.97,-389 2897.97,-419.8 3204.57,-419.8 3204.57,-389 2897.97,-389"/>
<text text-anchor="start" x="2904.97" y="-401.2" font-family="Arial" font-size="14.00">is_wellpass_enabled </text>
<text text-anchor="start" x="3038.06" y="-401.2" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="2897.97,-358.2 2897.97,-389 3204.57,-389 3204.57,-358.2 2897.97,-358.2"/>
<text text-anchor="start" x="2904.97" y="-370.4" font-family="Arial" font-size="14.00">is_shown_in_app </text>
<text text-anchor="start" x="3017.05" y="-370.4" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" stroke-width="3" points="2896.47,-356.7 2896.47,-1226.9 3206.07,-1226.9 3206.07,-356.7 2896.47,-356.7"/>
</g>
<!-- public.image -->
<g id="node18" class="node">
<title>public.image</title>
<polygon fill="#efefef" stroke="none" points="2935.29,-197.2 2935.29,-232.8 3167.25,-232.8 3167.25,-197.2 2935.29,-197.2"/>
<polygon fill="none" stroke="black" points="2935.29,-197.2 2935.29,-232.8 3167.25,-232.8 3167.25,-197.2 2935.29,-197.2"/>
<text text-anchor="start" x="2942.29" y="-210.6" font-family="Arial Bold" font-size="18.00">public.image</text>
<text text-anchor="start" x="3035.76" y="-210.6" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="3066.88" y="-210.6" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="2935.29,-166.4 2935.29,-197.2 3167.25,-197.2 3167.25,-166.4 2935.29,-166.4"/>
<text text-anchor="start" x="2942.29" y="-178.6" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="2957.08" y="-178.6" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="2935.29,-135.6 2935.29,-166.4 3167.25,-166.4 3167.25,-135.6 2935.29,-135.6"/>
<text text-anchor="start" x="2942.29" y="-147.8" font-family="Arial" font-size="14.00">type </text>
<text text-anchor="start" x="2972.64" y="-147.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="2935.29,-104.8 2935.29,-135.6 3167.25,-135.6 3167.25,-104.8 2935.29,-104.8"/>
<text text-anchor="start" x="2942.29" y="-117" font-family="Arial" font-size="14.00">path </text>
<text text-anchor="start" x="2973.43" y="-117" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="2935.29,-74 2935.29,-104.8 3167.25,-104.8 3167.25,-74 2935.29,-74"/>
<text text-anchor="start" x="2942.29" y="-86.2" font-family="Arial" font-size="14.00">url </text>
<text text-anchor="start" x="2961.74" y="-86.2" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="2935.29,-43.2 2935.29,-74 3167.25,-74 3167.25,-43.2 2935.29,-43.2"/>
<text text-anchor="start" x="2942.29" y="-55.4" font-family="Arial" font-size="14.00">sort_index </text>
<text text-anchor="start" x="3010.77" y="-55.4" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
</g>
<!-- public.club&#45;&gt;public.image -->
<g id="edge17" class="edge">
<title>public.club:main_image_id&#45;&gt;public.image:id</title>
<path fill="none" stroke="black" d="M3215.78,-712.06C3440.84,-696.97 3401.19,-181.8 3168.25,-181.8"/>
<polygon fill="black" stroke="black" points="3215.9,-712.06 3205.75,-707.89 3210.57,-712.23 3206.24,-712.38 3206.24,-712.38 3206.24,-712.38 3210.57,-712.23 3206.05,-716.89 3215.9,-712.06"/>
<text text-anchor="start" x="3212.57" y="-722.4" font-family="Arial" font-size="10.00">FOREIGN KEY (main_image_id) REFERENCES image(id)</text>
</g>
<!-- public.club_facility -->
<g id="node2" class="node">
<title>public.club_facility</title>
<polygon fill="#efefef" stroke="none" points="60.8,-1843.6 60.8,-1879.2 339.74,-1879.2 339.74,-1843.6 60.8,-1843.6"/>
<polygon fill="none" stroke="black" points="60.8,-1843.6 60.8,-1879.2 339.74,-1879.2 339.74,-1843.6 60.8,-1843.6"/>
<text text-anchor="start" x="67.8" y="-1857" font-family="Arial Bold" font-size="18.00">public.club_facility</text>
<text text-anchor="start" x="208.25" y="-1857" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="239.37" y="-1857" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="60.8,-1812.8 60.8,-1843.6 339.74,-1843.6 339.74,-1812.8 60.8,-1812.8"/>
<text text-anchor="start" x="67.8" y="-1825" font-family="Arial" font-size="14.00">club_id </text>
<text text-anchor="start" x="116.05" y="-1825" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="60.8,-1782 60.8,-1812.8 339.74,-1812.8 339.74,-1782 60.8,-1782"/>
<text text-anchor="start" x="67.8" y="-1794.2" font-family="Arial" font-size="14.00">facility_id </text>
<text text-anchor="start" x="129.26" y="-1794.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</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="M350.88,-1826.93C447.93,-1801.03 310.84,-1385.4 392.27,-1307.6 493.02,-1211.34 2757.62,-1174.4 2896.97,-1174.4"/>
<polygon fill="black" stroke="black" points="351,-1826.92 340.52,-1823.69 345.7,-1827.58 341.41,-1828.12 341.41,-1828.12 341.41,-1828.12 345.7,-1827.58 341.63,-1832.62 351,-1826.92"/>
<text text-anchor="start" x="7" y="-1838.2" font-family="Arial" font-size="10.00">FOREIGN KEY (club_id) REFERENCES club(id) ON DELETE CASCADE</text>
</g>
<!-- public.club_image -->
<g id="node3" class="node">
<title>public.club_image</title>
<polygon fill="#efefef" stroke="none" points="444.29,-1843.6 444.29,-1879.2 716.25,-1879.2 716.25,-1843.6 444.29,-1843.6"/>
<polygon fill="none" stroke="black" points="444.29,-1843.6 444.29,-1879.2 716.25,-1879.2 716.25,-1843.6 444.29,-1843.6"/>
<text text-anchor="start" x="451.29" y="-1857" font-family="Arial Bold" font-size="18.00">public.club_image</text>
<text text-anchor="start" x="584.76" y="-1857" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="615.87" y="-1857" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="444.29,-1812.8 444.29,-1843.6 716.25,-1843.6 716.25,-1812.8 444.29,-1812.8"/>
<text text-anchor="start" x="451.29" y="-1825" font-family="Arial" font-size="14.00">club_id </text>
<text text-anchor="start" x="499.55" y="-1825" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="444.29,-1782 444.29,-1812.8 716.25,-1812.8 716.25,-1782 444.29,-1782"/>
<text text-anchor="start" x="451.29" y="-1794.2" font-family="Arial" font-size="14.00">image_id </text>
<text text-anchor="start" x="512" y="-1794.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
</g>
<!-- public.club_image&#45;&gt;public.club -->
<g id="edge2" class="edge">
<title>public.club_image:club_id&#45;&gt;public.club:id</title>
<path fill="none" stroke="black" d="M727.38,-1826.94C824.41,-1801.06 687.25,-1385.81 768.27,-1307.6 853.52,-1225.3 2778.48,-1174.4 2896.97,-1174.4"/>
<polygon fill="black" stroke="black" points="727.5,-1826.92 717.02,-1823.69 722.21,-1827.58 717.91,-1828.12 717.91,-1828.12 717.91,-1828.12 722.21,-1827.58 718.13,-1832.62 727.5,-1826.92"/>
<text text-anchor="start" x="383.5" y="-1838.2" font-family="Arial" font-size="10.00">FOREIGN KEY (club_id) REFERENCES club(id) ON DELETE CASCADE</text>
</g>
<!-- public.coach_club -->
<g id="node4" class="node">
<title>public.coach_club</title>
<polygon fill="#efefef" stroke="none" points="820.3,-1843.6 820.3,-1879.2 1090.24,-1879.2 1090.24,-1843.6 820.3,-1843.6"/>
<polygon fill="none" stroke="black" points="820.3,-1843.6 820.3,-1879.2 1090.24,-1879.2 1090.24,-1843.6 820.3,-1843.6"/>
<text text-anchor="start" x="827.3" y="-1857" font-family="Arial Bold" font-size="18.00">public.coach_club</text>
<text text-anchor="start" x="958.75" y="-1857" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="989.87" y="-1857" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="820.3,-1812.8 820.3,-1843.6 1090.24,-1843.6 1090.24,-1812.8 820.3,-1812.8"/>
<text text-anchor="start" x="827.3" y="-1825" font-family="Arial" font-size="14.00">coach_id </text>
<text text-anchor="start" x="887.23" y="-1825" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="820.3,-1782 820.3,-1812.8 1090.24,-1812.8 1090.24,-1782 820.3,-1782"/>
<text text-anchor="start" x="827.3" y="-1794.2" font-family="Arial" font-size="14.00">club_id </text>
<text text-anchor="start" x="875.56" y="-1794.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
</g>
<!-- public.coach_club&#45;&gt;public.club -->
<g id="edge3" class="edge">
<title>public.coach_club:club_id&#45;&gt;public.club:id</title>
<path fill="none" stroke="black" d="M1101.34,-1796.06C1191.82,-1770.31 1066.42,-1381.36 1142.27,-1307.6 1212.36,-1239.45 2799.21,-1174.4 2896.97,-1174.4"/>
<polygon fill="black" stroke="black" points="1101.48,-1796.04 1090.98,-1792.9 1096.2,-1796.74 1091.9,-1797.31 1091.9,-1797.31 1091.9,-1797.31 1096.2,-1796.74 1092.16,-1801.82 1101.48,-1796.04"/>
<text text-anchor="start" x="757.5" y="-1807.4" font-family="Arial" font-size="10.00">FOREIGN KEY (club_id) REFERENCES club(id) ON DELETE CASCADE</text>
</g>
<!-- public.court -->
<g id="node5" class="node">
<title>public.court</title>
<polygon fill="#efefef" stroke="none" points="1194.79,-1951.4 1194.79,-1987 1419.75,-1987 1419.75,-1951.4 1194.79,-1951.4"/>
<polygon fill="none" stroke="black" points="1194.79,-1951.4 1194.79,-1987 1419.75,-1987 1419.75,-1951.4 1194.79,-1951.4"/>
<text text-anchor="start" x="1201.79" y="-1964.8" font-family="Arial Bold" font-size="18.00">public.court</text>
<text text-anchor="start" x="1288.26" y="-1964.8" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="1319.38" y="-1964.8" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="1194.79,-1920.6 1194.79,-1951.4 1419.75,-1951.4 1419.75,-1920.6 1194.79,-1920.6"/>
<text text-anchor="start" x="1201.79" y="-1932.8" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="1216.57" y="-1932.8" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="1194.79,-1889.8 1194.79,-1920.6 1419.75,-1920.6 1419.75,-1889.8 1194.79,-1889.8"/>
<text text-anchor="start" x="1201.79" y="-1902" font-family="Arial" font-size="14.00">name </text>
<text text-anchor="start" x="1240.7" y="-1902" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="1194.79,-1859 1194.79,-1889.8 1419.75,-1889.8 1419.75,-1859 1194.79,-1859"/>
<text text-anchor="start" x="1201.79" y="-1871.2" font-family="Arial" font-size="14.00">club_id </text>
<text text-anchor="start" x="1250.04" y="-1871.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="1194.79,-1828.2 1194.79,-1859 1419.75,-1859 1419.75,-1828.2 1194.79,-1828.2"/>
<text text-anchor="start" x="1201.79" y="-1840.4" font-family="Arial" font-size="14.00">location_type </text>
<text text-anchor="start" x="1288.18" y="-1840.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="1194.79,-1797.4 1194.79,-1828.2 1419.75,-1828.2 1419.75,-1797.4 1194.79,-1797.4"/>
<text text-anchor="start" x="1201.79" y="-1809.6" font-family="Arial" font-size="14.00">match_type </text>
<text text-anchor="start" x="1278.05" y="-1809.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="1194.79,-1766.6 1194.79,-1797.4 1419.75,-1797.4 1419.75,-1766.6 1194.79,-1766.6"/>
<text text-anchor="start" x="1201.79" y="-1778.8" font-family="Arial" font-size="14.00">contentful_id </text>
<text text-anchor="start" x="1285.07" y="-1778.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(64)]</text>
<polygon fill="none" stroke="black" points="1194.79,-1735.8 1194.79,-1766.6 1419.75,-1766.6 1419.75,-1735.8 1194.79,-1735.8"/>
<text text-anchor="start" x="1201.79" y="-1748" font-family="Arial" font-size="14.00">is_active </text>
<text text-anchor="start" x="1260.15" y="-1748" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="1194.79,-1705 1194.79,-1735.8 1419.75,-1735.8 1419.75,-1705 1194.79,-1705"/>
<text text-anchor="start" x="1201.79" y="-1717.2" font-family="Arial" font-size="14.00">sport_id </text>
<text text-anchor="start" x="1255.48" y="-1717.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="1194.79,-1674.2 1194.79,-1705 1419.75,-1705 1419.75,-1674.2 1194.79,-1674.2"/>
<text text-anchor="start" x="1201.79" y="-1686.4" font-family="Arial" font-size="14.00">is_premium </text>
<text text-anchor="start" x="1278.03" y="-1686.4" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
</g>
<!-- public.court&#45;&gt;public.club -->
<g id="edge4" class="edge">
<title>public.court:club_id&#45;&gt;public.club:id</title>
<path fill="none" stroke="black" d="M1430.81,-1873.27C1538.06,-1847.68 1384.57,-1394.67 1471.27,-1307.6 1583.53,-1194.86 2737.87,-1174.4 2896.97,-1174.4"/>
<polygon fill="black" stroke="black" points="1431.02,-1873.25 1420.58,-1869.89 1425.72,-1873.84 1421.42,-1874.33 1421.42,-1874.33 1421.42,-1874.33 1425.72,-1873.84 1421.59,-1878.83 1431.02,-1873.25"/>
<text text-anchor="start" x="1427.75" y="-1884.4" font-family="Arial" font-size="10.00">FOREIGN KEY (club_id) REFERENCES club(id) ON DELETE CASCADE</text>
</g>
<!-- public.game -->
<g id="node6" class="node">
<title>public.game</title>
<polygon fill="#efefef" stroke="none" points="1523.76,-2274.8 1523.76,-2310.4 1870.78,-2310.4 1870.78,-2274.8 1523.76,-2274.8"/>
<polygon fill="none" stroke="black" points="1523.76,-2274.8 1523.76,-2310.4 1870.78,-2310.4 1870.78,-2274.8 1523.76,-2274.8"/>
<text text-anchor="start" x="1590.79" y="-2288.2" font-family="Arial Bold" font-size="18.00">public.game</text>
<text text-anchor="start" x="1679.26" y="-2288.2" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="1710.38" y="-2288.2" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="1523.76,-2244 1523.76,-2274.8 1870.78,-2274.8 1870.78,-2244 1523.76,-2244"/>
<text text-anchor="start" x="1530.76" y="-2256.2" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="1545.54" y="-2256.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="1523.76,-2213.2 1523.76,-2244 1870.78,-2244 1870.78,-2213.2 1523.76,-2213.2"/>
<text text-anchor="start" x="1530.76" y="-2225.4" font-family="Arial" font-size="14.00">court_id </text>
<text text-anchor="start" x="1584.45" y="-2225.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="1523.76,-2182.4 1523.76,-2213.2 1870.78,-2213.2 1870.78,-2182.4 1523.76,-2182.4"/>
<text text-anchor="start" x="1530.76" y="-2194.6" font-family="Arial" font-size="14.00">club_id </text>
<text text-anchor="start" x="1579.01" y="-2194.6" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="1523.76,-2151.6 1523.76,-2182.4 1870.78,-2182.4 1870.78,-2151.6 1523.76,-2151.6"/>
<text text-anchor="start" x="1530.76" y="-2163.8" font-family="Arial" font-size="14.00">coach_id </text>
<text text-anchor="start" x="1590.69" y="-2163.8" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="1523.76,-2120.8 1523.76,-2151.6 1870.78,-2151.6 1870.78,-2120.8 1523.76,-2120.8"/>
<text text-anchor="start" x="1530.76" y="-2133" font-family="Arial" font-size="14.00">kind </text>
<text text-anchor="start" x="1560.33" y="-2133" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="1523.76,-2090 1523.76,-2120.8 1870.78,-2120.8 1870.78,-2090 1523.76,-2090"/>
<text text-anchor="start" x="1530.76" y="-2102.2" font-family="Arial" font-size="14.00">phase </text>
<text text-anchor="start" x="1572.79" y="-2102.2" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="1523.76,-2059.2 1523.76,-2090 1870.78,-2090 1870.78,-2059.2 1523.76,-2059.2"/>
<text text-anchor="start" x="1530.76" y="-2071.4" font-family="Arial" font-size="14.00">match_period_starts_at </text>
<text text-anchor="start" x="1680.95" y="-2071.4" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="1523.76,-2028.4 1523.76,-2059.2 1870.78,-2059.2 1870.78,-2028.4 1523.76,-2028.4"/>
<text text-anchor="start" x="1530.76" y="-2040.6" font-family="Arial" font-size="14.00">match_period_ends_at </text>
<text text-anchor="start" x="1677.08" y="-2040.6" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="1523.76,-1997.6 1523.76,-2028.4 1870.78,-2028.4 1870.78,-1997.6 1523.76,-1997.6"/>
<text text-anchor="start" x="1530.76" y="-2009.8" font-family="Arial" font-size="14.00">court_fee_amount </text>
<text text-anchor="start" x="1647.5" y="-2009.8" font-family="Arial" font-size="14.00" fill="#666666">[bigint]</text>
<polygon fill="none" stroke="black" points="1523.76,-1966.8 1523.76,-1997.6 1870.78,-1997.6 1870.78,-1966.8 1523.76,-1966.8"/>
<text text-anchor="start" x="1530.76" y="-1979" font-family="Arial" font-size="14.00">court_fee_currency </text>
<text text-anchor="start" x="1654.49" y="-1979" font-family="Arial" font-size="14.00" fill="#666666">[character(3)]</text>
<polygon fill="none" stroke="black" points="1523.76,-1936 1523.76,-1966.8 1870.78,-1966.8 1870.78,-1936 1523.76,-1936"/>
<text text-anchor="start" x="1530.76" y="-1948.2" font-family="Arial" font-size="14.00">created_at </text>
<text text-anchor="start" x="1600.8" y="-1948.2" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="1523.76,-1905.2 1523.76,-1936 1870.78,-1936 1870.78,-1905.2 1523.76,-1905.2"/>
<text text-anchor="start" x="1530.76" y="-1917.4" font-family="Arial" font-size="14.00">cancelled_at </text>
<text text-anchor="start" x="1613.26" y="-1917.4" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="1523.76,-1874.4 1523.76,-1905.2 1870.78,-1905.2 1870.78,-1874.4 1523.76,-1874.4"/>
<text text-anchor="start" x="1530.76" y="-1886.6" font-family="Arial" font-size="14.00">scheduled_at </text>
<text text-anchor="start" x="1617.94" y="-1886.6" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="1523.76,-1843.6 1523.76,-1874.4 1870.78,-1874.4 1870.78,-1843.6 1523.76,-1843.6"/>
<text text-anchor="start" x="1530.76" y="-1855.8" font-family="Arial" font-size="14.00">terminated_at </text>
<text text-anchor="start" x="1620.25" y="-1855.8" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="1523.76,-1812.8 1523.76,-1843.6 1870.78,-1843.6 1870.78,-1812.8 1523.76,-1812.8"/>
<text text-anchor="start" x="1530.76" y="-1825" font-family="Arial" font-size="14.00">cancelled_by_id </text>
<text text-anchor="start" x="1635.05" y="-1825" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="1523.76,-1782 1523.76,-1812.8 1870.78,-1812.8 1870.78,-1782 1523.76,-1782"/>
<text text-anchor="start" x="1530.76" y="-1794.2" font-family="Arial" font-size="14.00">note </text>
<text text-anchor="start" x="1561.89" y="-1794.2" font-family="Arial" font-size="14.00" fill="#666666">[text]</text>
<polygon fill="none" stroke="black" points="1523.76,-1751.2 1523.76,-1782 1870.78,-1782 1870.78,-1751.2 1523.76,-1751.2"/>
<text text-anchor="start" x="1530.76" y="-1763.4" font-family="Arial" font-size="14.00">schedule_till_latest </text>
<text text-anchor="start" x="1652.94" y="-1763.4" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="1523.76,-1720.4 1523.76,-1751.2 1870.78,-1751.2 1870.78,-1720.4 1523.76,-1720.4"/>
<text text-anchor="start" x="1530.76" y="-1732.6" font-family="Arial" font-size="14.00">match_period_duration_in_seconds </text>
<text text-anchor="start" x="1756.47" y="-1732.6" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
<polygon fill="none" stroke="black" points="1523.76,-1689.6 1523.76,-1720.4 1870.78,-1720.4 1870.78,-1689.6 1523.76,-1689.6"/>
<text text-anchor="start" x="1530.76" y="-1701.8" font-family="Arial" font-size="14.00">day_index </text>
<text text-anchor="start" x="1598.47" y="-1701.8" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
<polygon fill="none" stroke="black" points="1523.76,-1658.8 1523.76,-1689.6 1870.78,-1689.6 1870.78,-1658.8 1523.76,-1658.8"/>
<text text-anchor="start" x="1530.76" y="-1671" font-family="Arial" font-size="14.00">day_name </text>
<text text-anchor="start" x="1600.02" y="-1671" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="1523.76,-1628 1523.76,-1658.8 1870.78,-1658.8 1870.78,-1628 1523.76,-1628"/>
<text text-anchor="start" x="1530.76" y="-1640.2" font-family="Arial" font-size="14.00">running_at </text>
<text text-anchor="start" x="1600.81" y="-1640.2" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="1523.76,-1597.2 1523.76,-1628 1870.78,-1628 1870.78,-1597.2 1523.76,-1597.2"/>
<text text-anchor="start" x="1530.76" y="-1609.4" font-family="Arial" font-size="14.00">finished_at </text>
<text text-anchor="start" x="1602.36" y="-1609.4" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="1523.76,-1566.4 1523.76,-1597.2 1870.78,-1597.2 1870.78,-1566.4 1523.76,-1566.4"/>
<text text-anchor="start" x="1530.76" y="-1578.6" font-family="Arial" font-size="14.00">confirming_at </text>
<text text-anchor="start" x="1618.69" y="-1578.6" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="1523.76,-1535.6 1523.76,-1566.4 1870.78,-1566.4 1870.78,-1535.6 1523.76,-1535.6"/>
<text text-anchor="start" x="1530.76" y="-1547.8" font-family="Arial" font-size="14.00">match_series_id </text>
<text text-anchor="start" x="1636.58" y="-1547.8" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="1523.76,-1504.8 1523.76,-1535.6 1870.78,-1535.6 1870.78,-1504.8 1523.76,-1504.8"/>
<text text-anchor="start" x="1530.76" y="-1517" font-family="Arial" font-size="14.00">created_by_id </text>
<text text-anchor="start" x="1622.6" y="-1517" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="1523.76,-1474 1523.76,-1504.8 1870.78,-1504.8 1870.78,-1474 1523.76,-1474"/>
<text text-anchor="start" x="1530.76" y="-1486.2" font-family="Arial" font-size="14.00">split_payment_id </text>
<text text-anchor="start" x="1639.71" y="-1486.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="1523.76,-1443.2 1523.76,-1474 1870.78,-1474 1870.78,-1443.2 1523.76,-1443.2"/>
<text text-anchor="start" x="1530.76" y="-1455.4" font-family="Arial" font-size="14.00">version </text>
<text text-anchor="start" x="1579.78" y="-1455.4" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
<polygon fill="none" stroke="black" points="1523.76,-1412.4 1523.76,-1443.2 1870.78,-1443.2 1870.78,-1412.4 1523.76,-1412.4"/>
<text text-anchor="start" x="1530.76" y="-1424.6" font-family="Arial" font-size="14.00">is_split_payment_migrated </text>
<text text-anchor="start" x="1701.18" y="-1424.6" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="1523.76,-1381.6 1523.76,-1412.4 1870.78,-1412.4 1870.78,-1381.6 1523.76,-1381.6"/>
<text text-anchor="start" x="1530.76" y="-1393.8" font-family="Arial" font-size="14.00">abandoned_at </text>
<text text-anchor="start" x="1624.18" y="-1393.8" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="1523.76,-1350.8 1523.76,-1381.6 1870.78,-1381.6 1870.78,-1350.8 1523.76,-1350.8"/>
<text text-anchor="start" x="1530.76" y="-1363" font-family="Arial" font-size="14.00">reserved_at </text>
<text text-anchor="start" x="1608.58" y="-1363" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
</g>
<!-- public.game&#45;&gt;public.club -->
<g id="edge5" class="edge">
<title>public.game:club_id&#45;&gt;public.club:id</title>
<path fill="none" stroke="black" d="M1881.46,-2194.84C1963.01,-2141.24 1858.37,-1377.78 1923.27,-1307.6 1997.41,-1227.43 2787.77,-1174.4 2896.97,-1174.4"/>
<polygon fill="black" stroke="black" points="1881.66,-2194.77 1870.78,-2193.4 1876.56,-2196.34 1872.42,-2197.6 1872.42,-2197.6 1872.42,-2197.6 1876.56,-2196.34 1873.42,-2202 1881.66,-2194.77"/>
<text text-anchor="start" x="1878.78" y="-2207.8" font-family="Arial" font-size="10.00">FOREIGN KEY (club_id) REFERENCES club(id)</text>
</g>
<!-- public.group -->
<g id="node7" class="node">
<title>public.group</title>
<polygon fill="#efefef" stroke="none" points="1975.28,-1889.8 1975.28,-1925.4 2205.26,-1925.4 2205.26,-1889.8 1975.28,-1889.8"/>
<polygon fill="none" stroke="black" points="1975.28,-1889.8 1975.28,-1925.4 2205.26,-1925.4 2205.26,-1889.8 1975.28,-1889.8"/>
<text text-anchor="start" x="1982.28" y="-1903.2" font-family="Arial Bold" font-size="18.00">public.group</text>
<text text-anchor="start" x="2073.77" y="-1903.2" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="2104.88" y="-1903.2" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="1975.28,-1859 1975.28,-1889.8 2205.26,-1889.8 2205.26,-1859 1975.28,-1859"/>
<text text-anchor="start" x="1982.28" y="-1871.2" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="1997.07" y="-1871.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="1975.28,-1828.2 1975.28,-1859 2205.26,-1859 2205.26,-1828.2 1975.28,-1828.2"/>
<text text-anchor="start" x="1982.28" y="-1840.4" font-family="Arial" font-size="14.00">club_id </text>
<text text-anchor="start" x="2030.54" y="-1840.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="1975.28,-1797.4 1975.28,-1828.2 2205.26,-1828.2 2205.26,-1797.4 1975.28,-1797.4"/>
<text text-anchor="start" x="1982.28" y="-1809.6" font-family="Arial" font-size="14.00">name </text>
<text text-anchor="start" x="2021.19" y="-1809.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="1975.28,-1766.6 1975.28,-1797.4 2205.26,-1797.4 2205.26,-1766.6 1975.28,-1766.6"/>
<text text-anchor="start" x="1982.28" y="-1778.8" font-family="Arial" font-size="14.00">keycloak_id </text>
<text text-anchor="start" x="2059.32" y="-1778.8" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="1975.28,-1735.8 1975.28,-1766.6 2205.26,-1766.6 2205.26,-1735.8 1975.28,-1735.8"/>
<text text-anchor="start" x="1982.28" y="-1748" font-family="Arial" font-size="14.00">role_id </text>
<text text-anchor="start" x="2028.2" y="-1748" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
</g>
<!-- public.group&#45;&gt;public.club -->
<g id="edge6" class="edge">
<title>public.group:club_id&#45;&gt;public.club:id</title>
<path fill="none" stroke="black" d="M2216.4,-1842.39C2317.13,-1816.87 2179.88,-1394.05 2257.27,-1307.6 2354.12,-1199.42 2751.77,-1174.4 2896.97,-1174.4"/>
<polygon fill="black" stroke="black" points="2216.52,-1842.38 2206.06,-1839.09 2211.22,-1843.01 2206.92,-1843.52 2206.92,-1843.52 2206.92,-1843.52 2211.22,-1843.01 2207.12,-1848.03 2216.52,-1842.38"/>
<text text-anchor="start" x="2213.26" y="-1853.6" font-family="Arial" font-size="10.00">FOREIGN KEY (club_id) REFERENCES club(id)</text>
</g>
<!-- public.liked_clubs -->
<g id="node8" class="node">
<title>public.liked_clubs</title>
<polygon fill="#efefef" stroke="none" points="2309.79,-1843.6 2309.79,-1879.2 2580.75,-1879.2 2580.75,-1843.6 2309.79,-1843.6"/>
<polygon fill="none" stroke="black" points="2309.79,-1843.6 2309.79,-1879.2 2580.75,-1879.2 2580.75,-1843.6 2309.79,-1843.6"/>
<text text-anchor="start" x="2316.79" y="-1857" font-family="Arial Bold" font-size="18.00">public.liked_clubs</text>
<text text-anchor="start" x="2449.26" y="-1857" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="2480.38" y="-1857" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="2309.79,-1812.8 2309.79,-1843.6 2580.75,-1843.6 2580.75,-1812.8 2309.79,-1812.8"/>
<text text-anchor="start" x="2316.79" y="-1825" font-family="Arial" font-size="14.00">user_id </text>
<text text-anchor="start" x="2366.59" y="-1825" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="2309.79,-1782 2309.79,-1812.8 2580.75,-1812.8 2580.75,-1782 2309.79,-1782"/>
<text text-anchor="start" x="2316.79" y="-1794.2" font-family="Arial" font-size="14.00">club_id </text>
<text text-anchor="start" x="2365.04" y="-1794.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
</g>
<!-- public.liked_clubs&#45;&gt;public.club -->
<g id="edge7" class="edge">
<title>public.liked_clubs:club_id&#45;&gt;public.club:id</title>
<path fill="none" stroke="black" d="M2591.91,-1796.1C2683.42,-1771.2 2573.18,-1394.69 2633.27,-1307.6 2707.83,-1199.52 2765.67,-1174.4 2896.97,-1174.4"/>
<polygon fill="black" stroke="black" points="2592,-1796.09 2581.52,-1792.89 2586.71,-1796.77 2582.42,-1797.32 2582.42,-1797.32 2582.42,-1797.32 2586.71,-1796.77 2582.65,-1801.82 2592,-1796.09"/>
<text text-anchor="start" x="2248.01" y="-1807.4" font-family="Arial" font-size="10.00">FOREIGN KEY (club_id) REFERENCES club(id) ON DELETE CASCADE</text>
</g>
<!-- public.training_schedule -->
<g id="node9" class="node">
<title>public.training_schedule</title>
<polygon fill="#efefef" stroke="none" points="2685.3,-1905.2 2685.3,-1940.8 3001.24,-1940.8 3001.24,-1905.2 2685.3,-1905.2"/>
<polygon fill="none" stroke="black" points="2685.3,-1905.2 2685.3,-1940.8 3001.24,-1940.8 3001.24,-1905.2 2685.3,-1905.2"/>
<text text-anchor="start" x="2692.3" y="-1918.6" font-family="Arial Bold" font-size="18.00">public.training_schedule</text>
<text text-anchor="start" x="2869.75" y="-1918.6" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="2900.87" y="-1918.6" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="2685.3,-1874.4 2685.3,-1905.2 3001.24,-1905.2 3001.24,-1874.4 2685.3,-1874.4"/>
<text text-anchor="start" x="2692.3" y="-1886.6" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="2707.09" y="-1886.6" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="2685.3,-1843.6 2685.3,-1874.4 3001.24,-1874.4 3001.24,-1843.6 2685.3,-1843.6"/>
<text text-anchor="start" x="2692.3" y="-1855.8" font-family="Arial" font-size="14.00">club_id </text>
<text text-anchor="start" x="2740.55" y="-1855.8" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="2685.3,-1812.8 2685.3,-1843.6 3001.24,-1843.6 3001.24,-1812.8 2685.3,-1812.8"/>
<text text-anchor="start" x="2692.3" y="-1825" font-family="Arial" font-size="14.00">coach_id </text>
<text text-anchor="start" x="2752.23" y="-1825" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="2685.3,-1782 2685.3,-1812.8 3001.24,-1812.8 3001.24,-1782 2685.3,-1782"/>
<text text-anchor="start" x="2692.3" y="-1794.2" font-family="Arial" font-size="14.00">contentful_id </text>
<text text-anchor="start" x="2775.58" y="-1794.2" font-family="Arial" font-size="14.00" fill="#666666">[varchar(64)]</text>
<polygon fill="none" stroke="black" points="2685.3,-1751.2 2685.3,-1782 3001.24,-1782 3001.24,-1751.2 2685.3,-1751.2"/>
<text text-anchor="start" x="2692.3" y="-1763.4" font-family="Arial" font-size="14.00">training_time_as_json </text>
<text text-anchor="start" x="2832.38" y="-1763.4" font-family="Arial" font-size="14.00" fill="#666666">[json]</text>
<polygon fill="none" stroke="black" points="2685.3,-1720.4 2685.3,-1751.2 3001.24,-1751.2 3001.24,-1720.4 2685.3,-1720.4"/>
<text text-anchor="start" x="2692.3" y="-1732.6" font-family="Arial" font-size="14.00">is_visible </text>
<text text-anchor="start" x="2752.99" y="-1732.6" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
</g>
<!-- public.training_schedule&#45;&gt;public.club -->
<g id="edge8" class="edge">
<title>public.training_schedule:club_id&#45;&gt;public.club:id</title>
<path fill="none" stroke="black" d="M3012.52,-1857.8C3136.33,-1825.98 2746.81,-1174.4 2896.97,-1174.4"/>
<polygon fill="black" stroke="black" points="3012.5,-1857.8 3002.05,-1854.49 3007.21,-1858.42 3002.9,-1858.92 3002.9,-1858.92 3002.9,-1858.92 3007.21,-1858.42 3003.1,-1863.43 3012.5,-1857.8"/>
<text text-anchor="start" x="3009.24" y="-1869" font-family="Arial" font-size="10.00">FOREIGN KEY (club_id) REFERENCES club(id)</text>
</g>
<!-- public.user_group_club -->
<g id="node10" class="node">
<title>public.user_group_club</title>
<polygon fill="#efefef" stroke="none" points="3105.79,-1843.6 3105.79,-1879.2 3414.75,-1879.2 3414.75,-1843.6 3105.79,-1843.6"/>
<polygon fill="none" stroke="black" points="3105.79,-1843.6 3105.79,-1879.2 3414.75,-1879.2 3414.75,-1843.6 3105.79,-1843.6"/>
<text text-anchor="start" x="3112.79" y="-1857" font-family="Arial Bold" font-size="18.00">public.user_group_club</text>
<text text-anchor="start" x="3283.26" y="-1857" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="3314.37" y="-1857" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="3105.79,-1812.8 3105.79,-1843.6 3414.75,-1843.6 3414.75,-1812.8 3105.79,-1812.8"/>
<text text-anchor="start" x="3112.79" y="-1825" font-family="Arial" font-size="14.00">user_group_id </text>
<text text-anchor="start" x="3206.19" y="-1825" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="3105.79,-1782 3105.79,-1812.8 3414.75,-1812.8 3414.75,-1782 3105.79,-1782"/>
<text text-anchor="start" x="3112.79" y="-1794.2" font-family="Arial" font-size="14.00">club_id </text>
<text text-anchor="start" x="3161.05" y="-1794.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
</g>
<!-- public.user_group_club&#45;&gt;public.club -->
<g id="edge9" class="edge">
<title>public.user_group_club:club_id&#45;&gt;public.club:id</title>
<path fill="none" stroke="black" d="M3094.77,-1796.12C2984.29,-1764.98 3342.12,-1174.4 3205.57,-1174.4"/>
<polygon fill="black" stroke="black" points="3094.54,-1796.09 3103.89,-1801.82 3099.83,-1796.77 3104.13,-1797.32 3104.13,-1797.32 3104.13,-1797.32 3099.83,-1796.77 3105.03,-1792.89 3094.54,-1796.09"/>
<text text-anchor="start" x="3111.79" y="-1807.4" font-family="Arial" font-size="10.00">FOREIGN KEY (club_id) REFERENCES club(id) ON DELETE CASCADE</text>
</g>
<!-- public.opening_time -->
<g id="node11" class="node">
<title>public.opening_time</title>
<polygon fill="#efefef" stroke="none" points="3518.79,-1951.4 3518.79,-1987 3805.75,-1987 3805.75,-1951.4 3518.79,-1951.4"/>
<polygon fill="none" stroke="black" points="3518.79,-1951.4 3518.79,-1987 3805.75,-1987 3805.75,-1951.4 3518.79,-1951.4"/>
<text text-anchor="start" x="3525.79" y="-1964.8" font-family="Arial Bold" font-size="18.00">public.opening_time</text>
<text text-anchor="start" x="3674.26" y="-1964.8" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="3705.38" y="-1964.8" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="3518.79,-1920.6 3518.79,-1951.4 3805.75,-1951.4 3805.75,-1920.6 3518.79,-1920.6"/>
<text text-anchor="start" x="3525.79" y="-1932.8" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="3540.57" y="-1932.8" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="3518.79,-1889.8 3518.79,-1920.6 3805.75,-1920.6 3805.75,-1889.8 3518.79,-1889.8"/>
<text text-anchor="start" x="3525.79" y="-1902" font-family="Arial" font-size="14.00">club_id </text>
<text text-anchor="start" x="3574.04" y="-1902" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="3518.79,-1859 3518.79,-1889.8 3805.75,-1889.8 3805.75,-1859 3518.79,-1859"/>
<text text-anchor="start" x="3525.79" y="-1871.2" font-family="Arial" font-size="14.00">index </text>
<text text-anchor="start" x="3563.15" y="-1871.2" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
<polygon fill="none" stroke="black" points="3518.79,-1828.2 3518.79,-1859 3805.75,-1859 3805.75,-1828.2 3518.79,-1828.2"/>
<text text-anchor="start" x="3525.79" y="-1840.4" font-family="Arial" font-size="14.00">name </text>
<text text-anchor="start" x="3564.7" y="-1840.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="3518.79,-1797.4 3518.79,-1828.2 3805.75,-1828.2 3805.75,-1797.4 3518.79,-1797.4"/>
<text text-anchor="start" x="3525.79" y="-1809.6" font-family="Arial" font-size="14.00">opens_at </text>
<text text-anchor="start" x="3587.28" y="-1809.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="3518.79,-1766.6 3518.79,-1797.4 3805.75,-1797.4 3805.75,-1766.6 3518.79,-1766.6"/>
<text text-anchor="start" x="3525.79" y="-1778.8" font-family="Arial" font-size="14.00">closes_at </text>
<text text-anchor="start" x="3588.82" y="-1778.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="3518.79,-1735.8 3518.79,-1766.6 3805.75,-1766.6 3805.75,-1735.8 3518.79,-1735.8"/>
<text text-anchor="start" x="3525.79" y="-1748" font-family="Arial" font-size="14.00">opened_hours </text>
<text text-anchor="start" x="3619.2" y="-1748" font-family="Arial" font-size="14.00" fill="#666666">[numeric(4,2)]</text>
<polygon fill="none" stroke="black" points="3518.79,-1705 3518.79,-1735.8 3805.75,-1735.8 3805.75,-1705 3518.79,-1705"/>
<text text-anchor="start" x="3525.79" y="-1717.2" font-family="Arial" font-size="14.00">type </text>
<text text-anchor="start" x="3556.14" y="-1717.2" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="3518.79,-1674.2 3518.79,-1705 3805.75,-1705 3805.75,-1674.2 3518.79,-1674.2"/>
<text text-anchor="start" x="3525.79" y="-1686.4" font-family="Arial" font-size="14.00">is_opened </text>
<text text-anchor="start" x="3594.29" y="-1686.4" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
</g>
<!-- public.opening_time&#45;&gt;public.club -->
<g id="edge10" class="edge">
<title>public.opening_time:club_id&#45;&gt;public.club:id</title>
<path fill="none" stroke="black" d="M3508.54,-1901.14C3456.33,-1851.38 3502.57,-1360.08 3467.27,-1307.6 3394.42,-1199.31 3336.08,-1174.4 3205.57,-1174.4"/>
<polygon fill="black" stroke="black" points="3508.33,-1901.05 3515.67,-1909.19 3513.21,-1903.19 3517.18,-1904.93 3517.18,-1904.93 3517.18,-1904.93 3513.21,-1903.19 3519.29,-1900.95 3508.33,-1901.05"/>
<text text-anchor="start" x="3467.25" y="-1889.2" font-family="Arial" font-size="10.00">FOREIGN KEY (club_id) REFERENCES club(id)</text>
</g>
<!-- public.match_series -->
<g id="node12" class="node">
<title>public.match_series</title>
<polygon fill="#efefef" stroke="none" points="3910.1,-2059.2 3910.1,-2094.8 4196.43,-2094.8 4196.43,-2059.2 3910.1,-2059.2"/>
<polygon fill="none" stroke="black" points="3910.1,-2059.2 3910.1,-2094.8 4196.43,-2094.8 4196.43,-2059.2 3910.1,-2059.2"/>
<text text-anchor="start" x="3919.3" y="-2072.6" font-family="Arial Bold" font-size="18.00">public.match_series</text>
<text text-anchor="start" x="4062.75" y="-2072.6" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="4093.87" y="-2072.6" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="3910.1,-2028.4 3910.1,-2059.2 4196.43,-2059.2 4196.43,-2028.4 3910.1,-2028.4"/>
<text text-anchor="start" x="3917.1" y="-2040.6" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="3931.89" y="-2040.6" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="3910.1,-1997.6 3910.1,-2028.4 4196.43,-2028.4 4196.43,-1997.6 3910.1,-1997.6"/>
<text text-anchor="start" x="3917.1" y="-2009.8" font-family="Arial" font-size="14.00">court_id </text>
<text text-anchor="start" x="3970.8" y="-2009.8" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="3910.1,-1966.8 3910.1,-1997.6 4196.43,-1997.6 4196.43,-1966.8 3910.1,-1966.8"/>
<text text-anchor="start" x="3917.1" y="-1979" font-family="Arial" font-size="14.00">owner_id </text>
<text text-anchor="start" x="3977.81" y="-1979" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="3910.1,-1936 3910.1,-1966.8 4196.43,-1966.8 4196.43,-1936 3910.1,-1936"/>
<text text-anchor="start" x="3917.1" y="-1948.2" font-family="Arial" font-size="14.00">created_at </text>
<text text-anchor="start" x="3987.15" y="-1948.2" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="3910.1,-1905.2 3910.1,-1936 4196.43,-1936 4196.43,-1905.2 3910.1,-1905.2"/>
<text text-anchor="start" x="3917.1" y="-1917.4" font-family="Arial" font-size="14.00">status </text>
<text text-anchor="start" x="3958.35" y="-1917.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="3910.1,-1874.4 3910.1,-1905.2 4196.43,-1905.2 4196.43,-1874.4 3910.1,-1874.4"/>
<text text-anchor="start" x="3917.1" y="-1886.6" font-family="Arial" font-size="14.00">payment_plan </text>
<text text-anchor="start" x="4008.95" y="-1886.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="3910.1,-1843.6 3910.1,-1874.4 4196.43,-1874.4 4196.43,-1843.6 3910.1,-1843.6"/>
<text text-anchor="start" x="3917.1" y="-1855.8" font-family="Arial" font-size="14.00">match_duration_in_seconds </text>
<text text-anchor="start" x="4096.11" y="-1855.8" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
<polygon fill="none" stroke="black" points="3910.1,-1812.8 3910.1,-1843.6 4196.43,-1843.6 4196.43,-1812.8 3910.1,-1812.8"/>
<text text-anchor="start" x="3917.1" y="-1825" font-family="Arial" font-size="14.00">type </text>
<text text-anchor="start" x="3947.46" y="-1825" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="3910.1,-1782 3910.1,-1812.8 4196.43,-1812.8 4196.43,-1782 3910.1,-1782"/>
<text text-anchor="start" x="3917.1" y="-1794.2" font-family="Arial" font-size="14.00">weekday </text>
<text text-anchor="start" x="3976.25" y="-1794.2" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="3910.1,-1751.2 3910.1,-1782 4196.43,-1782 4196.43,-1751.2 3910.1,-1751.2"/>
<text text-anchor="start" x="3917.1" y="-1763.4" font-family="Arial" font-size="14.00">note </text>
<text text-anchor="start" x="3948.24" y="-1763.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="3910.1,-1720.4 3910.1,-1751.2 4196.43,-1751.2 4196.43,-1720.4 3910.1,-1720.4"/>
<text text-anchor="start" x="3917.1" y="-1732.6" font-family="Arial" font-size="14.00">starts_at </text>
<text text-anchor="start" x="3974.68" y="-1732.6" font-family="Arial" font-size="14.00" fill="#666666">[time(0) without time zone]</text>
<polygon fill="none" stroke="black" points="3910.1,-1689.6 3910.1,-1720.4 4196.43,-1720.4 4196.43,-1689.6 3910.1,-1689.6"/>
<text text-anchor="start" x="3917.1" y="-1701.8" font-family="Arial" font-size="14.00">discount_percentage </text>
<text text-anchor="start" x="4050.98" y="-1701.8" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
<polygon fill="none" stroke="black" points="3910.1,-1658.8 3910.1,-1689.6 4196.43,-1689.6 4196.43,-1658.8 3910.1,-1658.8"/>
<text text-anchor="start" x="3917.1" y="-1671" font-family="Arial" font-size="14.00">club_id </text>
<text text-anchor="start" x="3965.36" y="-1671" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="3910.1,-1628 3910.1,-1658.8 4196.43,-1658.8 4196.43,-1628 3910.1,-1628"/>
<text text-anchor="start" x="3917.1" y="-1640.2" font-family="Arial" font-size="14.00">discount_id </text>
<text text-anchor="start" x="3991.82" y="-1640.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="3910.1,-1597.2 3910.1,-1628 4196.43,-1628 4196.43,-1597.2 3910.1,-1597.2"/>
<text text-anchor="start" x="3917.1" y="-1609.4" font-family="Arial" font-size="14.00">activated_at </text>
<text text-anchor="start" x="3996.49" y="-1609.4" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="3910.1,-1566.4 3910.1,-1597.2 4196.43,-1597.2 4196.43,-1566.4 3910.1,-1566.4"/>
<text text-anchor="start" x="3917.1" y="-1578.6" font-family="Arial" font-size="14.00">terminated_at </text>
<text text-anchor="start" x="4006.6" y="-1578.6" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
</g>
<!-- public.match_series&#45;&gt;public.club -->
<g id="edge11" class="edge">
<title>public.match_series:club_id&#45;&gt;public.club:id</title>
<path fill="none" stroke="black" d="M3899.02,-1672.39C3834.45,-1647.15 3912.02,-1364.88 3858.27,-1307.6 3756.97,-1199.65 3353.6,-1174.4 3205.57,-1174.4"/>
<polygon fill="black" stroke="black" points="3898.93,-1672.38 3907.98,-1678.57 3904.18,-1673.32 3908.45,-1674.08 3908.45,-1674.08 3908.45,-1674.08 3904.18,-1673.32 3909.57,-1669.71 3898.93,-1672.38"/>
<text text-anchor="start" x="3858.56" y="-1658.2" font-family="Arial" font-size="10.00">FOREIGN KEY (club_id) REFERENCES club(id)</text>
</g>
<!-- public.club_event -->
<g id="node13" class="node">
<title>public.club_event</title>
<polygon fill="#efefef" stroke="none" points="4300.69,-2182.4 4300.69,-2218 4643.84,-2218 4643.84,-2182.4 4300.69,-2182.4"/>
<polygon fill="none" stroke="black" points="4300.69,-2182.4 4300.69,-2218 4643.84,-2218 4643.84,-2182.4 4300.69,-2182.4"/>
<text text-anchor="start" x="4345.79" y="-2195.8" font-family="Arial Bold" font-size="18.00">public.club_event</text>
<text text-anchor="start" x="4474.26" y="-2195.8" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="4505.37" y="-2195.8" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="4300.69,-2151.6 4300.69,-2182.4 4643.84,-2182.4 4643.84,-2151.6 4300.69,-2151.6"/>
<text text-anchor="start" x="4307.69" y="-2163.8" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="4322.48" y="-2163.8" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="4300.69,-2120.8 4300.69,-2151.6 4643.84,-2151.6 4643.84,-2120.8 4300.69,-2120.8"/>
<text text-anchor="start" x="4307.69" y="-2133" font-family="Arial" font-size="14.00">contentful_id </text>
<text text-anchor="start" x="4390.98" y="-2133" font-family="Arial" font-size="14.00" fill="#666666">[varchar(64)]</text>
<polygon fill="none" stroke="black" points="4300.69,-2090 4300.69,-2120.8 4643.84,-2120.8 4643.84,-2090 4300.69,-2090"/>
<text text-anchor="start" x="4307.69" y="-2102.2" font-family="Arial" font-size="14.00">is_active </text>
<text text-anchor="start" x="4366.05" y="-2102.2" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="4300.69,-2059.2 4300.69,-2090 4643.84,-2090 4643.84,-2059.2 4300.69,-2059.2"/>
<text text-anchor="start" x="4307.69" y="-2071.4" font-family="Arial" font-size="14.00">club_id </text>
<text text-anchor="start" x="4355.95" y="-2071.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="4300.69,-2028.4 4300.69,-2059.2 4643.84,-2059.2 4643.84,-2028.4 4300.69,-2028.4"/>
<text text-anchor="start" x="4307.69" y="-2040.6" font-family="Arial" font-size="14.00">template_id </text>
<text text-anchor="start" x="4383.96" y="-2040.6" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="4300.69,-1997.6 4300.69,-2028.4 4643.84,-2028.4 4643.84,-1997.6 4300.69,-1997.6"/>
<text text-anchor="start" x="4307.69" y="-2009.8" font-family="Arial" font-size="14.00">event_period_starts_at </text>
<text text-anchor="start" x="4454.01" y="-2009.8" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="4300.69,-1966.8 4300.69,-1997.6 4643.84,-1997.6 4643.84,-1966.8 4300.69,-1966.8"/>
<text text-anchor="start" x="4307.69" y="-1979" font-family="Arial" font-size="14.00">event_period_ends_at </text>
<text text-anchor="start" x="4450.14" y="-1979" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="4300.69,-1936 4300.69,-1966.8 4643.84,-1966.8 4643.84,-1936 4300.69,-1936"/>
<text text-anchor="start" x="4307.69" y="-1948.2" font-family="Arial" font-size="14.00">event_period_duration_in_seconds </text>
<text text-anchor="start" x="4529.53" y="-1948.2" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
<polygon fill="none" stroke="black" points="4300.69,-1905.2 4300.69,-1936 4643.84,-1936 4643.84,-1905.2 4300.69,-1905.2"/>
<text text-anchor="start" x="4307.69" y="-1917.4" font-family="Arial" font-size="14.00">price_per_person_amount </text>
<text text-anchor="start" x="4475.02" y="-1917.4" font-family="Arial" font-size="14.00" fill="#666666">[bigint]</text>
<polygon fill="none" stroke="black" points="4300.69,-1874.4 4300.69,-1905.2 4643.84,-1905.2 4643.84,-1874.4 4300.69,-1874.4"/>
<text text-anchor="start" x="4307.69" y="-1886.6" font-family="Arial" font-size="14.00">price_per_person_currency </text>
<text text-anchor="start" x="4482.01" y="-1886.6" font-family="Arial" font-size="14.00" fill="#666666">[character(3)]</text>
<polygon fill="none" stroke="black" points="4300.69,-1843.6 4300.69,-1874.4 4643.84,-1874.4 4643.84,-1843.6 4300.69,-1843.6"/>
<text text-anchor="start" x="4307.69" y="-1855.8" font-family="Arial" font-size="14.00">stripe_price_id </text>
<text text-anchor="start" x="4402.63" y="-1855.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(64)]</text>
<polygon fill="none" stroke="black" points="4300.69,-1812.8 4300.69,-1843.6 4643.84,-1843.6 4643.84,-1812.8 4300.69,-1812.8"/>
<text text-anchor="start" x="4307.69" y="-1825" font-family="Arial" font-size="14.00">status </text>
<text text-anchor="start" x="4348.94" y="-1825" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="4300.69,-1782 4300.69,-1812.8 4643.84,-1812.8 4643.84,-1782 4300.69,-1782"/>
<text text-anchor="start" x="4307.69" y="-1794.2" font-family="Arial" font-size="14.00">max_confirmed_registrations </text>
<text text-anchor="start" x="4491.33" y="-1794.2" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
<polygon fill="none" stroke="black" points="4300.69,-1751.2 4300.69,-1782 4643.84,-1782 4643.84,-1751.2 4300.69,-1751.2"/>
<text text-anchor="start" x="4307.69" y="-1763.4" font-family="Arial" font-size="14.00">registration_opens_at </text>
<text text-anchor="start" x="4446.23" y="-1763.4" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="4300.69,-1720.4 4300.69,-1751.2 4643.84,-1751.2 4643.84,-1720.4 4300.69,-1720.4"/>
<text text-anchor="start" x="4307.69" y="-1732.6" font-family="Arial" font-size="14.00">description </text>
<text text-anchor="start" x="4379.29" y="-1732.6" font-family="Arial" font-size="14.00" fill="#666666">[text]</text>
<polygon fill="none" stroke="black" points="4300.69,-1689.6 4300.69,-1720.4 4643.84,-1720.4 4643.84,-1689.6 4300.69,-1689.6"/>
<text text-anchor="start" x="4307.69" y="-1701.8" font-family="Arial" font-size="14.00">persons_per_team </text>
<text text-anchor="start" x="4428.32" y="-1701.8" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
<polygon fill="none" stroke="black" points="4300.69,-1658.8 4300.69,-1689.6 4643.84,-1689.6 4643.84,-1658.8 4300.69,-1658.8"/>
<text text-anchor="start" x="4307.69" y="-1671" font-family="Arial" font-size="14.00">type </text>
<text text-anchor="start" x="4338.05" y="-1671" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="4300.69,-1628 4300.69,-1658.8 4643.84,-1658.8 4643.84,-1628 4300.69,-1628"/>
<text text-anchor="start" x="4307.69" y="-1640.2" font-family="Arial" font-size="14.00">is_registrations_hidden </text>
<text text-anchor="start" x="4455.56" y="-1640.2" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="4300.69,-1597.2 4300.69,-1628 4643.84,-1628 4643.84,-1597.2 4300.69,-1597.2"/>
<text text-anchor="start" x="4307.69" y="-1609.4" font-family="Arial" font-size="14.00">registration_closes_at </text>
<text text-anchor="start" x="4447.77" y="-1609.4" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="4300.69,-1566.4 4300.69,-1597.2 4643.84,-1597.2 4643.84,-1566.4 4300.69,-1566.4"/>
<text text-anchor="start" x="4307.69" y="-1578.6" font-family="Arial" font-size="14.00">free_cancellation_strategy </text>
<text text-anchor="start" x="4475.02" y="-1578.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="4300.69,-1535.6 4300.69,-1566.4 4643.84,-1566.4 4643.84,-1535.6 4300.69,-1535.6"/>
<text text-anchor="start" x="4307.69" y="-1547.8" font-family="Arial" font-size="14.00">updated_by_id </text>
<text text-anchor="start" x="4403.45" y="-1547.8" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="4300.69,-1504.8 4300.69,-1535.6 4643.84,-1535.6 4643.84,-1504.8 4300.69,-1504.8"/>
<text text-anchor="start" x="4307.69" y="-1517" font-family="Arial" font-size="14.00">cancellation_reason </text>
<text text-anchor="start" x="4436.11" y="-1517" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="4300.69,-1474 4300.69,-1504.8 4643.84,-1504.8 4643.84,-1474 4300.69,-1474"/>
<text text-anchor="start" x="4307.69" y="-1486.2" font-family="Arial" font-size="14.00">updated_at </text>
<text text-anchor="start" x="4381.65" y="-1486.2" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="4300.69,-1443.2 4300.69,-1474 4643.84,-1474 4643.84,-1443.2 4300.69,-1443.2"/>
<text text-anchor="start" x="4307.69" y="-1455.4" font-family="Arial" font-size="14.00">sport_id </text>
<text text-anchor="start" x="4361.39" y="-1455.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
</g>
<!-- public.club_event&#45;&gt;public.club -->
<g id="edge12" class="edge">
<title>public.club_event:club_id&#45;&gt;public.club:id</title>
<path fill="none" stroke="black" d="M4290.06,-2071.14C4221.62,-2017.86 4304.42,-1367.23 4248.27,-1307.6 4168.2,-1222.57 3322.37,-1174.4 3205.57,-1174.4"/>
<polygon fill="black" stroke="black" points="4289.97,-2071.1 4297.86,-2078.72 4294.99,-2072.91 4299.06,-2074.37 4299.06,-2074.37 4299.06,-2074.37 4294.99,-2072.91 4300.9,-2070.25 4289.97,-2071.1"/>
<text text-anchor="start" x="4249.15" y="-2058.6" font-family="Arial" font-size="10.00">FOREIGN KEY (club_id) REFERENCES club(id)</text>
</g>
<!-- public.club_price_list -->
<g id="node14" class="node">
<title>public.club_price_list</title>
<polygon fill="#efefef" stroke="none" points="4748.25,-1966.8 4748.25,-2002.4 5060.29,-2002.4 5060.29,-1966.8 4748.25,-1966.8"/>
<polygon fill="none" stroke="black" points="4748.25,-1966.8 4748.25,-2002.4 5060.29,-2002.4 5060.29,-1966.8 4748.25,-1966.8"/>
<text text-anchor="start" x="4763.79" y="-1980.2" font-family="Arial Bold" font-size="18.00">public.club_price_list</text>
<text text-anchor="start" x="4920.26" y="-1980.2" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="4951.37" y="-1980.2" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="4748.25,-1936 4748.25,-1966.8 5060.29,-1966.8 5060.29,-1936 4748.25,-1936"/>
<text text-anchor="start" x="4755.25" y="-1948.2" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="4770.04" y="-1948.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="4748.25,-1905.2 4748.25,-1936 5060.29,-1936 5060.29,-1905.2 4748.25,-1905.2"/>
<text text-anchor="start" x="4755.25" y="-1917.4" font-family="Arial" font-size="14.00">assigned_club_id </text>
<text text-anchor="start" x="4867.33" y="-1917.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="4748.25,-1874.4 4748.25,-1905.2 5060.29,-1905.2 5060.29,-1874.4 4748.25,-1874.4"/>
<text text-anchor="start" x="4755.25" y="-1886.6" font-family="Arial" font-size="14.00">created_at </text>
<text text-anchor="start" x="4825.3" y="-1886.6" font-family="Arial" font-size="14.00" fill="#666666">[date]</text>
<polygon fill="none" stroke="black" points="4748.25,-1843.6 4748.25,-1874.4 5060.29,-1874.4 5060.29,-1843.6 4748.25,-1843.6"/>
<text text-anchor="start" x="4755.25" y="-1855.8" font-family="Arial" font-size="14.00">valid_from </text>
<text text-anchor="start" x="4823.72" y="-1855.8" font-family="Arial" font-size="14.00" fill="#666666">[date]</text>
<polygon fill="none" stroke="black" points="4748.25,-1812.8 4748.25,-1843.6 5060.29,-1843.6 5060.29,-1812.8 4748.25,-1812.8"/>
<text text-anchor="start" x="4755.25" y="-1825" font-family="Arial" font-size="14.00">pricing </text>
<text text-anchor="start" x="4800.38" y="-1825" font-family="Arial" font-size="14.00" fill="#666666">[json]</text>
<polygon fill="none" stroke="black" points="4748.25,-1782 4748.25,-1812.8 5060.29,-1812.8 5060.29,-1782 4748.25,-1782"/>
<text text-anchor="start" x="4755.25" y="-1794.2" font-family="Arial" font-size="14.00">contentful_id </text>
<text text-anchor="start" x="4838.54" y="-1794.2" font-family="Arial" font-size="14.00" fill="#666666">[varchar(64)]</text>
<polygon fill="none" stroke="black" points="4748.25,-1751.2 4748.25,-1782 5060.29,-1782 5060.29,-1751.2 4748.25,-1751.2"/>
<text text-anchor="start" x="4755.25" y="-1763.4" font-family="Arial" font-size="14.00">fallback_price_per_hour_amount </text>
<text text-anchor="start" x="4963.05" y="-1763.4" font-family="Arial" font-size="14.00" fill="#666666">[bigint]</text>
<polygon fill="none" stroke="black" points="4748.25,-1720.4 4748.25,-1751.2 5060.29,-1751.2 5060.29,-1720.4 4748.25,-1720.4"/>
<text text-anchor="start" x="4755.25" y="-1732.6" font-family="Arial" font-size="14.00">fallback_price_per_hour_currency </text>
<text text-anchor="start" x="4970.04" y="-1732.6" font-family="Arial" font-size="14.00" fill="#666666">[character(3)]</text>
<polygon fill="none" stroke="black" points="4748.25,-1689.6 4748.25,-1720.4 5060.29,-1720.4 5060.29,-1689.6 4748.25,-1689.6"/>
<text text-anchor="start" x="4755.25" y="-1701.8" font-family="Arial" font-size="14.00">is_active </text>
<text text-anchor="start" x="4813.61" y="-1701.8" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="4748.25,-1658.8 4748.25,-1689.6 5060.29,-1689.6 5060.29,-1658.8 4748.25,-1658.8"/>
<text text-anchor="start" x="4755.25" y="-1671" font-family="Arial" font-size="14.00">title </text>
<text text-anchor="start" x="4780.93" y="-1671" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
</g>
<!-- public.club_price_list&#45;&gt;public.club -->
<g id="edge13" class="edge">
<title>public.club_price_list:assigned_club_id&#45;&gt;public.club:id</title>
<path fill="none" stroke="black" d="M4737.84,-1916.37C4685.27,-1864.6 4742,-1353.61 4696.27,-1307.6 4579.04,-1189.65 3371.86,-1174.4 3205.57,-1174.4"/>
<polygon fill="black" stroke="black" points="4737.83,-1916.37 4745.1,-1924.57 4742.69,-1918.55 4746.64,-1920.33 4746.64,-1920.33 4746.64,-1920.33 4742.69,-1918.55 4748.79,-1916.36 4737.83,-1916.37"/>
<text text-anchor="start" x="4754.25" y="-1930.6" font-family="Arial" font-size="10.00">FOREIGN KEY (assigned_club_id) REFERENCES club(id)</text>
</g>
<!-- public.day_opening_time_override -->
<g id="node15" class="node">
<title>public.day_opening_time_override</title>
<polygon fill="#efefef" stroke="none" points="5164.81,-1936 5164.81,-1971.6 5555.73,-1971.6 5555.73,-1936 5164.81,-1936"/>
<polygon fill="none" stroke="black" points="5164.81,-1936 5164.81,-1971.6 5555.73,-1971.6 5555.73,-1936 5164.81,-1936"/>
<text text-anchor="start" x="5171.81" y="-1949.4" font-family="Arial Bold" font-size="18.00">public.day_opening_time_override</text>
<text text-anchor="start" x="5424.24" y="-1949.4" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="5455.36" y="-1949.4" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="5164.81,-1905.2 5164.81,-1936 5555.73,-1936 5555.73,-1905.2 5164.81,-1905.2"/>
<text text-anchor="start" x="5171.81" y="-1917.4" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="5186.6" y="-1917.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="5164.81,-1874.4 5164.81,-1905.2 5555.73,-1905.2 5555.73,-1874.4 5164.81,-1874.4"/>
<text text-anchor="start" x="5171.81" y="-1886.6" font-family="Arial" font-size="14.00">club_id </text>
<text text-anchor="start" x="5220.06" y="-1886.6" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="5164.81,-1843.6 5164.81,-1874.4 5555.73,-1874.4 5555.73,-1843.6 5164.81,-1843.6"/>
<text text-anchor="start" x="5171.81" y="-1855.8" font-family="Arial" font-size="14.00">created_at </text>
<text text-anchor="start" x="5241.86" y="-1855.8" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="5164.81,-1812.8 5164.81,-1843.6 5555.73,-1843.6 5555.73,-1812.8 5164.81,-1812.8"/>
<text text-anchor="start" x="5171.81" y="-1825" font-family="Arial" font-size="14.00">date </text>
<text text-anchor="start" x="5202.95" y="-1825" font-family="Arial" font-size="14.00" fill="#666666">[date]</text>
<polygon fill="none" stroke="black" points="5164.81,-1782 5164.81,-1812.8 5555.73,-1812.8 5555.73,-1782 5164.81,-1782"/>
<text text-anchor="start" x="5171.81" y="-1794.2" font-family="Arial" font-size="14.00">opens_at </text>
<text text-anchor="start" x="5233.31" y="-1794.2" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="5164.81,-1751.2 5164.81,-1782 5555.73,-1782 5555.73,-1751.2 5164.81,-1751.2"/>
<text text-anchor="start" x="5171.81" y="-1763.4" font-family="Arial" font-size="14.00">closes_at </text>
<text text-anchor="start" x="5234.84" y="-1763.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="5164.81,-1720.4 5164.81,-1751.2 5555.73,-1751.2 5555.73,-1720.4 5164.81,-1720.4"/>
<text text-anchor="start" x="5171.81" y="-1732.6" font-family="Arial" font-size="14.00">opened_hours </text>
<text text-anchor="start" x="5265.22" y="-1732.6" font-family="Arial" font-size="14.00" fill="#666666">[numeric(4,2)]</text>
<polygon fill="none" stroke="black" points="5164.81,-1689.6 5164.81,-1720.4 5555.73,-1720.4 5555.73,-1689.6 5164.81,-1689.6"/>
<text text-anchor="start" x="5171.81" y="-1701.8" font-family="Arial" font-size="14.00">is_opened </text>
<text text-anchor="start" x="5240.31" y="-1701.8" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
</g>
<!-- public.day_opening_time_override&#45;&gt;public.club -->
<g id="edge14" class="edge">
<title>public.day_opening_time_override:club_id&#45;&gt;public.club:id</title>
<path fill="none" stroke="black" d="M5153.49,-1888.64C5043.4,-1862.3 5202.33,-1396.01 5112.27,-1307.6 5036.49,-1233.21 3311.75,-1174.4 3205.57,-1174.4"/>
<polygon fill="black" stroke="black" points="5153.54,-1888.64 5162.97,-1894.23 5158.84,-1889.24 5163.14,-1889.73 5163.14,-1889.73 5163.14,-1889.73 5158.84,-1889.24 5163.98,-1885.29 5153.54,-1888.64"/>
<text text-anchor="start" x="4940.65" y="-1899.8" font-family="Arial" font-size="10.00">FOREIGN KEY (club_id) REFERENCES club(id)</text>
</g>
<!-- public.access_grant -->
<g id="node16" class="node">
<title>public.access_grant</title>
<polygon fill="#efefef" stroke="none" points="5660.3,-1936 5660.3,-1971.6 5940.24,-1971.6 5940.24,-1936 5660.3,-1936"/>
<polygon fill="none" stroke="black" points="5660.3,-1936 5660.3,-1971.6 5940.24,-1971.6 5940.24,-1936 5660.3,-1936"/>
<text text-anchor="start" x="5667.3" y="-1949.4" font-family="Arial Bold" font-size="18.00">public.access_grant</text>
<text text-anchor="start" x="5808.75" y="-1949.4" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="5839.86" y="-1949.4" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="5660.3,-1905.2 5660.3,-1936 5940.24,-1936 5940.24,-1905.2 5660.3,-1905.2"/>
<text text-anchor="start" x="5667.3" y="-1917.4" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="5682.09" y="-1917.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="5660.3,-1874.4 5660.3,-1905.2 5940.24,-1905.2 5940.24,-1874.4 5660.3,-1874.4"/>
<text text-anchor="start" x="5667.3" y="-1886.6" font-family="Arial" font-size="14.00">club_id </text>
<text text-anchor="start" x="5715.56" y="-1886.6" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="5660.3,-1843.6 5660.3,-1874.4 5940.24,-1874.4 5940.24,-1843.6 5660.3,-1843.6"/>
<text text-anchor="start" x="5667.3" y="-1855.8" font-family="Arial" font-size="14.00">created_at </text>
<text text-anchor="start" x="5737.35" y="-1855.8" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="5660.3,-1812.8 5660.3,-1843.6 5940.24,-1843.6 5940.24,-1812.8 5660.3,-1812.8"/>
<text text-anchor="start" x="5667.3" y="-1825" font-family="Arial" font-size="14.00">entity_type </text>
<text text-anchor="start" x="5738.9" y="-1825" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="5660.3,-1782 5660.3,-1812.8 5940.24,-1812.8 5940.24,-1782 5660.3,-1782"/>
<text text-anchor="start" x="5667.3" y="-1794.2" font-family="Arial" font-size="14.00">code </text>
<text text-anchor="start" x="5701.55" y="-1794.2" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="5660.3,-1751.2 5660.3,-1782 5940.24,-1782 5940.24,-1751.2 5660.3,-1751.2"/>
<text text-anchor="start" x="5667.3" y="-1763.4" font-family="Arial" font-size="14.00">valid_from </text>
<text text-anchor="start" x="5735.77" y="-1763.4" font-family="Arial" font-size="14.00" fill="#666666">[date]</text>
<polygon fill="none" stroke="black" points="5660.3,-1720.4 5660.3,-1751.2 5940.24,-1751.2 5940.24,-1720.4 5660.3,-1720.4"/>
<text text-anchor="start" x="5667.3" y="-1732.6" font-family="Arial" font-size="14.00">valid_till </text>
<text text-anchor="start" x="5720.99" y="-1732.6" font-family="Arial" font-size="14.00" fill="#666666">[date]</text>
<polygon fill="none" stroke="black" points="5660.3,-1689.6 5660.3,-1720.4 5940.24,-1720.4 5940.24,-1689.6 5660.3,-1689.6"/>
<text text-anchor="start" x="5667.3" y="-1701.8" font-family="Arial" font-size="14.00">contentful_id </text>
<text text-anchor="start" x="5750.59" y="-1701.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(64)]</text>
</g>
<!-- public.access_grant&#45;&gt;public.club -->
<g id="edge15" class="edge">
<title>public.access_grant:club_id&#45;&gt;public.club:id</title>
<path fill="none" stroke="black" d="M5648.98,-1888.64C5538.97,-1862.26 5698.92,-1395.39 5608.27,-1307.6 5512.23,-1214.6 3339.26,-1174.4 3205.57,-1174.4"/>
<polygon fill="black" stroke="black" points="5649.03,-1888.64 5658.47,-1894.23 5654.34,-1889.24 5658.64,-1889.73 5658.64,-1889.73 5658.64,-1889.73 5654.34,-1889.24 5659.48,-1885.29 5649.03,-1888.64"/>
<text text-anchor="start" x="5608.76" y="-1873.8" font-family="Arial" font-size="10.00">FOREIGN KEY (club_id) REFERENCES club(id)</text>
</g>
<!-- public.club_equipment -->
<g id="node17" class="node">
<title>public.club_equipment</title>
<polygon fill="#efefef" stroke="none" points="6044.29,-1889.8 6044.29,-1925.4 6348.25,-1925.4 6348.25,-1889.8 6044.29,-1889.8"/>
<polygon fill="none" stroke="black" points="6044.29,-1889.8 6044.29,-1925.4 6348.25,-1925.4 6348.25,-1889.8 6044.29,-1889.8"/>
<text text-anchor="start" x="6051.29" y="-1903.2" font-family="Arial Bold" font-size="18.00">public.club_equipment</text>
<text text-anchor="start" x="6216.76" y="-1903.2" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="6247.87" y="-1903.2" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="6044.29,-1859 6044.29,-1889.8 6348.25,-1889.8 6348.25,-1859 6044.29,-1859"/>
<text text-anchor="start" x="6051.29" y="-1871.2" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="6066.08" y="-1871.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="6044.29,-1828.2 6044.29,-1859 6348.25,-1859 6348.25,-1828.2 6044.29,-1828.2"/>
<text text-anchor="start" x="6051.29" y="-1840.4" font-family="Arial" font-size="14.00">equipment_id </text>
<text text-anchor="start" x="6139.24" y="-1840.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="6044.29,-1797.4 6044.29,-1828.2 6348.25,-1828.2 6348.25,-1797.4 6044.29,-1797.4"/>
<text text-anchor="start" x="6051.29" y="-1809.6" font-family="Arial" font-size="14.00">club_id </text>
<text text-anchor="start" x="6099.55" y="-1809.6" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="6044.29,-1766.6 6044.29,-1797.4 6348.25,-1797.4 6348.25,-1766.6 6044.29,-1766.6"/>
<text text-anchor="start" x="6051.29" y="-1778.8" font-family="Arial" font-size="14.00">price_amount </text>
<text text-anchor="start" x="6140.01" y="-1778.8" font-family="Arial" font-size="14.00" fill="#666666">[bigint]</text>
<polygon fill="none" stroke="black" points="6044.29,-1735.8 6044.29,-1766.6 6348.25,-1766.6 6348.25,-1735.8 6044.29,-1735.8"/>
<text text-anchor="start" x="6051.29" y="-1748" font-family="Arial" font-size="14.00">price_currency </text>
<text text-anchor="start" x="6147" y="-1748" font-family="Arial" font-size="14.00" fill="#666666">[character(3)]</text>
</g>
<!-- public.club_equipment&#45;&gt;public.club -->
<g id="edge16" class="edge">
<title>public.club_equipment:club_id&#45;&gt;public.club:id</title>
<path fill="none" stroke="black" d="M6033.17,-1811.49C5939.48,-1785.61 6071.5,-1382.75 5992.27,-1307.6 5879.81,-1200.94 3360.56,-1174.4 3205.57,-1174.4"/>
<polygon fill="black" stroke="black" points="6033.04,-1811.48 6042.39,-1817.22 6038.33,-1812.16 6042.63,-1812.71 6042.63,-1812.71 6042.63,-1812.71 6038.33,-1812.16 6043.54,-1808.29 6033.04,-1811.48"/>
<text text-anchor="start" x="5992.75" y="-1796.8" font-family="Arial" font-size="10.00">FOREIGN KEY (club_id) REFERENCES club(id)</text>
</g>
</g>
</svg>
