<?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.game Pages: 1 -->
<svg width="2401pt" height="2577pt"
 viewBox="0.00 0.00 2400.87 2577.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 2573.2)">
<title>public.game</title>
<polygon fill="white" stroke="none" points="-4,4 -4,-2573.2 2396.87,-2573.2 2396.87,4 -4,4"/>
<!-- public.game -->
<g id="node1" class="node">
<title>public.game</title>
<polygon fill="#efefef" stroke="none" points="1194.17,-1959.8 1194.17,-1995.4 1541.2,-1995.4 1541.2,-1959.8 1194.17,-1959.8"/>
<polygon fill="none" stroke="black" points="1194.17,-1959.8 1194.17,-1995.4 1541.2,-1995.4 1541.2,-1959.8 1194.17,-1959.8"/>
<text text-anchor="start" x="1261.2" y="-1973.2" font-family="Arial Bold" font-size="18.00">public.game</text>
<text text-anchor="start" x="1349.67" y="-1973.2" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="1380.79" y="-1973.2" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="1194.17,-1929 1194.17,-1959.8 1541.2,-1959.8 1541.2,-1929 1194.17,-1929"/>
<text text-anchor="start" x="1201.17" y="-1941.2" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="1215.96" y="-1941.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="1194.17,-1898.2 1194.17,-1929 1541.2,-1929 1541.2,-1898.2 1194.17,-1898.2"/>
<text text-anchor="start" x="1201.17" y="-1910.4" font-family="Arial" font-size="14.00">court_id </text>
<text text-anchor="start" x="1254.87" y="-1910.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="1194.17,-1867.4 1194.17,-1898.2 1541.2,-1898.2 1541.2,-1867.4 1194.17,-1867.4"/>
<text text-anchor="start" x="1201.17" y="-1879.6" font-family="Arial" font-size="14.00">club_id </text>
<text text-anchor="start" x="1249.42" y="-1879.6" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="1194.17,-1836.6 1194.17,-1867.4 1541.2,-1867.4 1541.2,-1836.6 1194.17,-1836.6"/>
<text text-anchor="start" x="1201.17" y="-1848.8" font-family="Arial" font-size="14.00">coach_id </text>
<text text-anchor="start" x="1261.1" y="-1848.8" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="1194.17,-1805.8 1194.17,-1836.6 1541.2,-1836.6 1541.2,-1805.8 1194.17,-1805.8"/>
<text text-anchor="start" x="1201.17" y="-1818" font-family="Arial" font-size="14.00">kind </text>
<text text-anchor="start" x="1230.74" y="-1818" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="1194.17,-1775 1194.17,-1805.8 1541.2,-1805.8 1541.2,-1775 1194.17,-1775"/>
<text text-anchor="start" x="1201.17" y="-1787.2" font-family="Arial" font-size="14.00">phase </text>
<text text-anchor="start" x="1243.2" y="-1787.2" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="1194.17,-1744.2 1194.17,-1775 1541.2,-1775 1541.2,-1744.2 1194.17,-1744.2"/>
<text text-anchor="start" x="1201.17" y="-1756.4" font-family="Arial" font-size="14.00">match_period_starts_at </text>
<text text-anchor="start" x="1351.36" y="-1756.4" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="1194.17,-1713.4 1194.17,-1744.2 1541.2,-1744.2 1541.2,-1713.4 1194.17,-1713.4"/>
<text text-anchor="start" x="1201.17" y="-1725.6" font-family="Arial" font-size="14.00">match_period_ends_at </text>
<text text-anchor="start" x="1347.49" y="-1725.6" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="1194.17,-1682.6 1194.17,-1713.4 1541.2,-1713.4 1541.2,-1682.6 1194.17,-1682.6"/>
<text text-anchor="start" x="1201.17" y="-1694.8" font-family="Arial" font-size="14.00">court_fee_amount </text>
<text text-anchor="start" x="1317.91" y="-1694.8" font-family="Arial" font-size="14.00" fill="#666666">[bigint]</text>
<polygon fill="none" stroke="black" points="1194.17,-1651.8 1194.17,-1682.6 1541.2,-1682.6 1541.2,-1651.8 1194.17,-1651.8"/>
<text text-anchor="start" x="1201.17" y="-1664" font-family="Arial" font-size="14.00">court_fee_currency </text>
<text text-anchor="start" x="1324.9" y="-1664" font-family="Arial" font-size="14.00" fill="#666666">[character(3)]</text>
<polygon fill="none" stroke="black" points="1194.17,-1621 1194.17,-1651.8 1541.2,-1651.8 1541.2,-1621 1194.17,-1621"/>
<text text-anchor="start" x="1201.17" y="-1633.2" font-family="Arial" font-size="14.00">created_at </text>
<text text-anchor="start" x="1271.22" y="-1633.2" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="1194.17,-1590.2 1194.17,-1621 1541.2,-1621 1541.2,-1590.2 1194.17,-1590.2"/>
<text text-anchor="start" x="1201.17" y="-1602.4" font-family="Arial" font-size="14.00">cancelled_at </text>
<text text-anchor="start" x="1283.67" y="-1602.4" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="1194.17,-1559.4 1194.17,-1590.2 1541.2,-1590.2 1541.2,-1559.4 1194.17,-1559.4"/>
<text text-anchor="start" x="1201.17" y="-1571.6" font-family="Arial" font-size="14.00">scheduled_at </text>
<text text-anchor="start" x="1288.35" y="-1571.6" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="1194.17,-1528.6 1194.17,-1559.4 1541.2,-1559.4 1541.2,-1528.6 1194.17,-1528.6"/>
<text text-anchor="start" x="1201.17" y="-1540.8" font-family="Arial" font-size="14.00">terminated_at </text>
<text text-anchor="start" x="1290.67" y="-1540.8" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="1194.17,-1497.8 1194.17,-1528.6 1541.2,-1528.6 1541.2,-1497.8 1194.17,-1497.8"/>
<text text-anchor="start" x="1201.17" y="-1510" font-family="Arial" font-size="14.00">cancelled_by_id </text>
<text text-anchor="start" x="1305.47" y="-1510" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="1194.17,-1467 1194.17,-1497.8 1541.2,-1497.8 1541.2,-1467 1194.17,-1467"/>
<text text-anchor="start" x="1201.17" y="-1479.2" font-family="Arial" font-size="14.00">note </text>
<text text-anchor="start" x="1232.31" y="-1479.2" font-family="Arial" font-size="14.00" fill="#666666">[text]</text>
<polygon fill="none" stroke="black" points="1194.17,-1436.2 1194.17,-1467 1541.2,-1467 1541.2,-1436.2 1194.17,-1436.2"/>
<text text-anchor="start" x="1201.17" y="-1448.4" font-family="Arial" font-size="14.00">schedule_till_latest </text>
<text text-anchor="start" x="1323.35" y="-1448.4" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="1194.17,-1405.4 1194.17,-1436.2 1541.2,-1436.2 1541.2,-1405.4 1194.17,-1405.4"/>
<text text-anchor="start" x="1201.17" y="-1417.6" font-family="Arial" font-size="14.00">match_period_duration_in_seconds </text>
<text text-anchor="start" x="1426.88" y="-1417.6" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
<polygon fill="none" stroke="black" points="1194.17,-1374.6 1194.17,-1405.4 1541.2,-1405.4 1541.2,-1374.6 1194.17,-1374.6"/>
<text text-anchor="start" x="1201.17" y="-1386.8" font-family="Arial" font-size="14.00">day_index </text>
<text text-anchor="start" x="1268.89" y="-1386.8" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
<polygon fill="none" stroke="black" points="1194.17,-1343.8 1194.17,-1374.6 1541.2,-1374.6 1541.2,-1343.8 1194.17,-1343.8"/>
<text text-anchor="start" x="1201.17" y="-1356" font-family="Arial" font-size="14.00">day_name </text>
<text text-anchor="start" x="1270.44" y="-1356" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="1194.17,-1313 1194.17,-1343.8 1541.2,-1343.8 1541.2,-1313 1194.17,-1313"/>
<text text-anchor="start" x="1201.17" y="-1325.2" font-family="Arial" font-size="14.00">running_at </text>
<text text-anchor="start" x="1271.22" y="-1325.2" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="1194.17,-1282.2 1194.17,-1313 1541.2,-1313 1541.2,-1282.2 1194.17,-1282.2"/>
<text text-anchor="start" x="1201.17" y="-1294.4" font-family="Arial" font-size="14.00">finished_at </text>
<text text-anchor="start" x="1272.78" y="-1294.4" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="1194.17,-1251.4 1194.17,-1282.2 1541.2,-1282.2 1541.2,-1251.4 1194.17,-1251.4"/>
<text text-anchor="start" x="1201.17" y="-1263.6" font-family="Arial" font-size="14.00">confirming_at </text>
<text text-anchor="start" x="1289.1" y="-1263.6" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="1194.17,-1220.6 1194.17,-1251.4 1541.2,-1251.4 1541.2,-1220.6 1194.17,-1220.6"/>
<text text-anchor="start" x="1201.17" y="-1232.8" font-family="Arial" font-size="14.00">match_series_id </text>
<text text-anchor="start" x="1307" y="-1232.8" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="1194.17,-1189.8 1194.17,-1220.6 1541.2,-1220.6 1541.2,-1189.8 1194.17,-1189.8"/>
<text text-anchor="start" x="1201.17" y="-1202" font-family="Arial" font-size="14.00">created_by_id </text>
<text text-anchor="start" x="1293.01" y="-1202" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="1194.17,-1159 1194.17,-1189.8 1541.2,-1189.8 1541.2,-1159 1194.17,-1159"/>
<text text-anchor="start" x="1201.17" y="-1171.2" font-family="Arial" font-size="14.00">split_payment_id </text>
<text text-anchor="start" x="1310.12" y="-1171.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="1194.17,-1128.2 1194.17,-1159 1541.2,-1159 1541.2,-1128.2 1194.17,-1128.2"/>
<text text-anchor="start" x="1201.17" y="-1140.4" font-family="Arial" font-size="14.00">version </text>
<text text-anchor="start" x="1250.19" y="-1140.4" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
<polygon fill="none" stroke="black" points="1194.17,-1097.4 1194.17,-1128.2 1541.2,-1128.2 1541.2,-1097.4 1194.17,-1097.4"/>
<text text-anchor="start" x="1201.17" y="-1109.6" font-family="Arial" font-size="14.00">is_split_payment_migrated </text>
<text text-anchor="start" x="1371.59" y="-1109.6" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="1194.17,-1066.6 1194.17,-1097.4 1541.2,-1097.4 1541.2,-1066.6 1194.17,-1066.6"/>
<text text-anchor="start" x="1201.17" y="-1078.8" font-family="Arial" font-size="14.00">abandoned_at </text>
<text text-anchor="start" x="1294.6" y="-1078.8" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="1194.17,-1035.8 1194.17,-1066.6 1541.2,-1066.6 1541.2,-1035.8 1194.17,-1035.8"/>
<text text-anchor="start" x="1201.17" y="-1048" font-family="Arial" font-size="14.00">reserved_at </text>
<text text-anchor="start" x="1278.99" y="-1048" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" stroke-width="3" points="1192.67,-1034.3 1192.67,-1996.9 1542.7,-1996.9 1542.7,-1034.3 1192.67,-1034.3"/>
</g>
<!-- public.court -->
<g id="node6" class="node">
<title>public.court</title>
<polygon fill="#efefef" stroke="none" points="43.2,-597.6 43.2,-633.2 268.16,-633.2 268.16,-597.6 43.2,-597.6"/>
<polygon fill="none" stroke="black" points="43.2,-597.6 43.2,-633.2 268.16,-633.2 268.16,-597.6 43.2,-597.6"/>
<text text-anchor="start" x="50.2" y="-611" font-family="Arial Bold" font-size="18.00">public.court</text>
<text text-anchor="start" x="136.68" y="-611" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="167.79" y="-611" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="43.2,-566.8 43.2,-597.6 268.16,-597.6 268.16,-566.8 43.2,-566.8"/>
<text text-anchor="start" x="50.2" y="-579" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="64.99" y="-579" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="43.2,-536 43.2,-566.8 268.16,-566.8 268.16,-536 43.2,-536"/>
<text text-anchor="start" x="50.2" y="-548.2" font-family="Arial" font-size="14.00">name </text>
<text text-anchor="start" x="89.11" 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 268.16,-536 268.16,-505.2 43.2,-505.2"/>
<text text-anchor="start" x="50.2" y="-517.4" font-family="Arial" font-size="14.00">club_id </text>
<text text-anchor="start" x="98.45" y="-517.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="43.2,-474.4 43.2,-505.2 268.16,-505.2 268.16,-474.4 43.2,-474.4"/>
<text text-anchor="start" x="50.2" y="-486.6" font-family="Arial" font-size="14.00">location_type </text>
<text text-anchor="start" x="136.59" 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 268.16,-474.4 268.16,-443.6 43.2,-443.6"/>
<text text-anchor="start" x="50.2" y="-455.8" font-family="Arial" font-size="14.00">match_type </text>
<text text-anchor="start" x="126.46" 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 268.16,-443.6 268.16,-412.8 43.2,-412.8"/>
<text text-anchor="start" x="50.2" y="-425" font-family="Arial" font-size="14.00">contentful_id </text>
<text text-anchor="start" x="133.48" y="-425" font-family="Arial" font-size="14.00" fill="#666666">[varchar(64)]</text>
<polygon fill="none" stroke="black" points="43.2,-382 43.2,-412.8 268.16,-412.8 268.16,-382 43.2,-382"/>
<text text-anchor="start" x="50.2" y="-394.2" font-family="Arial" font-size="14.00">is_active </text>
<text text-anchor="start" x="108.56" y="-394.2" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="43.2,-351.2 43.2,-382 268.16,-382 268.16,-351.2 43.2,-351.2"/>
<text text-anchor="start" x="50.2" y="-363.4" font-family="Arial" font-size="14.00">sport_id </text>
<text text-anchor="start" x="103.9" y="-363.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="43.2,-320.4 43.2,-351.2 268.16,-351.2 268.16,-320.4 43.2,-320.4"/>
<text text-anchor="start" x="50.2" y="-332.6" font-family="Arial" font-size="14.00">is_premium </text>
<text text-anchor="start" x="126.44" y="-332.6" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
</g>
<!-- public.game&#45;&gt;public.court -->
<g id="edge5" class="edge">
<title>public.game:court_id&#45;&gt;public.court:id</title>
<path fill="none" stroke="black" d="M1183.09,-1913.55C616.01,-1908.47 563.65,-1472.73 320.68,-953.6 285.36,-878.13 352.49,-582.2 269.16,-582.2"/>
<polygon fill="black" stroke="black" points="1182.83,-1913.55 1192.81,-1918.1 1188.17,-1913.58 1192.5,-1913.6 1192.5,-1913.6 1192.5,-1913.6 1188.17,-1913.58 1192.85,-1909.1 1182.83,-1913.55"/>
<text text-anchor="start" x="962.23" y="-1923.6" font-family="Arial" font-size="10.00">FOREIGN KEY (court_id) REFERENCES court(id)</text>
</g>
<!-- public.club -->
<g id="node7" class="node">
<title>public.club</title>
<polygon fill="#efefef" stroke="none" points="372.38,-874.8 372.38,-910.4 678.98,-910.4 678.98,-874.8 372.38,-874.8"/>
<polygon fill="none" stroke="black" points="372.38,-874.8 372.38,-910.4 678.98,-910.4 678.98,-874.8 372.38,-874.8"/>
<text text-anchor="start" x="423.2" y="-888.2" font-family="Arial Bold" font-size="18.00">public.club</text>
<text text-anchor="start" x="503.68" y="-888.2" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="534.8" y="-888.2" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="372.38,-844 372.38,-874.8 678.98,-874.8 678.98,-844 372.38,-844"/>
<text text-anchor="start" x="379.38" y="-856.2" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="394.17" y="-856.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="372.38,-813.2 372.38,-844 678.98,-844 678.98,-813.2 372.38,-813.2"/>
<text text-anchor="start" x="379.38" y="-825.4" font-family="Arial" font-size="14.00">contentful_id </text>
<text text-anchor="start" x="462.67" y="-825.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(64)]</text>
<polygon fill="none" stroke="black" points="372.38,-782.4 372.38,-813.2 678.98,-813.2 678.98,-782.4 372.38,-782.4"/>
<text text-anchor="start" x="379.38" y="-794.6" font-family="Arial" font-size="14.00">name </text>
<text text-anchor="start" x="418.29" y="-794.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="372.38,-751.6 372.38,-782.4 678.98,-782.4 678.98,-751.6 372.38,-751.6"/>
<text text-anchor="start" x="379.38" y="-763.8" font-family="Arial" font-size="14.00">address_street_name </text>
<text text-anchor="start" x="518.69" y="-763.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="372.38,-720.8 372.38,-751.6 678.98,-751.6 678.98,-720.8 372.38,-720.8"/>
<text text-anchor="start" x="379.38" y="-733" font-family="Arial" font-size="14.00">address_building_number </text>
<text text-anchor="start" x="544.38" y="-733" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="372.38,-690 372.38,-720.8 678.98,-720.8 678.98,-690 372.38,-690"/>
<text text-anchor="start" x="379.38" y="-702.2" font-family="Arial" font-size="14.00">address_postal_code </text>
<text text-anchor="start" x="516.37" y="-702.2" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="372.38,-659.2 372.38,-690 678.98,-690 678.98,-659.2 372.38,-659.2"/>
<text text-anchor="start" x="379.38" y="-671.4" font-family="Arial" font-size="14.00">address_locality_name </text>
<text text-anchor="start" x="526.47" y="-671.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="372.38,-628.4 372.38,-659.2 678.98,-659.2 678.98,-628.4 372.38,-628.4"/>
<text text-anchor="start" x="379.38" y="-640.6" font-family="Arial" font-size="14.00">location_latitude </text>
<text text-anchor="start" x="484.46" y="-640.6" font-family="Arial" font-size="14.00" fill="#666666">[numeric(9,7)]</text>
<polygon fill="none" stroke="black" points="372.38,-597.6 372.38,-628.4 678.98,-628.4 678.98,-597.6 372.38,-597.6"/>
<text text-anchor="start" x="379.38" y="-609.8" font-family="Arial" font-size="14.00">location_longitude </text>
<text text-anchor="start" x="496.14" y="-609.8" font-family="Arial" font-size="14.00" fill="#666666">[numeric(9,7)]</text>
<polygon fill="none" stroke="black" points="372.38,-566.8 372.38,-597.6 678.98,-597.6 678.98,-566.8 372.38,-566.8"/>
<text text-anchor="start" x="379.38" y="-579" font-family="Arial" font-size="14.00">contact_name </text>
<text text-anchor="start" x="471.22" y="-579" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="372.38,-536 372.38,-566.8 678.98,-566.8 678.98,-536 372.38,-536"/>
<text text-anchor="start" x="379.38" y="-548.2" font-family="Arial" font-size="14.00">contact_website </text>
<text text-anchor="start" x="483.67" y="-548.2" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="372.38,-505.2 372.38,-536 678.98,-536 678.98,-505.2 372.38,-505.2"/>
<text text-anchor="start" x="379.38" y="-517.4" font-family="Arial" font-size="14.00">contact_phone_number </text>
<text text-anchor="start" x="530.38" y="-517.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="372.38,-474.4 372.38,-505.2 678.98,-505.2 678.98,-474.4 372.38,-474.4"/>
<text text-anchor="start" x="379.38" y="-486.6" font-family="Arial" font-size="14.00">contact_email_address </text>
<text text-anchor="start" x="527.24" y="-486.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="372.38,-443.6 372.38,-474.4 678.98,-474.4 678.98,-443.6 372.38,-443.6"/>
<text text-anchor="start" x="379.38" y="-455.8" font-family="Arial" font-size="14.00">contact_profile_image_url </text>
<text text-anchor="start" x="543.59" y="-455.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="372.38,-412.8 372.38,-443.6 678.98,-443.6 678.98,-412.8 372.38,-412.8"/>
<text text-anchor="start" x="379.38" y="-425" font-family="Arial" font-size="14.00">is_active </text>
<text text-anchor="start" x="437.74" y="-425" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="372.38,-382 372.38,-412.8 678.98,-412.8 678.98,-382 372.38,-382"/>
<text text-anchor="start" x="379.38" y="-394.2" font-family="Arial" font-size="14.00">main_image_id </text>
<text text-anchor="start" x="478.22" y="-394.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="372.38,-351.2 372.38,-382 678.98,-382 678.98,-351.2 372.38,-351.2"/>
<text text-anchor="start" x="379.38" y="-363.4" font-family="Arial" font-size="14.00">opening_times_as_json </text>
<text text-anchor="start" x="530.38" y="-363.4" font-family="Arial" font-size="14.00" fill="#666666">[json]</text>
<polygon fill="none" stroke="black" points="372.38,-320.4 372.38,-351.2 678.98,-351.2 678.98,-320.4 372.38,-320.4"/>
<text text-anchor="start" x="379.38" y="-332.6" font-family="Arial" font-size="14.00">operator_name </text>
<text text-anchor="start" x="478.22" y="-332.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="372.38,-289.6 372.38,-320.4 678.98,-320.4 678.98,-289.6 372.38,-289.6"/>
<text text-anchor="start" x="379.38" y="-301.8" font-family="Arial" font-size="14.00">court_pricing_as_json </text>
<text text-anchor="start" x="519.47" y="-301.8" font-family="Arial" font-size="14.00" fill="#666666">[json]</text>
<polygon fill="none" stroke="black" points="372.38,-258.8 372.38,-289.6 678.98,-289.6 678.98,-258.8 372.38,-258.8"/>
<text text-anchor="start" x="379.38" y="-271" font-family="Arial" font-size="14.00">timezone </text>
<text text-anchor="start" x="440.08" y="-271" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="372.38,-228 372.38,-258.8 678.98,-258.8 678.98,-228 372.38,-228"/>
<text text-anchor="start" x="379.38" y="-240.2" font-family="Arial" font-size="14.00">default_price_per_hour_amount </text>
<text text-anchor="start" x="581.75" y="-240.2" font-family="Arial" font-size="14.00" fill="#666666">[bigint]</text>
<polygon fill="none" stroke="black" points="372.38,-197.2 372.38,-228 678.98,-228 678.98,-197.2 372.38,-197.2"/>
<text text-anchor="start" x="379.38" y="-209.4" font-family="Arial" font-size="14.00">default_price_per_hour_currency </text>
<text text-anchor="start" x="588.73" y="-209.4" font-family="Arial" font-size="14.00" fill="#666666">[character(3)]</text>
<polygon fill="none" stroke="black" points="372.38,-166.4 372.38,-197.2 678.98,-197.2 678.98,-166.4 372.38,-166.4"/>
<text text-anchor="start" x="379.38" y="-178.6" font-family="Arial" font-size="14.00">description </text>
<text text-anchor="start" x="450.98" y="-178.6" font-family="Arial" font-size="14.00" fill="#666666">[text]</text>
<polygon fill="none" stroke="black" points="372.38,-135.6 372.38,-166.4 678.98,-166.4 678.98,-135.6 372.38,-135.6"/>
<text text-anchor="start" x="379.38" y="-147.8" font-family="Arial" font-size="14.00">subdivision_code </text>
<text text-anchor="start" x="490.68" y="-147.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="372.38,-104.8 372.38,-135.6 678.98,-135.6 678.98,-104.8 372.38,-104.8"/>
<text text-anchor="start" x="379.38" y="-117" font-family="Arial" font-size="14.00">wellpass_api_key </text>
<text text-anchor="start" x="493" y="-117" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="372.38,-74 372.38,-104.8 678.98,-104.8 678.98,-74 372.38,-74"/>
<text text-anchor="start" x="379.38" y="-86.2" font-family="Arial" font-size="14.00">is_wellpass_enabled </text>
<text text-anchor="start" x="512.47" y="-86.2" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="372.38,-43.2 372.38,-74 678.98,-74 678.98,-43.2 372.38,-43.2"/>
<text text-anchor="start" x="379.38" y="-55.4" font-family="Arial" font-size="14.00">is_shown_in_app </text>
<text text-anchor="start" x="491.47" y="-55.4" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
</g>
<!-- public.game&#45;&gt;public.club -->
<g id="edge6" class="edge">
<title>public.game:club_id&#45;&gt;public.club:id</title>
<path fill="none" stroke="black" d="M1187.63,-1873.95C1132.29,-1773.93 687.5,-859.4 679.98,-859.4"/>
<polygon fill="black" stroke="black" points="1187.69,-1874.04 1189.18,-1884.9 1190.52,-1878.56 1192.81,-1882.23 1192.81,-1882.23 1192.81,-1882.23 1190.52,-1878.56 1196.81,-1880.13 1187.69,-1874.04"/>
<text text-anchor="start" x="970.01" y="-1892.8" font-family="Arial" font-size="10.00">FOREIGN KEY (club_id) REFERENCES club(id)</text>
</g>
<!-- public.match_coach -->
<g id="node8" class="node">
<title>public.match_coach</title>
<polygon fill="#efefef" stroke="none" points="783.22,-566.8 783.22,-602.4 1066.15,-602.4 1066.15,-566.8 783.22,-566.8"/>
<polygon fill="none" stroke="black" points="783.22,-566.8 783.22,-602.4 1066.15,-602.4 1066.15,-566.8 783.22,-566.8"/>
<text text-anchor="start" x="790.22" y="-580.2" font-family="Arial Bold" font-size="18.00">public.match_coach</text>
<text text-anchor="start" x="934.66" y="-580.2" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="965.77" y="-580.2" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="783.22,-536 783.22,-566.8 1066.15,-566.8 1066.15,-536 783.22,-536"/>
<text text-anchor="start" x="790.22" y="-548.2" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="805" y="-548.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="783.22,-505.2 783.22,-536 1066.15,-536 1066.15,-505.2 783.22,-505.2"/>
<text text-anchor="start" x="790.22" y="-517.4" font-family="Arial" font-size="14.00">coach_id </text>
<text text-anchor="start" x="850.15" y="-517.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="783.22,-474.4 783.22,-505.2 1066.15,-505.2 1066.15,-474.4 783.22,-474.4"/>
<text text-anchor="start" x="790.22" y="-486.6" font-family="Arial" font-size="14.00">first_name </text>
<text text-anchor="start" x="859.47" y="-486.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="783.22,-443.6 783.22,-474.4 1066.15,-474.4 1066.15,-443.6 783.22,-443.6"/>
<text text-anchor="start" x="790.22" y="-455.8" font-family="Arial" font-size="14.00">last_name </text>
<text text-anchor="start" x="858.7" y="-455.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="783.22,-412.8 783.22,-443.6 1066.15,-443.6 1066.15,-412.8 783.22,-412.8"/>
<text text-anchor="start" x="790.22" y="-425" font-family="Arial" font-size="14.00">trained_players </text>
<text text-anchor="start" x="889.83" y="-425" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
<polygon fill="none" stroke="black" points="783.22,-382 783.22,-412.8 1066.15,-412.8 1066.15,-382 783.22,-382"/>
<text text-anchor="start" x="790.22" y="-394.2" font-family="Arial" font-size="14.00">price__amount </text>
<text text-anchor="start" x="886.72" y="-394.2" font-family="Arial" font-size="14.00" fill="#666666">[bigint]</text>
<polygon fill="none" stroke="black" points="783.22,-351.2 783.22,-382 1066.15,-382 1066.15,-351.2 783.22,-351.2"/>
<text text-anchor="start" x="790.22" y="-363.4" font-family="Arial" font-size="14.00">price__currency </text>
<text text-anchor="start" x="893.71" y="-363.4" font-family="Arial" font-size="14.00" fill="#666666">[character(3)]</text>
</g>
<!-- public.game&#45;&gt;public.match_coach -->
<g id="edge7" class="edge">
<title>public.game:coach_id&#45;&gt;public.match_coach:id</title>
<path fill="none" stroke="black" d="M1187.84,-1843.35C1151.8,-1730.51 1101.71,-551.4 1067.15,-551.4"/>
<polygon fill="black" stroke="black" points="1187.75,-1843.2 1189.16,-1854.07 1190.55,-1847.74 1192.82,-1851.43 1192.82,-1851.43 1192.82,-1851.43 1190.55,-1847.74 1196.83,-1849.36 1187.75,-1843.2"/>
<text text-anchor="start" x="920.53" y="-1862" font-family="Arial" font-size="10.00">FOREIGN KEY (coach_id) REFERENCES match_coach(id)</text>
</g>
<!-- public.user -->
<g id="node9" class="node">
<title>public.user</title>
<polygon fill="#efefef" stroke="none" points="1170.81,-767 1170.81,-802.6 1564.55,-802.6 1564.55,-767 1170.81,-767"/>
<polygon fill="none" stroke="black" points="1170.81,-767 1170.81,-802.6 1564.55,-802.6 1564.55,-767 1170.81,-767"/>
<text text-anchor="start" x="1265.7" y="-780.4" font-family="Arial Bold" font-size="18.00">public.user</text>
<text text-anchor="start" x="1345.18" y="-780.4" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="1376.29" y="-780.4" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="1170.81,-736.2 1170.81,-767 1564.55,-767 1564.55,-736.2 1170.81,-736.2"/>
<text text-anchor="start" x="1177.81" y="-748.4" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="1192.6" y="-748.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="1170.81,-705.4 1170.81,-736.2 1564.55,-736.2 1564.55,-705.4 1170.81,-705.4"/>
<text text-anchor="start" x="1177.81" y="-717.6" font-family="Arial" font-size="14.00">first_name </text>
<text text-anchor="start" x="1247.06" y="-717.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="1170.81,-674.6 1170.81,-705.4 1564.55,-705.4 1564.55,-674.6 1170.81,-674.6"/>
<text text-anchor="start" x="1177.81" y="-686.8" font-family="Arial" font-size="14.00">last_name </text>
<text text-anchor="start" x="1246.29" y="-686.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="1170.81,-643.8 1170.81,-674.6 1564.55,-674.6 1564.55,-643.8 1170.81,-643.8"/>
<text text-anchor="start" x="1177.81" y="-656" font-family="Arial" font-size="14.00">email </text>
<text text-anchor="start" x="1215.16" y="-656" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="1170.81,-613 1170.81,-643.8 1564.55,-643.8 1564.55,-613 1170.81,-613"/>
<text text-anchor="start" x="1177.81" y="-625.2" font-family="Arial" font-size="14.00">gender </text>
<text text-anchor="start" x="1225.29" y="-625.2" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="1170.81,-582.2 1170.81,-613 1564.55,-613 1564.55,-582.2 1170.81,-582.2"/>
<text text-anchor="start" x="1177.81" y="-594.4" font-family="Arial" font-size="14.00">birthday </text>
<text text-anchor="start" x="1231.51" y="-594.4" font-family="Arial" font-size="14.00" fill="#666666">[date]</text>
<polygon fill="none" stroke="black" points="1170.81,-551.4 1170.81,-582.2 1564.55,-582.2 1564.55,-551.4 1170.81,-551.4"/>
<text text-anchor="start" x="1177.81" y="-563.6" font-family="Arial" font-size="14.00">skill_level </text>
<text text-anchor="start" x="1241.61" y="-563.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="1170.81,-520.6 1170.81,-551.4 1564.55,-551.4 1564.55,-520.6 1170.81,-520.6"/>
<text text-anchor="start" x="1177.81" y="-532.8" font-family="Arial" font-size="14.00">is_age_public </text>
<text text-anchor="start" x="1267.32" y="-532.8" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="1170.81,-489.8 1170.81,-520.6 1564.55,-520.6 1564.55,-489.8 1170.81,-489.8"/>
<text text-anchor="start" x="1177.81" y="-502" font-family="Arial" font-size="14.00">profile_image_path </text>
<text text-anchor="start" x="1300.78" y="-502" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="1170.81,-459 1170.81,-489.8 1564.55,-489.8 1564.55,-459 1170.81,-459"/>
<text text-anchor="start" x="1177.81" y="-471.2" font-family="Arial" font-size="14.00">is_marketing_consent_granted </text>
<text text-anchor="start" x="1373.15" y="-471.2" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="1170.81,-428.2 1170.81,-459 1564.55,-459 1564.55,-428.2 1170.81,-428.2"/>
<text text-anchor="start" x="1177.81" y="-440.4" font-family="Arial" font-size="14.00">marketing_consent_granted_at </text>
<text text-anchor="start" x="1374.72" y="-440.4" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="1170.81,-397.4 1170.81,-428.2 1564.55,-428.2 1564.55,-397.4 1170.81,-397.4"/>
<text text-anchor="start" x="1177.81" y="-409.6" font-family="Arial" font-size="14.00">get_stream_token </text>
<text text-anchor="start" x="1293.77" y="-409.6" font-family="Arial" font-size="14.00" fill="#666666">[text]</text>
<polygon fill="none" stroke="black" points="1170.81,-366.6 1170.81,-397.4 1564.55,-397.4 1564.55,-366.6 1170.81,-366.6"/>
<text text-anchor="start" x="1177.81" y="-378.8" font-family="Arial" font-size="14.00">email_address_id </text>
<text text-anchor="start" x="1291.43" y="-378.8" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="1170.81,-335.8 1170.81,-366.6 1564.55,-366.6 1564.55,-335.8 1170.81,-335.8"/>
<text text-anchor="start" x="1177.81" y="-348" font-family="Arial" font-size="14.00">preferred_playing_times </text>
<text text-anchor="start" x="1331.89" y="-348" font-family="Arial" font-size="14.00" fill="#666666">[text]</text>
<polygon fill="none" stroke="black" points="1170.81,-305 1170.81,-335.8 1564.55,-335.8 1564.55,-305 1170.81,-305"/>
<text text-anchor="start" x="1177.81" y="-317.2" font-family="Arial" font-size="14.00">dominant_hands </text>
<text text-anchor="start" x="1285.22" y="-317.2" font-family="Arial" font-size="14.00" fill="#666666">[text]</text>
<polygon fill="none" stroke="black" points="1170.81,-274.2 1170.81,-305 1564.55,-305 1564.55,-274.2 1170.81,-274.2"/>
<text text-anchor="start" x="1177.81" y="-286.4" font-family="Arial" font-size="14.00">locale </text>
<text text-anchor="start" x="1218.28" y="-286.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="1170.81,-243.4 1170.81,-274.2 1564.55,-274.2 1564.55,-243.4 1170.81,-243.4"/>
<text text-anchor="start" x="1177.81" y="-255.6" font-family="Arial" font-size="14.00">is_deleted </text>
<text text-anchor="start" x="1245.53" y="-255.6" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="1170.81,-212.6 1170.81,-243.4 1564.55,-243.4 1564.55,-212.6 1170.81,-212.6"/>
<text text-anchor="start" x="1177.81" y="-224.8" font-family="Arial" font-size="14.00">deleted_at </text>
<text text-anchor="start" x="1247.09" y="-224.8" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="1170.81,-181.8 1170.81,-212.6 1564.55,-212.6 1564.55,-181.8 1170.81,-181.8"/>
<text text-anchor="start" x="1177.81" y="-194" font-family="Arial" font-size="14.00">created_at </text>
<text text-anchor="start" x="1247.86" y="-194" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="1170.81,-151 1170.81,-181.8 1564.55,-181.8 1564.55,-151 1170.81,-151"/>
<text text-anchor="start" x="1177.81" y="-163.2" font-family="Arial" font-size="14.00">phone_number </text>
<text text-anchor="start" x="1275.89" y="-163.2" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
</g>
<!-- public.game&#45;&gt;public.user -->
<g id="edge8" class="edge">
<title>public.game:cancelled_by_id&#45;&gt;public.user:id</title>
<path fill="none" stroke="black" d="M1551.83,-1509.8C1628.52,-1454.86 1646.91,-751.6 1565.55,-751.6"/>
<polygon fill="black" stroke="black" points="1551.94,-1509.77 1541.02,-1508.84 1546.91,-1511.54 1542.83,-1512.98 1542.83,-1512.98 1542.83,-1512.98 1546.91,-1511.54 1544.01,-1517.33 1551.94,-1509.77"/>
<text text-anchor="start" x="1549.2" y="-1523.2" font-family="Arial" font-size="10.00">FOREIGN KEY (cancelled_by_id) REFERENCES &quot;user&quot;(id)</text>
</g>
<!-- public.game&#45;&gt;public.user -->
<g id="edge10" class="edge">
<title>public.game:created_by_id&#45;&gt;public.user:id</title>
<path fill="none" stroke="black" d="M1551.05,-1200.41C1595.22,-1151.93 1612.97,-751.6 1565.55,-751.6"/>
<polygon fill="black" stroke="black" points="1551.29,-1200.29 1540.35,-1201.08 1546.59,-1202.82 1542.78,-1204.88 1542.78,-1204.88 1542.78,-1204.88 1546.59,-1202.82 1544.63,-1209 1551.29,-1200.29"/>
<text text-anchor="start" x="1549.2" y="-1215.2" font-family="Arial" font-size="10.00">FOREIGN KEY (created_by_id) REFERENCES &quot;user&quot;(id)</text>
</g>
<!-- public.match_series -->
<g id="node10" class="node">
<title>public.match_series</title>
<polygon fill="#efefef" stroke="none" points="1668.52,-705.4 1668.52,-741 1954.85,-741 1954.85,-705.4 1668.52,-705.4"/>
<polygon fill="none" stroke="black" points="1668.52,-705.4 1668.52,-741 1954.85,-741 1954.85,-705.4 1668.52,-705.4"/>
<text text-anchor="start" x="1677.71" y="-718.8" font-family="Arial Bold" font-size="18.00">public.match_series</text>
<text text-anchor="start" x="1821.17" y="-718.8" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="1852.28" y="-718.8" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="1668.52,-674.6 1668.52,-705.4 1954.85,-705.4 1954.85,-674.6 1668.52,-674.6"/>
<text text-anchor="start" x="1675.52" y="-686.8" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="1690.3" y="-686.8" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="1668.52,-643.8 1668.52,-674.6 1954.85,-674.6 1954.85,-643.8 1668.52,-643.8"/>
<text text-anchor="start" x="1675.52" y="-656" font-family="Arial" font-size="14.00">court_id </text>
<text text-anchor="start" x="1729.21" y="-656" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="1668.52,-613 1668.52,-643.8 1954.85,-643.8 1954.85,-613 1668.52,-613"/>
<text text-anchor="start" x="1675.52" y="-625.2" font-family="Arial" font-size="14.00">owner_id </text>
<text text-anchor="start" x="1736.22" y="-625.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="1668.52,-582.2 1668.52,-613 1954.85,-613 1954.85,-582.2 1668.52,-582.2"/>
<text text-anchor="start" x="1675.52" y="-594.4" font-family="Arial" font-size="14.00">created_at </text>
<text text-anchor="start" x="1745.57" y="-594.4" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="1668.52,-551.4 1668.52,-582.2 1954.85,-582.2 1954.85,-551.4 1668.52,-551.4"/>
<text text-anchor="start" x="1675.52" y="-563.6" font-family="Arial" font-size="14.00">status </text>
<text text-anchor="start" x="1716.76" y="-563.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="1668.52,-520.6 1668.52,-551.4 1954.85,-551.4 1954.85,-520.6 1668.52,-520.6"/>
<text text-anchor="start" x="1675.52" y="-532.8" font-family="Arial" font-size="14.00">payment_plan </text>
<text text-anchor="start" x="1767.36" y="-532.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="1668.52,-489.8 1668.52,-520.6 1954.85,-520.6 1954.85,-489.8 1668.52,-489.8"/>
<text text-anchor="start" x="1675.52" y="-502" font-family="Arial" font-size="14.00">match_duration_in_seconds </text>
<text text-anchor="start" x="1854.52" y="-502" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
<polygon fill="none" stroke="black" points="1668.52,-459 1668.52,-489.8 1954.85,-489.8 1954.85,-459 1668.52,-459"/>
<text text-anchor="start" x="1675.52" y="-471.2" font-family="Arial" font-size="14.00">type </text>
<text text-anchor="start" x="1705.87" y="-471.2" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="1668.52,-428.2 1668.52,-459 1954.85,-459 1954.85,-428.2 1668.52,-428.2"/>
<text text-anchor="start" x="1675.52" y="-440.4" font-family="Arial" font-size="14.00">weekday </text>
<text text-anchor="start" x="1734.66" y="-440.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="1668.52,-397.4 1668.52,-428.2 1954.85,-428.2 1954.85,-397.4 1668.52,-397.4"/>
<text text-anchor="start" x="1675.52" y="-409.6" font-family="Arial" font-size="14.00">note </text>
<text text-anchor="start" x="1706.66" y="-409.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="1668.52,-366.6 1668.52,-397.4 1954.85,-397.4 1954.85,-366.6 1668.52,-366.6"/>
<text text-anchor="start" x="1675.52" y="-378.8" font-family="Arial" font-size="14.00">starts_at </text>
<text text-anchor="start" x="1733.1" y="-378.8" font-family="Arial" font-size="14.00" fill="#666666">[time(0) without time zone]</text>
<polygon fill="none" stroke="black" points="1668.52,-335.8 1668.52,-366.6 1954.85,-366.6 1954.85,-335.8 1668.52,-335.8"/>
<text text-anchor="start" x="1675.52" y="-348" font-family="Arial" font-size="14.00">discount_percentage </text>
<text text-anchor="start" x="1809.39" y="-348" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
<polygon fill="none" stroke="black" points="1668.52,-305 1668.52,-335.8 1954.85,-335.8 1954.85,-305 1668.52,-305"/>
<text text-anchor="start" x="1675.52" y="-317.2" font-family="Arial" font-size="14.00">club_id </text>
<text text-anchor="start" x="1723.77" y="-317.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="1668.52,-274.2 1668.52,-305 1954.85,-305 1954.85,-274.2 1668.52,-274.2"/>
<text text-anchor="start" x="1675.52" y="-286.4" font-family="Arial" font-size="14.00">discount_id </text>
<text text-anchor="start" x="1750.23" y="-286.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="1668.52,-243.4 1668.52,-274.2 1954.85,-274.2 1954.85,-243.4 1668.52,-243.4"/>
<text text-anchor="start" x="1675.52" y="-255.6" font-family="Arial" font-size="14.00">activated_at </text>
<text text-anchor="start" x="1754.9" y="-255.6" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="1668.52,-212.6 1668.52,-243.4 1954.85,-243.4 1954.85,-212.6 1668.52,-212.6"/>
<text text-anchor="start" x="1675.52" y="-224.8" font-family="Arial" font-size="14.00">terminated_at </text>
<text text-anchor="start" x="1765.01" y="-224.8" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
</g>
<!-- public.game&#45;&gt;public.match_series -->
<g id="edge9" class="edge">
<title>public.game:match_series_id&#45;&gt;public.match_series:id</title>
<path fill="none" stroke="black" d="M1552.37,-1235.65C1667.48,-1227.5 1588.61,-1076.69 1616.68,-953.6 1629.95,-895.44 1607.86,-690 1667.52,-690"/>
<polygon fill="black" stroke="black" points="1552.52,-1235.65 1542.38,-1231.49 1547.19,-1235.83 1542.86,-1235.98 1542.86,-1235.98 1542.86,-1235.98 1547.19,-1235.83 1542.68,-1240.49 1552.52,-1235.65"/>
<text text-anchor="start" x="1549.2" y="-1246" font-family="Arial" font-size="10.00">FOREIGN KEY (match_series_id) REFERENCES match_series(id)</text>
</g>
<!-- public.split_payment -->
<g id="node11" class="node">
<title>public.split_payment</title>
<polygon fill="#efefef" stroke="none" points="2059.7,-489.8 2059.7,-525.4 2349.67,-525.4 2349.67,-489.8 2059.7,-489.8"/>
<polygon fill="none" stroke="black" points="2059.7,-489.8 2059.7,-525.4 2349.67,-525.4 2349.67,-489.8 2059.7,-489.8"/>
<text text-anchor="start" x="2066.7" y="-503.2" font-family="Arial Bold" font-size="18.00">public.split_payment</text>
<text text-anchor="start" x="2218.18" y="-503.2" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="2249.29" y="-503.2" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="2059.7,-459 2059.7,-489.8 2349.67,-489.8 2349.67,-459 2059.7,-459"/>
<text text-anchor="start" x="2066.7" y="-471.2" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="2081.48" y="-471.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="2059.7,-428.2 2059.7,-459 2349.67,-459 2349.67,-428.2 2059.7,-428.2"/>
<text text-anchor="start" x="2066.7" y="-440.4" font-family="Arial" font-size="14.00">is_split_payment_enabled </text>
<text text-anchor="start" x="2232.48" y="-440.4" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
</g>
<!-- public.game&#45;&gt;public.split_payment -->
<g id="edge11" class="edge">
<title>public.game:split_payment_id&#45;&gt;public.split_payment:id</title>
<path fill="none" stroke="black" d="M1552.49,-1174.38C1773.91,-1173.32 1876.32,-1137.13 2006.68,-953.6 2068.71,-866.27 1951.58,-474.4 2058.7,-474.4"/>
<polygon fill="black" stroke="black" points="1552.53,-1174.38 1542.52,-1169.9 1547.2,-1174.39 1542.86,-1174.4 1542.86,-1174.4 1542.86,-1174.4 1547.2,-1174.39 1542.54,-1178.9 1552.53,-1174.38"/>
<text text-anchor="start" x="1549.2" y="-1184.4" font-family="Arial" font-size="10.00">FOREIGN KEY (split_payment_id) REFERENCES split_payment(id)</text>
</g>
<!-- public.match_player -->
<g id="node2" class="node">
<title>public.match_player</title>
<polygon fill="#efefef" stroke="none" points="605.9,-2490.4 605.9,-2526 933.46,-2526 933.46,-2490.4 605.9,-2490.4"/>
<polygon fill="none" stroke="black" points="605.9,-2490.4 605.9,-2526 933.46,-2526 933.46,-2490.4 605.9,-2490.4"/>
<text text-anchor="start" x="633.72" y="-2503.8" font-family="Arial Bold" font-size="18.00">public.match_player</text>
<text text-anchor="start" x="781.16" y="-2503.8" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="812.28" y="-2503.8" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="605.9,-2459.6 605.9,-2490.4 933.46,-2490.4 933.46,-2459.6 605.9,-2459.6"/>
<text text-anchor="start" x="612.9" y="-2471.8" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="627.69" y="-2471.8" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="605.9,-2428.8 605.9,-2459.6 933.46,-2459.6 933.46,-2428.8 605.9,-2428.8"/>
<text text-anchor="start" x="612.9" y="-2441" font-family="Arial" font-size="14.00">user_id </text>
<text text-anchor="start" x="662.71" y="-2441" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="605.9,-2398 605.9,-2428.8 933.46,-2428.8 933.46,-2398 605.9,-2398"/>
<text text-anchor="start" x="612.9" y="-2410.2" font-family="Arial" font-size="14.00">game_id </text>
<text text-anchor="start" x="670.49" y="-2410.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="605.9,-2367.2 605.9,-2398 933.46,-2398 933.46,-2367.2 605.9,-2367.2"/>
<text text-anchor="start" x="612.9" y="-2379.4" font-family="Arial" font-size="14.00">slot </text>
<text text-anchor="start" x="638.58" y="-2379.4" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
<polygon fill="none" stroke="black" points="605.9,-2336.4 605.9,-2367.2 933.46,-2367.2 933.46,-2336.4 605.9,-2336.4"/>
<text text-anchor="start" x="612.9" y="-2348.6" font-family="Arial" font-size="14.00">is_host </text>
<text text-anchor="start" x="661.15" y="-2348.6" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="605.9,-2305.6 605.9,-2336.4 933.46,-2336.4 933.46,-2305.6 605.9,-2305.6"/>
<text text-anchor="start" x="612.9" y="-2317.8" font-family="Arial" font-size="14.00">terms_of_service_id </text>
<text text-anchor="start" x="742.07" y="-2317.8" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="605.9,-2274.8 605.9,-2305.6 933.46,-2305.6 933.46,-2274.8 605.9,-2274.8"/>
<text text-anchor="start" x="612.9" y="-2287" font-family="Arial" font-size="14.00">joined_match_at </text>
<text text-anchor="start" x="719.53" y="-2287" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="605.9,-2244 605.9,-2274.8 933.46,-2274.8 933.46,-2244 605.9,-2244"/>
<text text-anchor="start" x="612.9" y="-2256.2" font-family="Arial" font-size="14.00">confirmed_match_at </text>
<text text-anchor="start" x="743.63" y="-2256.2" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="605.9,-2213.2 605.9,-2244 933.46,-2244 933.46,-2213.2 605.9,-2213.2"/>
<text text-anchor="start" x="612.9" y="-2225.4" font-family="Arial" font-size="14.00">left_match_at </text>
<text text-anchor="start" x="700.84" y="-2225.4" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="605.9,-2182.4 605.9,-2213.2 933.46,-2213.2 933.46,-2182.4 605.9,-2182.4"/>
<text text-anchor="start" x="612.9" y="-2194.6" font-family="Arial" font-size="14.00">status </text>
<text text-anchor="start" x="654.14" y="-2194.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="605.9,-2151.6 605.9,-2182.4 933.46,-2182.4 933.46,-2151.6 605.9,-2151.6"/>
<text text-anchor="start" x="612.9" y="-2163.8" font-family="Arial" font-size="14.00">discount_id </text>
<text text-anchor="start" x="687.62" y="-2163.8" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="605.9,-2120.8 605.9,-2151.6 933.46,-2151.6 933.46,-2120.8 605.9,-2120.8"/>
<text text-anchor="start" x="612.9" y="-2133" font-family="Arial" font-size="14.00">expected_payment_of_slots </text>
<text text-anchor="start" x="791.13" y="-2133" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
</g>
<!-- public.match_player&#45;&gt;public.game -->
<g id="edge1" class="edge">
<title>public.match_player:game_id&#45;&gt;public.game:id</title>
<path fill="none" stroke="black" d="M944.54,-2411.51C1003.82,-2387.29 946.59,-2137.83 985.68,-2077.6 1045.34,-1985.68 1083.59,-1944.4 1193.17,-1944.4"/>
<polygon fill="black" stroke="black" points="944.62,-2411.49 933.96,-2408.92 939.38,-2412.48 935.12,-2413.28 935.12,-2413.28 935.12,-2413.28 939.38,-2412.48 935.62,-2417.76 944.62,-2411.49"/>
<text text-anchor="start" x="819.71" y="-2397.4" font-family="Arial" font-size="10.00">FOREIGN KEY (game_id) REFERENCES game(id)</text>
</g>
<!-- public.payment_intent -->
<g id="node3" class="node">
<title>public.payment_intent</title>
<polygon fill="#efefef" stroke="none" points="1037.71,-2398 1037.71,-2433.6 1337.66,-2433.6 1337.66,-2398 1037.71,-2398"/>
<polygon fill="none" stroke="black" points="1037.71,-2398 1037.71,-2433.6 1337.66,-2433.6 1337.66,-2398 1037.71,-2398"/>
<text text-anchor="start" x="1044.71" y="-2411.4" font-family="Arial Bold" font-size="18.00">public.payment_intent</text>
<text text-anchor="start" x="1206.17" y="-2411.4" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="1237.29" y="-2411.4" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="1037.71,-2367.2 1037.71,-2398 1337.66,-2398 1337.66,-2367.2 1037.71,-2367.2"/>
<text text-anchor="start" x="1044.71" y="-2379.4" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="1059.49" y="-2379.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="1037.71,-2336.4 1037.71,-2367.2 1337.66,-2367.2 1337.66,-2336.4 1037.71,-2336.4"/>
<text text-anchor="start" x="1044.71" y="-2348.6" font-family="Arial" font-size="14.00">user_id </text>
<text text-anchor="start" x="1094.51" y="-2348.6" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="1037.71,-2305.6 1037.71,-2336.4 1337.66,-2336.4 1337.66,-2305.6 1037.71,-2305.6"/>
<text text-anchor="start" x="1044.71" y="-2317.8" font-family="Arial" font-size="14.00">match_id </text>
<text text-anchor="start" x="1105.4" y="-2317.8" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="1037.71,-2274.8 1037.71,-2305.6 1337.66,-2305.6 1337.66,-2274.8 1037.71,-2274.8"/>
<text text-anchor="start" x="1044.71" y="-2287" font-family="Arial" font-size="14.00">total_in_cents </text>
<text text-anchor="start" x="1134.99" y="-2287" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="1037.71,-2244 1037.71,-2274.8 1337.66,-2274.8 1337.66,-2244 1037.71,-2244"/>
<text text-anchor="start" x="1044.71" y="-2256.2" font-family="Arial" font-size="14.00">currency </text>
<text text-anchor="start" x="1102.28" y="-2256.2" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="1037.71,-2213.2 1037.71,-2244 1337.66,-2244 1337.66,-2213.2 1037.71,-2213.2"/>
<text text-anchor="start" x="1044.71" y="-2225.4" font-family="Arial" font-size="14.00">stripe_client_secret </text>
<text text-anchor="start" x="1169.21" y="-2225.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
</g>
<!-- public.payment_intent&#45;&gt;public.game -->
<g id="edge2" class="edge">
<title>public.payment_intent:match_id&#45;&gt;public.game:id</title>
<path fill="none" stroke="black" d="M1349.05,-2320.16C1401.22,-2310.92 1363.69,-2227.71 1337.66,-2170 1302.47,-2091.99 1229.5,-2119.55 1194.17,-2041.6 1176.33,-2002.25 1149.97,-1944.4 1193.17,-1944.4"/>
<polygon fill="black" stroke="black" points="1348.96,-2320.16 1338.63,-2316.49 1343.64,-2320.6 1339.33,-2320.95 1339.33,-2320.95 1339.33,-2320.95 1343.64,-2320.6 1339.36,-2325.46 1348.96,-2320.16"/>
<text text-anchor="start" x="1345.66" y="-2331" font-family="Arial" font-size="10.00">FOREIGN KEY (match_id) REFERENCES game(id) ON DELETE RESTRICT</text>
</g>
<!-- public.slot -->
<g id="node4" class="node">
<title>public.slot</title>
<polygon fill="#efefef" stroke="none" points="1441.69,-2444.2 1441.69,-2479.8 1655.68,-2479.8 1655.68,-2444.2 1441.69,-2444.2"/>
<polygon fill="none" stroke="black" points="1441.69,-2444.2 1441.69,-2479.8 1655.68,-2479.8 1655.68,-2444.2 1441.69,-2444.2"/>
<text text-anchor="start" x="1448.69" y="-2457.6" font-family="Arial Bold" font-size="18.00">public.slot</text>
<text text-anchor="start" x="1524.19" y="-2457.6" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="1555.3" y="-2457.6" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="1441.69,-2413.4 1441.69,-2444.2 1655.68,-2444.2 1655.68,-2413.4 1441.69,-2413.4"/>
<text text-anchor="start" x="1448.69" y="-2425.6" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="1463.47" y="-2425.6" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="1441.69,-2382.6 1441.69,-2413.4 1655.68,-2413.4 1655.68,-2382.6 1441.69,-2382.6"/>
<text text-anchor="start" x="1448.69" y="-2394.8" font-family="Arial" font-size="14.00">game_id </text>
<text text-anchor="start" x="1506.28" y="-2394.8" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="1441.69,-2351.8 1441.69,-2382.6 1655.68,-2382.6 1655.68,-2351.8 1441.69,-2351.8"/>
<text text-anchor="start" x="1448.69" y="-2364" font-family="Arial" font-size="14.00">player_id </text>
<text text-anchor="start" x="1509.39" y="-2364" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="1441.69,-2321 1441.69,-2351.8 1655.68,-2351.8 1655.68,-2321 1441.69,-2321"/>
<text text-anchor="start" x="1448.69" y="-2333.2" font-family="Arial" font-size="14.00">index </text>
<text text-anchor="start" x="1486.05" y="-2333.2" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
<polygon fill="none" stroke="black" points="1441.69,-2290.2 1441.69,-2321 1655.68,-2321 1655.68,-2290.2 1441.69,-2290.2"/>
<text text-anchor="start" x="1448.69" y="-2302.4" font-family="Arial" font-size="14.00">fee_amount </text>
<text text-anchor="start" x="1526.52" y="-2302.4" font-family="Arial" font-size="14.00" fill="#666666">[bigint]</text>
<polygon fill="none" stroke="black" points="1441.69,-2259.4 1441.69,-2290.2 1655.68,-2290.2 1655.68,-2259.4 1441.69,-2259.4"/>
<text text-anchor="start" x="1448.69" y="-2271.6" font-family="Arial" font-size="14.00">fee_currency </text>
<text text-anchor="start" x="1533.51" y="-2271.6" font-family="Arial" font-size="14.00" fill="#666666">[character(3)]</text>
<polygon fill="none" stroke="black" points="1441.69,-2228.6 1441.69,-2259.4 1655.68,-2259.4 1655.68,-2228.6 1441.69,-2228.6"/>
<text text-anchor="start" x="1448.69" y="-2240.8" font-family="Arial" font-size="14.00">expected_payment_by_id </text>
<text text-anchor="start" x="1612.14" y="-2240.8" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="1441.69,-2197.8 1441.69,-2228.6 1655.68,-2228.6 1655.68,-2197.8 1441.69,-2197.8"/>
<text text-anchor="start" x="1448.69" y="-2210" font-family="Arial" font-size="14.00">paid_by_id </text>
<text text-anchor="start" x="1520.3" y="-2210" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="1441.69,-2167 1441.69,-2197.8 1655.68,-2197.8 1655.68,-2167 1441.69,-2167"/>
<text text-anchor="start" x="1448.69" y="-2179.2" font-family="Arial" font-size="14.00">title </text>
<text text-anchor="start" x="1474.36" y="-2179.2" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
</g>
<!-- public.slot&#45;&gt;public.game -->
<g id="edge3" class="edge">
<title>public.slot:game_id&#45;&gt;public.game:id</title>
<path fill="none" stroke="black" d="M1430.66,-2395.68C1384.06,-2372.07 1417.2,-2175.54 1441.69,-2123.8 1466.23,-2071.95 1516.49,-2093.37 1541.2,-2041.6 1559.8,-2002.61 1585.4,-1944.4 1542.2,-1944.4"/>
<polygon fill="black" stroke="black" points="1430.62,-2395.67 1439.35,-2402.31 1435.82,-2396.87 1440.04,-2397.85 1440.04,-2397.85 1440.04,-2397.85 1435.82,-2396.87 1441.38,-2393.54 1430.62,-2395.67"/>
<text text-anchor="start" x="1447.69" y="-2408" font-family="Arial" font-size="10.00">FOREIGN KEY (game_id) REFERENCES game(id)</text>
</g>
<!-- public.cancellation -->
<g id="node5" class="node">
<title>public.cancellation</title>
<polygon fill="#efefef" stroke="none" points="1760.22,-2428.8 1760.22,-2464.4 2035.15,-2464.4 2035.15,-2428.8 1760.22,-2428.8"/>
<polygon fill="none" stroke="black" points="1760.22,-2428.8 1760.22,-2464.4 2035.15,-2464.4 2035.15,-2428.8 1760.22,-2428.8"/>
<text text-anchor="start" x="1767.22" y="-2442.2" font-family="Arial Bold" font-size="18.00">public.cancellation</text>
<text text-anchor="start" x="1903.66" y="-2442.2" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="1934.78" y="-2442.2" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="1760.22,-2398 1760.22,-2428.8 2035.15,-2428.8 2035.15,-2398 1760.22,-2398"/>
<text text-anchor="start" x="1767.22" y="-2410.2" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="1782" y="-2410.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="1760.22,-2367.2 1760.22,-2398 2035.15,-2398 2035.15,-2367.2 1760.22,-2367.2"/>
<text text-anchor="start" x="1767.22" y="-2379.4" font-family="Arial" font-size="14.00">initiated_by_id </text>
<text text-anchor="start" x="1860.62" y="-2379.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="1760.22,-2336.4 1760.22,-2367.2 2035.15,-2367.2 2035.15,-2336.4 1760.22,-2336.4"/>
<text text-anchor="start" x="1767.22" y="-2348.6" font-family="Arial" font-size="14.00">created_at </text>
<text text-anchor="start" x="1837.26" y="-2348.6" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="1760.22,-2305.6 1760.22,-2336.4 2035.15,-2336.4 2035.15,-2305.6 1760.22,-2305.6"/>
<text text-anchor="start" x="1767.22" y="-2317.8" font-family="Arial" font-size="14.00">refund_strategy </text>
<text text-anchor="start" x="1868.39" y="-2317.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="1760.22,-2274.8 1760.22,-2305.6 2035.15,-2305.6 2035.15,-2274.8 1760.22,-2274.8"/>
<text text-anchor="start" x="1767.22" y="-2287" font-family="Arial" font-size="14.00">reason </text>
<text text-anchor="start" x="1813.91" y="-2287" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="1760.22,-2244 1760.22,-2274.8 2035.15,-2274.8 2035.15,-2244 1760.22,-2244"/>
<text text-anchor="start" x="1767.22" y="-2256.2" font-family="Arial" font-size="14.00">initiator_role </text>
<text text-anchor="start" x="1847.37" y="-2256.2" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="1760.22,-2213.2 1760.22,-2244 2035.15,-2244 2035.15,-2213.2 1760.22,-2213.2"/>
<text text-anchor="start" x="1767.22" y="-2225.4" font-family="Arial" font-size="14.00">game_id </text>
<text text-anchor="start" x="1824.81" y="-2225.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="1760.22,-2182.4 1760.22,-2213.2 2035.15,-2213.2 2035.15,-2182.4 1760.22,-2182.4"/>
<text text-anchor="start" x="1767.22" y="-2194.6" font-family="Arial" font-size="14.00">payout_method </text>
<text text-anchor="start" x="1867.62" y="-2194.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
</g>
<!-- public.cancellation&#45;&gt;public.game -->
<g id="edge4" class="edge">
<title>public.cancellation:game_id&#45;&gt;public.game:id</title>
<path fill="none" stroke="black" d="M1749.06,-2227.84C1694.36,-2218.9 1746.22,-2132.62 1707.68,-2077.6 1653.52,-2000.27 1636.61,-1944.4 1542.2,-1944.4"/>
<polygon fill="black" stroke="black" points="1748.91,-2227.83 1758.55,-2233.06 1754.23,-2228.23 1758.55,-2228.55 1758.55,-2228.55 1758.55,-2228.55 1754.23,-2228.23 1759.22,-2224.09 1748.91,-2227.83"/>
<text text-anchor="start" x="1522.72" y="-2238.6" font-family="Arial" font-size="10.00">FOREIGN KEY (game_id) REFERENCES game(id)</text>
</g>
</g>
</svg>
