<?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.discount Pages: 1 -->
<svg width="892pt" height="1776pt"
 viewBox="0.00 0.00 892.17 1776.40" 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 1772.4)">
<title>public.discount</title>
<polygon fill="white" stroke="none" points="-4,4 -4,-1772.4 888.17,-1772.4 888.17,4 -4,4"/>
<!-- public.discount -->
<g id="node1" class="node">
<title>public.discount</title>
<polygon fill="#efefef" stroke="none" points="210.44,-1035.8 210.44,-1071.4 613.53,-1071.4 613.53,-1035.8 210.44,-1035.8"/>
<polygon fill="none" stroke="black" points="210.44,-1035.8 210.44,-1071.4 613.53,-1071.4 613.53,-1035.8 210.44,-1035.8"/>
<text text-anchor="start" x="294.49" y="-1049.2" font-family="Arial Bold" font-size="18.00">public.discount</text>
<text text-anchor="start" x="404.98" y="-1049.2" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="436.1" y="-1049.2" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="210.44,-1005 210.44,-1035.8 613.53,-1035.8 613.53,-1005 210.44,-1005"/>
<text text-anchor="start" x="217.44" y="-1017.2" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="232.22" y="-1017.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="210.44,-974.2 210.44,-1005 613.53,-1005 613.53,-974.2 210.44,-974.2"/>
<text text-anchor="start" x="217.44" y="-986.4" font-family="Arial" font-size="14.00">group_id </text>
<text text-anchor="start" x="275.82" y="-986.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="210.44,-943.4 210.44,-974.2 613.53,-974.2 613.53,-943.4 210.44,-943.4"/>
<text text-anchor="start" x="217.44" y="-955.6" font-family="Arial" font-size="14.00">created_at </text>
<text text-anchor="start" x="287.49" y="-955.6" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="210.44,-912.6 210.44,-943.4 613.53,-943.4 613.53,-912.6 210.44,-912.6"/>
<text text-anchor="start" x="217.44" y="-924.8" font-family="Arial" font-size="14.00">valid_from </text>
<text text-anchor="start" x="285.91" y="-924.8" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="210.44,-881.8 210.44,-912.6 613.53,-912.6 613.53,-881.8 210.44,-881.8"/>
<text text-anchor="start" x="217.44" y="-894" font-family="Arial" font-size="14.00">valid_till </text>
<text text-anchor="start" x="271.13" y="-894" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="210.44,-851 210.44,-881.8 613.53,-881.8 613.53,-851 210.44,-851"/>
<text text-anchor="start" x="217.44" y="-863.2" font-family="Arial" font-size="14.00">percentage </text>
<text text-anchor="start" x="291.38" y="-863.2" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
<polygon fill="none" stroke="black" points="210.44,-820.2 210.44,-851 613.53,-851 613.53,-820.2 210.44,-820.2"/>
<text text-anchor="start" x="217.44" y="-832.4" font-family="Arial" font-size="14.00">is_enabled </text>
<text text-anchor="start" x="289.05" y="-832.4" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="210.44,-789.4 210.44,-820.2 613.53,-820.2 613.53,-789.4 210.44,-789.4"/>
<text text-anchor="start" x="217.44" y="-801.6" font-family="Arial" font-size="14.00">applicable_on_days </text>
<text text-anchor="start" x="345.09" y="-801.6" font-family="Arial" font-size="14.00" fill="#666666">[text]</text>
<polygon fill="none" stroke="black" points="210.44,-758.6 210.44,-789.4 613.53,-789.4 613.53,-758.6 210.44,-758.6"/>
<text text-anchor="start" x="217.44" y="-770.8" font-family="Arial" font-size="14.00">applicable_from_time </text>
<text text-anchor="start" x="354.4" y="-770.8" font-family="Arial" font-size="14.00" fill="#666666">[time(0) without time zone]</text>
<polygon fill="none" stroke="black" points="210.44,-727.8 210.44,-758.6 613.53,-758.6 613.53,-727.8 210.44,-727.8"/>
<text text-anchor="start" x="217.44" y="-740" font-family="Arial" font-size="14.00">applicable_till_time </text>
<text text-anchor="start" x="339.62" y="-740" font-family="Arial" font-size="14.00" fill="#666666">[time(0) without time zone]</text>
<polygon fill="none" stroke="black" points="210.44,-697 210.44,-727.8 613.53,-727.8 613.53,-697 210.44,-697"/>
<text text-anchor="start" x="217.44" y="-709.2" font-family="Arial" font-size="14.00">applicable_on_sports </text>
<text text-anchor="start" x="353.64" y="-709.2" font-family="Arial" font-size="14.00" fill="#666666">[text]</text>
<polygon fill="none" stroke="black" points="210.44,-666.2 210.44,-697 613.53,-697 613.53,-666.2 210.44,-666.2"/>
<text text-anchor="start" x="217.44" y="-678.4" font-family="Arial" font-size="14.00">applicable_on_locations </text>
<text text-anchor="start" x="370.78" y="-678.4" font-family="Arial" font-size="14.00" fill="#666666">[text]</text>
<polygon fill="none" stroke="black" points="210.44,-635.4 210.44,-666.2 613.53,-666.2 613.53,-635.4 210.44,-635.4"/>
<text text-anchor="start" x="217.44" y="-647.6" font-family="Arial" font-size="14.00">max_playable_hours_in_validity_period </text>
<text text-anchor="start" x="466.49" y="-647.6" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
<polygon fill="none" stroke="black" points="210.44,-604.6 210.44,-635.4 613.53,-635.4 613.53,-604.6 210.44,-604.6"/>
<text text-anchor="start" x="217.44" y="-616.8" font-family="Arial" font-size="14.00">kind </text>
<text text-anchor="start" x="247.01" y="-616.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="210.44,-573.8 210.44,-604.6 613.53,-604.6 613.53,-573.8 210.44,-573.8"/>
<text text-anchor="start" x="217.44" y="-586" font-family="Arial" font-size="14.00">played_hours_in_validity_period </text>
<text text-anchor="start" x="421.35" y="-586" font-family="Arial" font-size="14.00" fill="#666666">[double precision]</text>
<polygon fill="none" stroke="black" points="210.44,-543 210.44,-573.8 613.53,-573.8 613.53,-543 210.44,-543"/>
<text text-anchor="start" x="217.44" y="-555.2" font-family="Arial" font-size="14.00">played_hours_last_computed_at </text>
<text text-anchor="start" x="423.69" y="-555.2" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="210.44,-512.2 210.44,-543 613.53,-543 613.53,-512.2 210.44,-512.2"/>
<text text-anchor="start" x="217.44" y="-524.4" font-family="Arial" font-size="14.00">origin </text>
<text text-anchor="start" x="255.57" y="-524.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" stroke-width="3" points="208.94,-510.7 208.94,-1072.9 615.03,-1072.9 615.03,-510.7 208.94,-510.7"/>
</g>
<!-- public.user_group -->
<g id="node4" class="node">
<title>public.user_group</title>
<polygon fill="#efefef" stroke="none" points="266.09,-351.2 266.09,-386.8 557.88,-386.8 557.88,-351.2 266.09,-351.2"/>
<polygon fill="none" stroke="black" points="266.09,-351.2 266.09,-386.8 557.88,-386.8 557.88,-351.2 266.09,-351.2"/>
<text text-anchor="start" x="284.5" y="-364.6" font-family="Arial Bold" font-size="18.00">public.user_group</text>
<text text-anchor="start" x="414.97" y="-364.6" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="446.09" y="-364.6" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="266.09,-320.4 266.09,-351.2 557.88,-351.2 557.88,-320.4 266.09,-320.4"/>
<text text-anchor="start" x="273.09" y="-332.6" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="287.87" y="-332.6" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="266.09,-289.6 266.09,-320.4 557.88,-320.4 557.88,-289.6 266.09,-289.6"/>
<text text-anchor="start" x="273.09" y="-301.8" font-family="Arial" font-size="14.00">public_name </text>
<text text-anchor="start" x="356.36" y="-301.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="266.09,-258.8 266.09,-289.6 557.88,-289.6 557.88,-258.8 266.09,-258.8"/>
<text text-anchor="start" x="273.09" y="-271" font-family="Arial" font-size="14.00">internal_name </text>
<text text-anchor="start" x="365.7" y="-271" font-family="Arial" font-size="14.00" fill="#666666">[varchar(60)]</text>
<polygon fill="none" stroke="black" points="266.09,-228 266.09,-258.8 557.88,-258.8 557.88,-228 266.09,-228"/>
<text text-anchor="start" x="273.09" y="-240.2" font-family="Arial" font-size="14.00">note </text>
<text text-anchor="start" x="304.22" y="-240.2" font-family="Arial" font-size="14.00" fill="#666666">[text]</text>
<polygon fill="none" stroke="black" points="266.09,-197.2 266.09,-228 557.88,-228 557.88,-197.2 266.09,-197.2"/>
<text text-anchor="start" x="273.09" y="-209.4" font-family="Arial" font-size="14.00">created_at </text>
<text text-anchor="start" x="343.13" y="-209.4" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="266.09,-166.4 266.09,-197.2 557.88,-197.2 557.88,-166.4 266.09,-166.4"/>
<text text-anchor="start" x="273.09" y="-178.6" font-family="Arial" font-size="14.00">type </text>
<text text-anchor="start" x="303.44" y="-178.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="266.09,-135.6 266.09,-166.4 557.88,-166.4 557.88,-135.6 266.09,-135.6"/>
<text text-anchor="start" x="273.09" y="-147.8" font-family="Arial" font-size="14.00">invite_code </text>
<text text-anchor="start" x="347.8" y="-147.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(10)]</text>
<polygon fill="none" stroke="black" points="266.09,-104.8 266.09,-135.6 557.88,-135.6 557.88,-104.8 266.09,-104.8"/>
<text text-anchor="start" x="273.09" y="-117" font-family="Arial" font-size="14.00">deactivated_by_id </text>
<text text-anchor="start" x="389.84" y="-117" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="266.09,-74 266.09,-104.8 557.88,-104.8 557.88,-74 266.09,-74"/>
<text text-anchor="start" x="273.09" y="-86.2" font-family="Arial" font-size="14.00">deactivated_at </text>
<text text-anchor="start" x="368.04" y="-86.2" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="266.09,-43.2 266.09,-74 557.88,-74 557.88,-43.2 266.09,-43.2"/>
<text text-anchor="start" x="273.09" y="-55.4" font-family="Arial" font-size="14.00">active </text>
<text text-anchor="start" x="313.55" y="-55.4" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
</g>
<!-- public.discount&#45;&gt;public.user_group -->
<g id="edge3" class="edge">
<title>public.discount:group_id&#45;&gt;public.user_group:id</title>
<path fill="none" stroke="black" d="M624.64,-989.33C904.82,-974.37 847.09,-335.8 558.88,-335.8"/>
<polygon fill="black" stroke="black" points="624.86,-989.33 614.74,-985.09 619.52,-989.47 615.19,-989.58 615.19,-989.58 615.19,-989.58 619.52,-989.47 614.98,-994.09 624.86,-989.33"/>
<text text-anchor="start" x="621.53" y="-999.6" font-family="Arial" font-size="10.00">FOREIGN KEY (group_id) REFERENCES user_group(id)</text>
</g>
<!-- public.match_player -->
<g id="node2" class="node">
<title>public.match_player</title>
<polygon fill="#efefef" stroke="none" points="43.2,-1628 43.2,-1663.6 370.76,-1663.6 370.76,-1628 43.2,-1628"/>
<polygon fill="none" stroke="black" points="43.2,-1628 43.2,-1663.6 370.76,-1663.6 370.76,-1628 43.2,-1628"/>
<text text-anchor="start" x="71.01" y="-1641.4" font-family="Arial Bold" font-size="18.00">public.match_player</text>
<text text-anchor="start" x="218.46" y="-1641.4" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="249.58" y="-1641.4" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="43.2,-1597.2 43.2,-1628 370.76,-1628 370.76,-1597.2 43.2,-1597.2"/>
<text text-anchor="start" x="50.2" y="-1609.4" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="64.99" y="-1609.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="43.2,-1566.4 43.2,-1597.2 370.76,-1597.2 370.76,-1566.4 43.2,-1566.4"/>
<text text-anchor="start" x="50.2" y="-1578.6" font-family="Arial" font-size="14.00">user_id </text>
<text text-anchor="start" x="100.01" y="-1578.6" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="43.2,-1535.6 43.2,-1566.4 370.76,-1566.4 370.76,-1535.6 43.2,-1535.6"/>
<text text-anchor="start" x="50.2" y="-1547.8" font-family="Arial" font-size="14.00">game_id </text>
<text text-anchor="start" x="107.79" y="-1547.8" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="43.2,-1504.8 43.2,-1535.6 370.76,-1535.6 370.76,-1504.8 43.2,-1504.8"/>
<text text-anchor="start" x="50.2" y="-1517" font-family="Arial" font-size="14.00">slot </text>
<text text-anchor="start" x="75.88" y="-1517" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
<polygon fill="none" stroke="black" points="43.2,-1474 43.2,-1504.8 370.76,-1504.8 370.76,-1474 43.2,-1474"/>
<text text-anchor="start" x="50.2" y="-1486.2" font-family="Arial" font-size="14.00">is_host </text>
<text text-anchor="start" x="98.45" y="-1486.2" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="43.2,-1443.2 43.2,-1474 370.76,-1474 370.76,-1443.2 43.2,-1443.2"/>
<text text-anchor="start" x="50.2" y="-1455.4" font-family="Arial" font-size="14.00">terms_of_service_id </text>
<text text-anchor="start" x="179.37" y="-1455.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="43.2,-1412.4 43.2,-1443.2 370.76,-1443.2 370.76,-1412.4 43.2,-1412.4"/>
<text text-anchor="start" x="50.2" y="-1424.6" font-family="Arial" font-size="14.00">joined_match_at </text>
<text text-anchor="start" x="156.83" y="-1424.6" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="43.2,-1381.6 43.2,-1412.4 370.76,-1412.4 370.76,-1381.6 43.2,-1381.6"/>
<text text-anchor="start" x="50.2" y="-1393.8" font-family="Arial" font-size="14.00">confirmed_match_at </text>
<text text-anchor="start" x="180.93" y="-1393.8" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="43.2,-1350.8 43.2,-1381.6 370.76,-1381.6 370.76,-1350.8 43.2,-1350.8"/>
<text text-anchor="start" x="50.2" y="-1363" font-family="Arial" font-size="14.00">left_match_at </text>
<text text-anchor="start" x="138.14" y="-1363" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="43.2,-1320 43.2,-1350.8 370.76,-1350.8 370.76,-1320 43.2,-1320"/>
<text text-anchor="start" x="50.2" y="-1332.2" font-family="Arial" font-size="14.00">status </text>
<text text-anchor="start" x="91.44" y="-1332.2" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="43.2,-1289.2 43.2,-1320 370.76,-1320 370.76,-1289.2 43.2,-1289.2"/>
<text text-anchor="start" x="50.2" y="-1301.4" font-family="Arial" font-size="14.00">discount_id </text>
<text text-anchor="start" x="124.92" y="-1301.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="43.2,-1258.4 43.2,-1289.2 370.76,-1289.2 370.76,-1258.4 43.2,-1258.4"/>
<text text-anchor="start" x="50.2" y="-1270.6" font-family="Arial" font-size="14.00">expected_payment_of_slots </text>
<text text-anchor="start" x="228.43" y="-1270.6" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
</g>
<!-- public.match_player&#45;&gt;public.discount -->
<g id="edge1" class="edge">
<title>public.match_player:discount_id&#45;&gt;public.discount:id</title>
<path fill="none" stroke="black" d="M382.05,-1302.98C407.23,-1293.66 388.43,-1246.22 370.76,-1215.2 329.49,-1142.71 251.68,-1190.11 210.44,-1117.6 189.08,-1080.05 166.24,-1020.4 209.44,-1020.4"/>
<polygon fill="black" stroke="black" points="381.97,-1302.99 371.4,-1300.1 376.7,-1303.82 372.43,-1304.5 372.43,-1304.5 372.43,-1304.5 376.7,-1303.82 372.79,-1308.99 381.97,-1302.99"/>
<text text-anchor="start" x="378.76" y="-1314.6" font-family="Arial" font-size="10.00">FOREIGN KEY (discount_id) REFERENCES discount(id)</text>
</g>
<!-- public.match_series -->
<g id="node3" class="node">
<title>public.match_series</title>
<polygon fill="#efefef" stroke="none" points="474.82,-1689.6 474.82,-1725.2 761.15,-1725.2 761.15,-1689.6 474.82,-1689.6"/>
<polygon fill="none" stroke="black" points="474.82,-1689.6 474.82,-1725.2 761.15,-1725.2 761.15,-1689.6 474.82,-1689.6"/>
<text text-anchor="start" x="484.01" y="-1703" font-family="Arial Bold" font-size="18.00">public.match_series</text>
<text text-anchor="start" x="627.47" y="-1703" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="658.58" y="-1703" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="474.82,-1658.8 474.82,-1689.6 761.15,-1689.6 761.15,-1658.8 474.82,-1658.8"/>
<text text-anchor="start" x="481.82" y="-1671" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="496.6" y="-1671" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="474.82,-1628 474.82,-1658.8 761.15,-1658.8 761.15,-1628 474.82,-1628"/>
<text text-anchor="start" x="481.82" y="-1640.2" font-family="Arial" font-size="14.00">court_id </text>
<text text-anchor="start" x="535.51" y="-1640.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="474.82,-1597.2 474.82,-1628 761.15,-1628 761.15,-1597.2 474.82,-1597.2"/>
<text text-anchor="start" x="481.82" y="-1609.4" font-family="Arial" font-size="14.00">owner_id </text>
<text text-anchor="start" x="542.52" y="-1609.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="474.82,-1566.4 474.82,-1597.2 761.15,-1597.2 761.15,-1566.4 474.82,-1566.4"/>
<text text-anchor="start" x="481.82" y="-1578.6" font-family="Arial" font-size="14.00">created_at </text>
<text text-anchor="start" x="551.87" y="-1578.6" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="474.82,-1535.6 474.82,-1566.4 761.15,-1566.4 761.15,-1535.6 474.82,-1535.6"/>
<text text-anchor="start" x="481.82" y="-1547.8" font-family="Arial" font-size="14.00">status </text>
<text text-anchor="start" x="523.06" y="-1547.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="474.82,-1504.8 474.82,-1535.6 761.15,-1535.6 761.15,-1504.8 474.82,-1504.8"/>
<text text-anchor="start" x="481.82" y="-1517" font-family="Arial" font-size="14.00">payment_plan </text>
<text text-anchor="start" x="573.66" y="-1517" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="474.82,-1474 474.82,-1504.8 761.15,-1504.8 761.15,-1474 474.82,-1474"/>
<text text-anchor="start" x="481.82" y="-1486.2" font-family="Arial" font-size="14.00">match_duration_in_seconds </text>
<text text-anchor="start" x="660.82" y="-1486.2" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
<polygon fill="none" stroke="black" points="474.82,-1443.2 474.82,-1474 761.15,-1474 761.15,-1443.2 474.82,-1443.2"/>
<text text-anchor="start" x="481.82" y="-1455.4" font-family="Arial" font-size="14.00">type </text>
<text text-anchor="start" x="512.17" y="-1455.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="474.82,-1412.4 474.82,-1443.2 761.15,-1443.2 761.15,-1412.4 474.82,-1412.4"/>
<text text-anchor="start" x="481.82" y="-1424.6" font-family="Arial" font-size="14.00">weekday </text>
<text text-anchor="start" x="540.96" y="-1424.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="474.82,-1381.6 474.82,-1412.4 761.15,-1412.4 761.15,-1381.6 474.82,-1381.6"/>
<text text-anchor="start" x="481.82" y="-1393.8" font-family="Arial" font-size="14.00">note </text>
<text text-anchor="start" x="512.95" y="-1393.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="474.82,-1350.8 474.82,-1381.6 761.15,-1381.6 761.15,-1350.8 474.82,-1350.8"/>
<text text-anchor="start" x="481.82" y="-1363" font-family="Arial" font-size="14.00">starts_at </text>
<text text-anchor="start" x="539.4" y="-1363" font-family="Arial" font-size="14.00" fill="#666666">[time(0) without time zone]</text>
<polygon fill="none" stroke="black" points="474.82,-1320 474.82,-1350.8 761.15,-1350.8 761.15,-1320 474.82,-1320"/>
<text text-anchor="start" x="481.82" y="-1332.2" font-family="Arial" font-size="14.00">discount_percentage </text>
<text text-anchor="start" x="615.69" y="-1332.2" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
<polygon fill="none" stroke="black" points="474.82,-1289.2 474.82,-1320 761.15,-1320 761.15,-1289.2 474.82,-1289.2"/>
<text text-anchor="start" x="481.82" y="-1301.4" font-family="Arial" font-size="14.00">club_id </text>
<text text-anchor="start" x="530.07" y="-1301.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="474.82,-1258.4 474.82,-1289.2 761.15,-1289.2 761.15,-1258.4 474.82,-1258.4"/>
<text text-anchor="start" x="481.82" y="-1270.6" font-family="Arial" font-size="14.00">discount_id </text>
<text text-anchor="start" x="556.53" y="-1270.6" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="474.82,-1227.6 474.82,-1258.4 761.15,-1258.4 761.15,-1227.6 474.82,-1227.6"/>
<text text-anchor="start" x="481.82" y="-1239.8" font-family="Arial" font-size="14.00">activated_at </text>
<text text-anchor="start" x="561.2" y="-1239.8" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="474.82,-1196.8 474.82,-1227.6 761.15,-1227.6 761.15,-1196.8 474.82,-1196.8"/>
<text text-anchor="start" x="481.82" y="-1209" font-family="Arial" font-size="14.00">terminated_at </text>
<text text-anchor="start" x="571.31" y="-1209" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
</g>
<!-- public.match_series&#45;&gt;public.discount -->
<g id="edge2" class="edge">
<title>public.match_series:discount_id&#45;&gt;public.discount:id</title>
<path fill="none" stroke="black" d="M463.64,-1272.68C423.48,-1263 444.26,-1192.76 474.82,-1153.6 514,-1103.39 574.3,-1167.78 613.53,-1117.6 640.14,-1083.57 657.73,-1020.4 614.53,-1020.4"/>
<polygon fill="black" stroke="black" points="463.54,-1272.67 472.99,-1278.24 468.85,-1273.25 473.15,-1273.73 473.15,-1273.73 473.15,-1273.73 468.85,-1273.25 473.98,-1269.29 463.54,-1272.67"/>
<text text-anchor="start" x="480.82" y="-1283.8" font-family="Arial" font-size="10.00">FOREIGN KEY (discount_id) REFERENCES discount(id)</text>
</g>
</g>
</svg>
