<?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_event Pages: 1 -->
<svg width="1630pt" height="2269pt"
 viewBox="0.00 0.00 1629.69 2269.20" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 2265.2)">
<title>public.club_event</title>
<polygon fill="white" stroke="none" points="-4,4 -4,-2265.2 1625.69,-2265.2 1625.69,4 -4,4"/>
<!-- public.club_event -->
<g id="node1" class="node">
<title>public.club_event</title>
<polygon fill="#efefef" stroke="none" points="656.92,-1775 656.92,-1810.6 1000.07,-1810.6 1000.07,-1775 656.92,-1775"/>
<polygon fill="none" stroke="black" points="656.92,-1775 656.92,-1810.6 1000.07,-1810.6 1000.07,-1775 656.92,-1775"/>
<text text-anchor="start" x="702.02" y="-1788.4" font-family="Arial Bold" font-size="18.00">public.club_event</text>
<text text-anchor="start" x="830.49" y="-1788.4" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="861.6" y="-1788.4" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="656.92,-1744.2 656.92,-1775 1000.07,-1775 1000.07,-1744.2 656.92,-1744.2"/>
<text text-anchor="start" x="663.92" y="-1756.4" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="678.71" y="-1756.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="656.92,-1713.4 656.92,-1744.2 1000.07,-1744.2 1000.07,-1713.4 656.92,-1713.4"/>
<text text-anchor="start" x="663.92" y="-1725.6" font-family="Arial" font-size="14.00">contentful_id </text>
<text text-anchor="start" x="747.21" y="-1725.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(64)]</text>
<polygon fill="none" stroke="black" points="656.92,-1682.6 656.92,-1713.4 1000.07,-1713.4 1000.07,-1682.6 656.92,-1682.6"/>
<text text-anchor="start" x="663.92" y="-1694.8" font-family="Arial" font-size="14.00">is_active </text>
<text text-anchor="start" x="722.28" y="-1694.8" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="656.92,-1651.8 656.92,-1682.6 1000.07,-1682.6 1000.07,-1651.8 656.92,-1651.8"/>
<text text-anchor="start" x="663.92" y="-1664" font-family="Arial" font-size="14.00">club_id </text>
<text text-anchor="start" x="712.18" y="-1664" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="656.92,-1621 656.92,-1651.8 1000.07,-1651.8 1000.07,-1621 656.92,-1621"/>
<text text-anchor="start" x="663.92" y="-1633.2" font-family="Arial" font-size="14.00">template_id </text>
<text text-anchor="start" x="740.19" y="-1633.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="656.92,-1590.2 656.92,-1621 1000.07,-1621 1000.07,-1590.2 656.92,-1590.2"/>
<text text-anchor="start" x="663.92" y="-1602.4" font-family="Arial" font-size="14.00">event_period_starts_at </text>
<text text-anchor="start" x="810.24" y="-1602.4" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="656.92,-1559.4 656.92,-1590.2 1000.07,-1590.2 1000.07,-1559.4 656.92,-1559.4"/>
<text text-anchor="start" x="663.92" y="-1571.6" font-family="Arial" font-size="14.00">event_period_ends_at </text>
<text text-anchor="start" x="806.37" y="-1571.6" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="656.92,-1528.6 656.92,-1559.4 1000.07,-1559.4 1000.07,-1528.6 656.92,-1528.6"/>
<text text-anchor="start" x="663.92" y="-1540.8" font-family="Arial" font-size="14.00">event_period_duration_in_seconds </text>
<text text-anchor="start" x="885.76" y="-1540.8" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
<polygon fill="none" stroke="black" points="656.92,-1497.8 656.92,-1528.6 1000.07,-1528.6 1000.07,-1497.8 656.92,-1497.8"/>
<text text-anchor="start" x="663.92" y="-1510" font-family="Arial" font-size="14.00">price_per_person_amount </text>
<text text-anchor="start" x="831.25" y="-1510" font-family="Arial" font-size="14.00" fill="#666666">[bigint]</text>
<polygon fill="none" stroke="black" points="656.92,-1467 656.92,-1497.8 1000.07,-1497.8 1000.07,-1467 656.92,-1467"/>
<text text-anchor="start" x="663.92" y="-1479.2" font-family="Arial" font-size="14.00">price_per_person_currency </text>
<text text-anchor="start" x="838.24" y="-1479.2" font-family="Arial" font-size="14.00" fill="#666666">[character(3)]</text>
<polygon fill="none" stroke="black" points="656.92,-1436.2 656.92,-1467 1000.07,-1467 1000.07,-1436.2 656.92,-1436.2"/>
<text text-anchor="start" x="663.92" y="-1448.4" font-family="Arial" font-size="14.00">stripe_price_id </text>
<text text-anchor="start" x="758.86" y="-1448.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(64)]</text>
<polygon fill="none" stroke="black" points="656.92,-1405.4 656.92,-1436.2 1000.07,-1436.2 1000.07,-1405.4 656.92,-1405.4"/>
<text text-anchor="start" x="663.92" y="-1417.6" font-family="Arial" font-size="14.00">status </text>
<text text-anchor="start" x="705.17" y="-1417.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="656.92,-1374.6 656.92,-1405.4 1000.07,-1405.4 1000.07,-1374.6 656.92,-1374.6"/>
<text text-anchor="start" x="663.92" y="-1386.8" font-family="Arial" font-size="14.00">max_confirmed_registrations </text>
<text text-anchor="start" x="847.56" y="-1386.8" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
<polygon fill="none" stroke="black" points="656.92,-1343.8 656.92,-1374.6 1000.07,-1374.6 1000.07,-1343.8 656.92,-1343.8"/>
<text text-anchor="start" x="663.92" y="-1356" font-family="Arial" font-size="14.00">registration_opens_at </text>
<text text-anchor="start" x="802.46" y="-1356" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="656.92,-1313 656.92,-1343.8 1000.07,-1343.8 1000.07,-1313 656.92,-1313"/>
<text text-anchor="start" x="663.92" y="-1325.2" font-family="Arial" font-size="14.00">description </text>
<text text-anchor="start" x="735.52" y="-1325.2" font-family="Arial" font-size="14.00" fill="#666666">[text]</text>
<polygon fill="none" stroke="black" points="656.92,-1282.2 656.92,-1313 1000.07,-1313 1000.07,-1282.2 656.92,-1282.2"/>
<text text-anchor="start" x="663.92" y="-1294.4" font-family="Arial" font-size="14.00">persons_per_team </text>
<text text-anchor="start" x="784.55" y="-1294.4" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
<polygon fill="none" stroke="black" points="656.92,-1251.4 656.92,-1282.2 1000.07,-1282.2 1000.07,-1251.4 656.92,-1251.4"/>
<text text-anchor="start" x="663.92" y="-1263.6" font-family="Arial" font-size="14.00">type </text>
<text text-anchor="start" x="694.28" y="-1263.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="656.92,-1220.6 656.92,-1251.4 1000.07,-1251.4 1000.07,-1220.6 656.92,-1220.6"/>
<text text-anchor="start" x="663.92" y="-1232.8" font-family="Arial" font-size="14.00">is_registrations_hidden </text>
<text text-anchor="start" x="811.79" y="-1232.8" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="656.92,-1189.8 656.92,-1220.6 1000.07,-1220.6 1000.07,-1189.8 656.92,-1189.8"/>
<text text-anchor="start" x="663.92" y="-1202" font-family="Arial" font-size="14.00">registration_closes_at </text>
<text text-anchor="start" x="804" y="-1202" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="656.92,-1159 656.92,-1189.8 1000.07,-1189.8 1000.07,-1159 656.92,-1159"/>
<text text-anchor="start" x="663.92" y="-1171.2" font-family="Arial" font-size="14.00">free_cancellation_strategy </text>
<text text-anchor="start" x="831.25" y="-1171.2" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="656.92,-1128.2 656.92,-1159 1000.07,-1159 1000.07,-1128.2 656.92,-1128.2"/>
<text text-anchor="start" x="663.92" y="-1140.4" font-family="Arial" font-size="14.00">updated_by_id </text>
<text text-anchor="start" x="759.68" y="-1140.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="656.92,-1097.4 656.92,-1128.2 1000.07,-1128.2 1000.07,-1097.4 656.92,-1097.4"/>
<text text-anchor="start" x="663.92" y="-1109.6" font-family="Arial" font-size="14.00">cancellation_reason </text>
<text text-anchor="start" x="792.34" y="-1109.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="656.92,-1066.6 656.92,-1097.4 1000.07,-1097.4 1000.07,-1066.6 656.92,-1066.6"/>
<text text-anchor="start" x="663.92" y="-1078.8" font-family="Arial" font-size="14.00">updated_at </text>
<text text-anchor="start" x="737.88" y="-1078.8" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="656.92,-1035.8 656.92,-1066.6 1000.07,-1066.6 1000.07,-1035.8 656.92,-1035.8"/>
<text text-anchor="start" x="663.92" y="-1048" font-family="Arial" font-size="14.00">sport_id </text>
<text text-anchor="start" x="717.62" y="-1048" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" stroke-width="3" points="655.42,-1034.3 655.42,-1812.1 1001.57,-1812.1 1001.57,-1034.3 655.42,-1034.3"/>
</g>
<!-- public.club -->
<g id="node3" 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.club_event&#45;&gt;public.club -->
<g id="edge2" class="edge">
<title>public.club_event:club_id&#45;&gt;public.club:id</title>
<path fill="none" stroke="black" d="M647.41,-1661.16C587.12,-1587.24 396.34,-859.4 350.8,-859.4"/>
<polygon fill="black" stroke="black" points="647.49,-1661.22 653.05,-1670.68 651.85,-1664.31 655.38,-1666.81 655.38,-1666.81 655.38,-1666.81 651.85,-1664.31 658.25,-1663.34 647.49,-1661.22"/>
<text text-anchor="start" x="432.76" y="-1677.2" font-family="Arial" font-size="10.00">FOREIGN KEY (club_id) REFERENCES club(id)</text>
</g>
<!-- public.event_template -->
<g id="node4" class="node">
<title>public.event_template</title>
<polygon fill="#efefef" stroke="none" points="454.53,-582.2 454.53,-617.8 752.47,-617.8 752.47,-582.2 454.53,-582.2"/>
<polygon fill="none" stroke="black" points="454.53,-582.2 454.53,-617.8 752.47,-617.8 752.47,-582.2 454.53,-582.2"/>
<text text-anchor="start" x="461.53" y="-595.6" font-family="Arial Bold" font-size="18.00">public.event_template</text>
<text text-anchor="start" x="620.98" y="-595.6" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="652.09" y="-595.6" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="454.53,-551.4 454.53,-582.2 752.47,-582.2 752.47,-551.4 454.53,-551.4"/>
<text text-anchor="start" x="461.53" y="-563.6" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="476.32" y="-563.6" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="454.53,-520.6 454.53,-551.4 752.47,-551.4 752.47,-520.6 454.53,-520.6"/>
<text text-anchor="start" x="461.53" y="-532.8" font-family="Arial" font-size="14.00">teaser_image_id </text>
<text text-anchor="start" x="568.93" y="-532.8" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="454.53,-489.8 454.53,-520.6 752.47,-520.6 752.47,-489.8 454.53,-489.8"/>
<text text-anchor="start" x="461.53" y="-502" font-family="Arial" font-size="14.00">contentful_id </text>
<text text-anchor="start" x="544.82" y="-502" font-family="Arial" font-size="14.00" fill="#666666">[varchar(64)]</text>
<polygon fill="none" stroke="black" points="454.53,-459 454.53,-489.8 752.47,-489.8 752.47,-459 454.53,-459"/>
<text text-anchor="start" x="461.53" y="-471.2" font-family="Arial" font-size="14.00">title </text>
<text text-anchor="start" x="487.21" y="-471.2" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="454.53,-428.2 454.53,-459 752.47,-459 752.47,-428.2 454.53,-428.2"/>
<text text-anchor="start" x="461.53" y="-440.4" font-family="Arial" font-size="14.00">subtitle </text>
<text text-anchor="start" x="509.78" y="-440.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="454.53,-397.4 454.53,-428.2 752.47,-428.2 752.47,-397.4 454.53,-397.4"/>
<text text-anchor="start" x="461.53" y="-409.6" font-family="Arial" font-size="14.00">description </text>
<text text-anchor="start" x="533.13" y="-409.6" font-family="Arial" font-size="14.00" fill="#666666">[text]</text>
<polygon fill="none" stroke="black" points="454.53,-366.6 454.53,-397.4 752.47,-397.4 752.47,-366.6 454.53,-366.6"/>
<text text-anchor="start" x="461.53" y="-378.8" font-family="Arial" font-size="14.00">is_active </text>
<text text-anchor="start" x="519.89" y="-378.8" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="454.53,-335.8 454.53,-366.6 752.47,-366.6 752.47,-335.8 454.53,-335.8"/>
<text text-anchor="start" x="461.53" y="-348" font-family="Arial" font-size="14.00">stripe_product_id </text>
<text text-anchor="start" x="572.82" y="-348" font-family="Arial" font-size="14.00" fill="#666666">[varchar(64)]</text>
</g>
<!-- public.club_event&#45;&gt;public.event_template -->
<g id="edge3" class="edge">
<title>public.club_event:template_id&#45;&gt;public.event_template:id</title>
<path fill="none" stroke="black" d="M645.63,-1636.24C374.47,-1627.57 616.67,-1270.69 656.92,-989.6 670.59,-894.2 849.84,-566.8 753.47,-566.8"/>
<polygon fill="black" stroke="black" points="645.59,-1636.24 655.52,-1640.89 650.92,-1636.32 655.26,-1636.39 655.26,-1636.39 655.26,-1636.39 650.92,-1636.32 655.66,-1631.9 645.59,-1636.24"/>
<text text-anchor="start" x="362.72" y="-1646.4" font-family="Arial" font-size="10.00">FOREIGN KEY (template_id) REFERENCES event_template(id)</text>
</g>
<!-- public.user -->
<g id="node5" class="node">
<title>public.user</title>
<polygon fill="#efefef" stroke="none" points="856.63,-767 856.63,-802.6 1250.37,-802.6 1250.37,-767 856.63,-767"/>
<polygon fill="none" stroke="black" points="856.63,-767 856.63,-802.6 1250.37,-802.6 1250.37,-767 856.63,-767"/>
<text text-anchor="start" x="951.51" y="-780.4" font-family="Arial Bold" font-size="18.00">public.user</text>
<text text-anchor="start" x="1030.99" y="-780.4" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="1062.11" y="-780.4" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="856.63,-736.2 856.63,-767 1250.37,-767 1250.37,-736.2 856.63,-736.2"/>
<text text-anchor="start" x="863.63" y="-748.4" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="878.41" y="-748.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="856.63,-705.4 856.63,-736.2 1250.37,-736.2 1250.37,-705.4 856.63,-705.4"/>
<text text-anchor="start" x="863.63" y="-717.6" font-family="Arial" font-size="14.00">first_name </text>
<text text-anchor="start" x="932.88" y="-717.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="856.63,-674.6 856.63,-705.4 1250.37,-705.4 1250.37,-674.6 856.63,-674.6"/>
<text text-anchor="start" x="863.63" y="-686.8" font-family="Arial" font-size="14.00">last_name </text>
<text text-anchor="start" x="932.11" y="-686.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="856.63,-643.8 856.63,-674.6 1250.37,-674.6 1250.37,-643.8 856.63,-643.8"/>
<text text-anchor="start" x="863.63" y="-656" font-family="Arial" font-size="14.00">email </text>
<text text-anchor="start" x="900.97" y="-656" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="856.63,-613 856.63,-643.8 1250.37,-643.8 1250.37,-613 856.63,-613"/>
<text text-anchor="start" x="863.63" y="-625.2" font-family="Arial" font-size="14.00">gender </text>
<text text-anchor="start" x="911.11" y="-625.2" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="856.63,-582.2 856.63,-613 1250.37,-613 1250.37,-582.2 856.63,-582.2"/>
<text text-anchor="start" x="863.63" y="-594.4" font-family="Arial" font-size="14.00">birthday </text>
<text text-anchor="start" x="917.32" y="-594.4" font-family="Arial" font-size="14.00" fill="#666666">[date]</text>
<polygon fill="none" stroke="black" points="856.63,-551.4 856.63,-582.2 1250.37,-582.2 1250.37,-551.4 856.63,-551.4"/>
<text text-anchor="start" x="863.63" y="-563.6" font-family="Arial" font-size="14.00">skill_level </text>
<text text-anchor="start" x="927.43" y="-563.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="856.63,-520.6 856.63,-551.4 1250.37,-551.4 1250.37,-520.6 856.63,-520.6"/>
<text text-anchor="start" x="863.63" y="-532.8" font-family="Arial" font-size="14.00">is_age_public </text>
<text text-anchor="start" x="953.14" y="-532.8" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="856.63,-489.8 856.63,-520.6 1250.37,-520.6 1250.37,-489.8 856.63,-489.8"/>
<text text-anchor="start" x="863.63" y="-502" font-family="Arial" font-size="14.00">profile_image_path </text>
<text text-anchor="start" x="986.6" y="-502" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="856.63,-459 856.63,-489.8 1250.37,-489.8 1250.37,-459 856.63,-459"/>
<text text-anchor="start" x="863.63" y="-471.2" font-family="Arial" font-size="14.00">is_marketing_consent_granted </text>
<text text-anchor="start" x="1058.97" y="-471.2" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="856.63,-428.2 856.63,-459 1250.37,-459 1250.37,-428.2 856.63,-428.2"/>
<text text-anchor="start" x="863.63" y="-440.4" font-family="Arial" font-size="14.00">marketing_consent_granted_at </text>
<text text-anchor="start" x="1060.54" y="-440.4" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="856.63,-397.4 856.63,-428.2 1250.37,-428.2 1250.37,-397.4 856.63,-397.4"/>
<text text-anchor="start" x="863.63" y="-409.6" font-family="Arial" font-size="14.00">get_stream_token </text>
<text text-anchor="start" x="979.59" y="-409.6" font-family="Arial" font-size="14.00" fill="#666666">[text]</text>
<polygon fill="none" stroke="black" points="856.63,-366.6 856.63,-397.4 1250.37,-397.4 1250.37,-366.6 856.63,-366.6"/>
<text text-anchor="start" x="863.63" y="-378.8" font-family="Arial" font-size="14.00">email_address_id </text>
<text text-anchor="start" x="977.25" y="-378.8" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="856.63,-335.8 856.63,-366.6 1250.37,-366.6 1250.37,-335.8 856.63,-335.8"/>
<text text-anchor="start" x="863.63" y="-348" font-family="Arial" font-size="14.00">preferred_playing_times </text>
<text text-anchor="start" x="1017.71" y="-348" font-family="Arial" font-size="14.00" fill="#666666">[text]</text>
<polygon fill="none" stroke="black" points="856.63,-305 856.63,-335.8 1250.37,-335.8 1250.37,-305 856.63,-305"/>
<text text-anchor="start" x="863.63" y="-317.2" font-family="Arial" font-size="14.00">dominant_hands </text>
<text text-anchor="start" x="971.04" y="-317.2" font-family="Arial" font-size="14.00" fill="#666666">[text]</text>
<polygon fill="none" stroke="black" points="856.63,-274.2 856.63,-305 1250.37,-305 1250.37,-274.2 856.63,-274.2"/>
<text text-anchor="start" x="863.63" y="-286.4" font-family="Arial" font-size="14.00">locale </text>
<text text-anchor="start" x="904.1" y="-286.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="856.63,-243.4 856.63,-274.2 1250.37,-274.2 1250.37,-243.4 856.63,-243.4"/>
<text text-anchor="start" x="863.63" y="-255.6" font-family="Arial" font-size="14.00">is_deleted </text>
<text text-anchor="start" x="931.34" y="-255.6" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="856.63,-212.6 856.63,-243.4 1250.37,-243.4 1250.37,-212.6 856.63,-212.6"/>
<text text-anchor="start" x="863.63" y="-224.8" font-family="Arial" font-size="14.00">deleted_at </text>
<text text-anchor="start" x="932.91" y="-224.8" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="856.63,-181.8 856.63,-212.6 1250.37,-212.6 1250.37,-181.8 856.63,-181.8"/>
<text text-anchor="start" x="863.63" y="-194" font-family="Arial" font-size="14.00">created_at </text>
<text text-anchor="start" x="933.68" y="-194" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="856.63,-151 856.63,-181.8 1250.37,-181.8 1250.37,-151 856.63,-151"/>
<text text-anchor="start" x="863.63" y="-163.2" font-family="Arial" font-size="14.00">phone_number </text>
<text text-anchor="start" x="961.7" y="-163.2" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
</g>
<!-- public.club_event&#45;&gt;public.user -->
<g id="edge4" class="edge">
<title>public.club_event:updated_by_id&#45;&gt;public.user:id</title>
<path fill="none" stroke="black" d="M1011.32,-1142.8C1064.86,-1133.75 1024.99,-1049.31 1000.07,-989.6 965.31,-906.29 891.56,-929.04 856.63,-845.8 840.42,-807.19 813.76,-751.6 855.63,-751.6"/>
<polygon fill="black" stroke="black" points="1011.38,-1142.8 1001.06,-1139.09 1006.06,-1143.21 1001.74,-1143.55 1001.74,-1143.55 1001.74,-1143.55 1006.06,-1143.21 1001.76,-1148.06 1011.38,-1142.8"/>
<text text-anchor="start" x="1008.07" y="-1153.6" font-family="Arial" font-size="10.00">FOREIGN KEY (updated_by_id) REFERENCES &quot;user&quot;(id) ON DELETE SET NULL</text>
</g>
<!-- public.sport -->
<g id="node6" class="node">
<title>public.sport</title>
<polygon fill="#efefef" stroke="none" points="1354.51,-489.8 1354.51,-525.4 1578.49,-525.4 1578.49,-489.8 1354.51,-489.8"/>
<polygon fill="none" stroke="black" points="1354.51,-489.8 1354.51,-525.4 1578.49,-525.4 1578.49,-489.8 1354.51,-489.8"/>
<text text-anchor="start" x="1361.51" y="-503.2" font-family="Arial Bold" font-size="18.00">public.sport</text>
<text text-anchor="start" x="1447" y="-503.2" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="1478.12" y="-503.2" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="1354.51,-459 1354.51,-489.8 1578.49,-489.8 1578.49,-459 1354.51,-459"/>
<text text-anchor="start" x="1361.51" y="-471.2" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="1376.3" y="-471.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="1354.51,-428.2 1354.51,-459 1578.49,-459 1578.49,-428.2 1354.51,-428.2"/>
<text text-anchor="start" x="1361.51" y="-440.4" font-family="Arial" font-size="14.00">type </text>
<text text-anchor="start" x="1391.86" y="-440.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
</g>
<!-- public.club_event&#45;&gt;public.sport -->
<g id="edge5" class="edge">
<title>public.club_event:sport_id&#45;&gt;public.sport:id</title>
<path fill="none" stroke="black" d="M1011.24,-1050.94C1087.96,-1047.32 1260.12,-1005.81 1302.5,-953.6 1369.99,-870.45 1246.42,-474.4 1353.51,-474.4"/>
<polygon fill="black" stroke="black" points="1011.41,-1050.94 1001.3,-1046.69 1006.07,-1051.07 1001.74,-1051.18 1001.74,-1051.18 1001.74,-1051.18 1006.07,-1051.07 1001.52,-1055.69 1011.41,-1050.94"/>
<text text-anchor="start" x="1008.07" y="-1061.2" font-family="Arial" font-size="10.00">FOREIGN KEY (sport_id) REFERENCES sport(id)</text>
</g>
<!-- public.event_registration -->
<g id="node2" class="node">
<title>public.event_registration</title>
<polygon fill="#efefef" stroke="none" points="669.53,-2182.4 669.53,-2218 987.47,-2218 987.47,-2182.4 669.53,-2182.4"/>
<polygon fill="none" stroke="black" points="669.53,-2182.4 669.53,-2218 987.47,-2218 987.47,-2182.4 669.53,-2182.4"/>
<text text-anchor="start" x="676.53" y="-2195.8" font-family="Arial Bold" font-size="18.00">public.event_registration</text>
<text text-anchor="start" x="855.98" y="-2195.8" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="887.1" y="-2195.8" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="669.53,-2151.6 669.53,-2182.4 987.47,-2182.4 987.47,-2151.6 669.53,-2151.6"/>
<text text-anchor="start" x="676.53" y="-2163.8" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="691.32" y="-2163.8" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="669.53,-2120.8 669.53,-2151.6 987.47,-2151.6 987.47,-2120.8 669.53,-2120.8"/>
<text text-anchor="start" x="676.53" y="-2133" font-family="Arial" font-size="14.00">event_id </text>
<text text-anchor="start" x="733.35" y="-2133" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="669.53,-2090 669.53,-2120.8 987.47,-2120.8 987.47,-2090 669.53,-2090"/>
<text text-anchor="start" x="676.53" y="-2102.2" font-family="Arial" font-size="14.00">created_at </text>
<text text-anchor="start" x="746.58" y="-2102.2" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="669.53,-2059.2 669.53,-2090 987.47,-2090 987.47,-2059.2 669.53,-2059.2"/>
<text text-anchor="start" x="676.53" y="-2071.4" font-family="Arial" font-size="14.00">status </text>
<text text-anchor="start" x="717.77" y="-2071.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="669.53,-2028.4 669.53,-2059.2 987.47,-2059.2 987.47,-2028.4 669.53,-2028.4"/>
<text text-anchor="start" x="676.53" y="-2040.6" font-family="Arial" font-size="14.00">team_id </text>
<text text-anchor="start" x="730.23" y="-2040.6" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="669.53,-1997.6 669.53,-2028.4 987.47,-2028.4 987.47,-1997.6 669.53,-1997.6"/>
<text text-anchor="start" x="676.53" y="-2009.8" font-family="Arial" font-size="14.00">created_by_id </text>
<text text-anchor="start" x="768.37" y="-2009.8" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="669.53,-1966.8 669.53,-1997.6 987.47,-1997.6 987.47,-1966.8 669.53,-1966.8"/>
<text text-anchor="start" x="676.53" y="-1979" font-family="Arial" font-size="14.00">cancelled_by_id </text>
<text text-anchor="start" x="780.83" y="-1979" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="669.53,-1936 669.53,-1966.8 987.47,-1966.8 987.47,-1936 669.53,-1936"/>
<text text-anchor="start" x="676.53" y="-1948.2" font-family="Arial" font-size="14.00">cancelled_at </text>
<text text-anchor="start" x="759.03" y="-1948.2" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
</g>
<!-- public.event_registration&#45;&gt;public.club_event -->
<g id="edge1" class="edge">
<title>public.event_registration:event_id&#45;&gt;public.club_event:id</title>
<path fill="none" stroke="black" d="M998.57,-2135.73C1156.38,-2120.91 1165.11,-1759.6 1001.07,-1759.6"/>
<polygon fill="black" stroke="black" points="998.79,-2135.72 988.59,-2131.69 993.46,-2135.97 989.14,-2136.17 989.14,-2136.17 989.14,-2136.17 993.46,-2135.97 989.01,-2140.68 998.79,-2135.72"/>
<text text-anchor="start" x="995.47" y="-2146.2" font-family="Arial" font-size="10.00">FOREIGN KEY (event_id) REFERENCES club_event(id)</text>
</g>
</g>
</svg>
