<?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.user_group Pages: 1 -->
<svg width="1334pt" height="1900pt"
 viewBox="0.00 0.00 1333.50 1899.60" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 1895.6)">
<title>public.user_group</title>
<polygon fill="white" stroke="none" points="-4,4 -4,-1895.6 1329.5,-1895.6 1329.5,4 -4,4"/>
<!-- public.user_group -->
<g id="node1" class="node">
<title>public.user_group</title>
<polygon fill="#efefef" stroke="none" points="495.86,-1128.2 495.86,-1163.8 787.65,-1163.8 787.65,-1128.2 495.86,-1128.2"/>
<polygon fill="none" stroke="black" points="495.86,-1128.2 495.86,-1163.8 787.65,-1163.8 787.65,-1128.2 495.86,-1128.2"/>
<text text-anchor="start" x="514.28" y="-1141.6" font-family="Arial Bold" font-size="18.00">public.user_group</text>
<text text-anchor="start" x="644.75" y="-1141.6" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="675.87" y="-1141.6" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="495.86,-1097.4 495.86,-1128.2 787.65,-1128.2 787.65,-1097.4 495.86,-1097.4"/>
<text text-anchor="start" x="502.86" y="-1109.6" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="517.65" y="-1109.6" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="495.86,-1066.6 495.86,-1097.4 787.65,-1097.4 787.65,-1066.6 495.86,-1066.6"/>
<text text-anchor="start" x="502.86" y="-1078.8" font-family="Arial" font-size="14.00">public_name </text>
<text text-anchor="start" x="586.14" y="-1078.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="495.86,-1035.8 495.86,-1066.6 787.65,-1066.6 787.65,-1035.8 495.86,-1035.8"/>
<text text-anchor="start" x="502.86" y="-1048" font-family="Arial" font-size="14.00">internal_name </text>
<text text-anchor="start" x="595.48" y="-1048" font-family="Arial" font-size="14.00" fill="#666666">[varchar(60)]</text>
<polygon fill="none" stroke="black" points="495.86,-1005 495.86,-1035.8 787.65,-1035.8 787.65,-1005 495.86,-1005"/>
<text text-anchor="start" x="502.86" y="-1017.2" font-family="Arial" font-size="14.00">note </text>
<text text-anchor="start" x="534" y="-1017.2" font-family="Arial" font-size="14.00" fill="#666666">[text]</text>
<polygon fill="none" stroke="black" points="495.86,-974.2 495.86,-1005 787.65,-1005 787.65,-974.2 495.86,-974.2"/>
<text text-anchor="start" x="502.86" y="-986.4" font-family="Arial" font-size="14.00">created_at </text>
<text text-anchor="start" x="572.91" y="-986.4" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="495.86,-943.4 495.86,-974.2 787.65,-974.2 787.65,-943.4 495.86,-943.4"/>
<text text-anchor="start" x="502.86" y="-955.6" font-family="Arial" font-size="14.00">type </text>
<text text-anchor="start" x="533.21" y="-955.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="495.86,-912.6 495.86,-943.4 787.65,-943.4 787.65,-912.6 495.86,-912.6"/>
<text text-anchor="start" x="502.86" y="-924.8" font-family="Arial" font-size="14.00">invite_code </text>
<text text-anchor="start" x="577.58" y="-924.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(10)]</text>
<polygon fill="none" stroke="black" points="495.86,-881.8 495.86,-912.6 787.65,-912.6 787.65,-881.8 495.86,-881.8"/>
<text text-anchor="start" x="502.86" y="-894" font-family="Arial" font-size="14.00">deactivated_by_id </text>
<text text-anchor="start" x="619.61" y="-894" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="495.86,-851 495.86,-881.8 787.65,-881.8 787.65,-851 495.86,-851"/>
<text text-anchor="start" x="502.86" y="-863.2" font-family="Arial" font-size="14.00">deactivated_at </text>
<text text-anchor="start" x="597.82" y="-863.2" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="495.86,-820.2 495.86,-851 787.65,-851 787.65,-820.2 495.86,-820.2"/>
<text text-anchor="start" x="502.86" y="-832.4" font-family="Arial" font-size="14.00">active </text>
<text text-anchor="start" x="543.32" y="-832.4" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" stroke-width="3" points="494.36,-818.7 494.36,-1165.3 789.15,-1165.3 789.15,-818.7 494.36,-818.7"/>
</g>
<!-- public.user -->
<g id="node5" class="node">
<title>public.user</title>
<polygon fill="#efefef" stroke="none" points="444.89,-659.2 444.89,-694.8 838.63,-694.8 838.63,-659.2 444.89,-659.2"/>
<polygon fill="none" stroke="black" points="444.89,-659.2 444.89,-694.8 838.63,-694.8 838.63,-659.2 444.89,-659.2"/>
<text text-anchor="start" x="539.77" y="-672.6" font-family="Arial Bold" font-size="18.00">public.user</text>
<text text-anchor="start" x="619.25" y="-672.6" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="650.37" y="-672.6" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="444.89,-628.4 444.89,-659.2 838.63,-659.2 838.63,-628.4 444.89,-628.4"/>
<text text-anchor="start" x="451.89" y="-640.6" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="466.67" y="-640.6" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="444.89,-597.6 444.89,-628.4 838.63,-628.4 838.63,-597.6 444.89,-597.6"/>
<text text-anchor="start" x="451.89" y="-609.8" font-family="Arial" font-size="14.00">first_name </text>
<text text-anchor="start" x="521.14" y="-609.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="444.89,-566.8 444.89,-597.6 838.63,-597.6 838.63,-566.8 444.89,-566.8"/>
<text text-anchor="start" x="451.89" y="-579" font-family="Arial" font-size="14.00">last_name </text>
<text text-anchor="start" x="520.37" y="-579" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="444.89,-536 444.89,-566.8 838.63,-566.8 838.63,-536 444.89,-536"/>
<text text-anchor="start" x="451.89" y="-548.2" font-family="Arial" font-size="14.00">email </text>
<text text-anchor="start" x="489.23" y="-548.2" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="444.89,-505.2 444.89,-536 838.63,-536 838.63,-505.2 444.89,-505.2"/>
<text text-anchor="start" x="451.89" y="-517.4" font-family="Arial" font-size="14.00">gender </text>
<text text-anchor="start" x="499.37" y="-517.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="444.89,-474.4 444.89,-505.2 838.63,-505.2 838.63,-474.4 444.89,-474.4"/>
<text text-anchor="start" x="451.89" y="-486.6" font-family="Arial" font-size="14.00">birthday </text>
<text text-anchor="start" x="505.58" y="-486.6" font-family="Arial" font-size="14.00" fill="#666666">[date]</text>
<polygon fill="none" stroke="black" points="444.89,-443.6 444.89,-474.4 838.63,-474.4 838.63,-443.6 444.89,-443.6"/>
<text text-anchor="start" x="451.89" y="-455.8" font-family="Arial" font-size="14.00">skill_level </text>
<text text-anchor="start" x="515.69" y="-455.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="444.89,-412.8 444.89,-443.6 838.63,-443.6 838.63,-412.8 444.89,-412.8"/>
<text text-anchor="start" x="451.89" y="-425" font-family="Arial" font-size="14.00">is_age_public </text>
<text text-anchor="start" x="541.4" y="-425" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="444.89,-382 444.89,-412.8 838.63,-412.8 838.63,-382 444.89,-382"/>
<text text-anchor="start" x="451.89" y="-394.2" font-family="Arial" font-size="14.00">profile_image_path </text>
<text text-anchor="start" x="574.86" y="-394.2" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="444.89,-351.2 444.89,-382 838.63,-382 838.63,-351.2 444.89,-351.2"/>
<text text-anchor="start" x="451.89" y="-363.4" font-family="Arial" font-size="14.00">is_marketing_consent_granted </text>
<text text-anchor="start" x="647.23" y="-363.4" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="444.89,-320.4 444.89,-351.2 838.63,-351.2 838.63,-320.4 444.89,-320.4"/>
<text text-anchor="start" x="451.89" y="-332.6" font-family="Arial" font-size="14.00">marketing_consent_granted_at </text>
<text text-anchor="start" x="648.8" y="-332.6" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="444.89,-289.6 444.89,-320.4 838.63,-320.4 838.63,-289.6 444.89,-289.6"/>
<text text-anchor="start" x="451.89" y="-301.8" font-family="Arial" font-size="14.00">get_stream_token </text>
<text text-anchor="start" x="567.85" y="-301.8" font-family="Arial" font-size="14.00" fill="#666666">[text]</text>
<polygon fill="none" stroke="black" points="444.89,-258.8 444.89,-289.6 838.63,-289.6 838.63,-258.8 444.89,-258.8"/>
<text text-anchor="start" x="451.89" y="-271" font-family="Arial" font-size="14.00">email_address_id </text>
<text text-anchor="start" x="565.51" y="-271" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="444.89,-228 444.89,-258.8 838.63,-258.8 838.63,-228 444.89,-228"/>
<text text-anchor="start" x="451.89" y="-240.2" font-family="Arial" font-size="14.00">preferred_playing_times </text>
<text text-anchor="start" x="605.97" y="-240.2" font-family="Arial" font-size="14.00" fill="#666666">[text]</text>
<polygon fill="none" stroke="black" points="444.89,-197.2 444.89,-228 838.63,-228 838.63,-197.2 444.89,-197.2"/>
<text text-anchor="start" x="451.89" y="-209.4" font-family="Arial" font-size="14.00">dominant_hands </text>
<text text-anchor="start" x="559.3" y="-209.4" font-family="Arial" font-size="14.00" fill="#666666">[text]</text>
<polygon fill="none" stroke="black" points="444.89,-166.4 444.89,-197.2 838.63,-197.2 838.63,-166.4 444.89,-166.4"/>
<text text-anchor="start" x="451.89" y="-178.6" font-family="Arial" font-size="14.00">locale </text>
<text text-anchor="start" x="492.36" y="-178.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="444.89,-135.6 444.89,-166.4 838.63,-166.4 838.63,-135.6 444.89,-135.6"/>
<text text-anchor="start" x="451.89" y="-147.8" font-family="Arial" font-size="14.00">is_deleted </text>
<text text-anchor="start" x="519.6" y="-147.8" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="444.89,-104.8 444.89,-135.6 838.63,-135.6 838.63,-104.8 444.89,-104.8"/>
<text text-anchor="start" x="451.89" y="-117" font-family="Arial" font-size="14.00">deleted_at </text>
<text text-anchor="start" x="521.17" y="-117" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="444.89,-74 444.89,-104.8 838.63,-104.8 838.63,-74 444.89,-74"/>
<text text-anchor="start" x="451.89" y="-86.2" font-family="Arial" font-size="14.00">created_at </text>
<text text-anchor="start" x="521.94" y="-86.2" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="444.89,-43.2 444.89,-74 838.63,-74 838.63,-43.2 444.89,-43.2"/>
<text text-anchor="start" x="451.89" y="-55.4" font-family="Arial" font-size="14.00">phone_number </text>
<text text-anchor="start" x="549.96" y="-55.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
</g>
<!-- public.user_group&#45;&gt;public.user -->
<g id="edge4" class="edge">
<title>public.user_group:deactivated_by_id&#45;&gt;public.user:id</title>
<path fill="none" stroke="black" d="M798.91,-896.52C906.47,-882.09 951.03,-643.8 839.63,-643.8"/>
<polygon fill="black" stroke="black" points="798.97,-896.51 788.69,-892.69 793.64,-896.87 789.32,-897.16 789.32,-897.16 789.32,-897.16 793.64,-896.87 789.29,-901.67 798.97,-896.51"/>
<text text-anchor="start" x="795.65" y="-907.2" font-family="Arial" font-size="10.00">FOREIGN KEY (deactivated_by_id) REFERENCES &quot;user&quot;(id)</text>
</g>
<!-- public.user_group_club -->
<g id="node2" class="node">
<title>public.user_group_club</title>
<polygon fill="#efefef" stroke="none" points="95.28,-1581.8 95.28,-1617.4 404.24,-1617.4 404.24,-1581.8 95.28,-1581.8"/>
<polygon fill="none" stroke="black" points="95.28,-1581.8 95.28,-1617.4 404.24,-1617.4 404.24,-1581.8 95.28,-1581.8"/>
<text text-anchor="start" x="102.28" y="-1595.2" font-family="Arial Bold" font-size="18.00">public.user_group_club</text>
<text text-anchor="start" x="272.75" y="-1595.2" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="303.86" y="-1595.2" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="95.28,-1551 95.28,-1581.8 404.24,-1581.8 404.24,-1551 95.28,-1551"/>
<text text-anchor="start" x="102.28" y="-1563.2" font-family="Arial" font-size="14.00">user_group_id </text>
<text text-anchor="start" x="195.68" y="-1563.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="95.28,-1520.2 95.28,-1551 404.24,-1551 404.24,-1520.2 95.28,-1520.2"/>
<text text-anchor="start" x="102.28" y="-1532.4" font-family="Arial" font-size="14.00">club_id </text>
<text text-anchor="start" x="150.54" y="-1532.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
</g>
<!-- public.user_group_club&#45;&gt;public.user_group -->
<g id="edge1" class="edge">
<title>public.user_group_club:user_group_id&#45;&gt;public.user_group:id</title>
<path fill="none" stroke="black" d="M415.28,-1564.76C500.11,-1535.07 395.73,-1112.8 494.86,-1112.8"/>
<polygon fill="black" stroke="black" points="415.43,-1564.73 404.84,-1561.9 410.17,-1565.59 405.9,-1566.29 405.9,-1566.29 405.9,-1566.29 410.17,-1565.59 406.29,-1570.79 415.43,-1564.73"/>
<text text-anchor="start" x="7" y="-1576.4" font-family="Arial" font-size="10.00">FOREIGN KEY (user_group_id) REFERENCES user_group(id) ON DELETE CASCADE</text>
</g>
<!-- public.member -->
<g id="node3" class="node">
<title>public.member</title>
<polygon fill="#efefef" stroke="none" points="508.32,-1658.8 508.32,-1694.4 775.2,-1694.4 775.2,-1658.8 508.32,-1658.8"/>
<polygon fill="none" stroke="black" points="508.32,-1658.8 508.32,-1694.4 775.2,-1694.4 775.2,-1658.8 508.32,-1658.8"/>
<text text-anchor="start" x="525.28" y="-1672.2" font-family="Arial Bold" font-size="18.00">public.member</text>
<text text-anchor="start" x="633.75" y="-1672.2" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="664.86" y="-1672.2" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="508.32,-1628 508.32,-1658.8 775.2,-1658.8 775.2,-1628 508.32,-1628"/>
<text text-anchor="start" x="515.32" y="-1640.2" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="530.1" y="-1640.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="508.32,-1597.2 508.32,-1628 775.2,-1628 775.2,-1597.2 508.32,-1597.2"/>
<text text-anchor="start" x="515.32" y="-1609.4" font-family="Arial" font-size="14.00">group_id </text>
<text text-anchor="start" x="573.7" y="-1609.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="508.32,-1566.4 508.32,-1597.2 775.2,-1597.2 775.2,-1566.4 508.32,-1566.4"/>
<text text-anchor="start" x="515.32" y="-1578.6" font-family="Arial" font-size="14.00">user_id </text>
<text text-anchor="start" x="565.12" y="-1578.6" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="508.32,-1535.6 508.32,-1566.4 775.2,-1566.4 775.2,-1535.6 508.32,-1535.6"/>
<text text-anchor="start" x="515.32" y="-1547.8" font-family="Arial" font-size="14.00">created_at </text>
<text text-anchor="start" x="585.37" y="-1547.8" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="508.32,-1504.8 508.32,-1535.6 775.2,-1535.6 775.2,-1504.8 508.32,-1504.8"/>
<text text-anchor="start" x="515.32" y="-1517" font-family="Arial" font-size="14.00">email_address </text>
<text text-anchor="start" x="610.26" y="-1517" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="508.32,-1474 508.32,-1504.8 775.2,-1504.8 775.2,-1474 508.32,-1474"/>
<text text-anchor="start" x="515.32" y="-1486.2" font-family="Arial" font-size="14.00">status </text>
<text text-anchor="start" x="556.56" y="-1486.2" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="508.32,-1443.2 508.32,-1474 775.2,-1474 775.2,-1443.2 508.32,-1443.2"/>
<text text-anchor="start" x="515.32" y="-1455.4" font-family="Arial" font-size="14.00">added_by_id </text>
<text text-anchor="start" x="599.39" y="-1455.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
</g>
<!-- public.member&#45;&gt;public.user_group -->
<g id="edge2" class="edge">
<title>public.member:group_id&#45;&gt;public.user_group:id</title>
<path fill="none" stroke="black" d="M785.22,-1607.97C832.94,-1557.59 841.06,-1112.8 788.65,-1112.8"/>
<polygon fill="black" stroke="black" points="785.39,-1607.88 774.44,-1608.44 780.65,-1610.32 776.79,-1612.29 776.79,-1612.29 776.79,-1612.29 780.65,-1610.32 778.55,-1616.45 785.39,-1607.88"/>
<text text-anchor="start" x="648.38" y="-1596.6" font-family="Arial" font-size="10.00">FOREIGN KEY (group_id) REFERENCES user_group(id)</text>
</g>
<!-- public.discount -->
<g id="node4" class="node">
<title>public.discount</title>
<polygon fill="#efefef" stroke="none" points="879.21,-1812.8 879.21,-1848.4 1282.3,-1848.4 1282.3,-1812.8 879.21,-1812.8"/>
<polygon fill="none" stroke="black" points="879.21,-1812.8 879.21,-1848.4 1282.3,-1848.4 1282.3,-1812.8 879.21,-1812.8"/>
<text text-anchor="start" x="963.27" y="-1826.2" font-family="Arial Bold" font-size="18.00">public.discount</text>
<text text-anchor="start" x="1073.76" y="-1826.2" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="1104.88" y="-1826.2" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="879.21,-1782 879.21,-1812.8 1282.3,-1812.8 1282.3,-1782 879.21,-1782"/>
<text text-anchor="start" x="886.21" y="-1794.2" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="901" y="-1794.2" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="879.21,-1751.2 879.21,-1782 1282.3,-1782 1282.3,-1751.2 879.21,-1751.2"/>
<text text-anchor="start" x="886.21" y="-1763.4" font-family="Arial" font-size="14.00">group_id </text>
<text text-anchor="start" x="944.59" y="-1763.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="879.21,-1720.4 879.21,-1751.2 1282.3,-1751.2 1282.3,-1720.4 879.21,-1720.4"/>
<text text-anchor="start" x="886.21" y="-1732.6" font-family="Arial" font-size="14.00">created_at </text>
<text text-anchor="start" x="956.26" y="-1732.6" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="879.21,-1689.6 879.21,-1720.4 1282.3,-1720.4 1282.3,-1689.6 879.21,-1689.6"/>
<text text-anchor="start" x="886.21" y="-1701.8" font-family="Arial" font-size="14.00">valid_from </text>
<text text-anchor="start" x="954.68" y="-1701.8" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="879.21,-1658.8 879.21,-1689.6 1282.3,-1689.6 1282.3,-1658.8 879.21,-1658.8"/>
<text text-anchor="start" x="886.21" y="-1671" font-family="Arial" font-size="14.00">valid_till </text>
<text text-anchor="start" x="939.9" y="-1671" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="879.21,-1628 879.21,-1658.8 1282.3,-1658.8 1282.3,-1628 879.21,-1628"/>
<text text-anchor="start" x="886.21" y="-1640.2" font-family="Arial" font-size="14.00">percentage </text>
<text text-anchor="start" x="960.16" y="-1640.2" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
<polygon fill="none" stroke="black" points="879.21,-1597.2 879.21,-1628 1282.3,-1628 1282.3,-1597.2 879.21,-1597.2"/>
<text text-anchor="start" x="886.21" y="-1609.4" font-family="Arial" font-size="14.00">is_enabled </text>
<text text-anchor="start" x="957.83" y="-1609.4" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="879.21,-1566.4 879.21,-1597.2 1282.3,-1597.2 1282.3,-1566.4 879.21,-1566.4"/>
<text text-anchor="start" x="886.21" y="-1578.6" font-family="Arial" font-size="14.00">applicable_on_days </text>
<text text-anchor="start" x="1013.87" y="-1578.6" font-family="Arial" font-size="14.00" fill="#666666">[text]</text>
<polygon fill="none" stroke="black" points="879.21,-1535.6 879.21,-1566.4 1282.3,-1566.4 1282.3,-1535.6 879.21,-1535.6"/>
<text text-anchor="start" x="886.21" y="-1547.8" font-family="Arial" font-size="14.00">applicable_from_time </text>
<text text-anchor="start" x="1023.17" y="-1547.8" font-family="Arial" font-size="14.00" fill="#666666">[time(0) without time zone]</text>
<polygon fill="none" stroke="black" points="879.21,-1504.8 879.21,-1535.6 1282.3,-1535.6 1282.3,-1504.8 879.21,-1504.8"/>
<text text-anchor="start" x="886.21" y="-1517" font-family="Arial" font-size="14.00">applicable_till_time </text>
<text text-anchor="start" x="1008.39" y="-1517" font-family="Arial" font-size="14.00" fill="#666666">[time(0) without time zone]</text>
<polygon fill="none" stroke="black" points="879.21,-1474 879.21,-1504.8 1282.3,-1504.8 1282.3,-1474 879.21,-1474"/>
<text text-anchor="start" x="886.21" y="-1486.2" font-family="Arial" font-size="14.00">applicable_on_sports </text>
<text text-anchor="start" x="1022.42" y="-1486.2" font-family="Arial" font-size="14.00" fill="#666666">[text]</text>
<polygon fill="none" stroke="black" points="879.21,-1443.2 879.21,-1474 1282.3,-1474 1282.3,-1443.2 879.21,-1443.2"/>
<text text-anchor="start" x="886.21" y="-1455.4" font-family="Arial" font-size="14.00">applicable_on_locations </text>
<text text-anchor="start" x="1039.55" y="-1455.4" font-family="Arial" font-size="14.00" fill="#666666">[text]</text>
<polygon fill="none" stroke="black" points="879.21,-1412.4 879.21,-1443.2 1282.3,-1443.2 1282.3,-1412.4 879.21,-1412.4"/>
<text text-anchor="start" x="886.21" y="-1424.6" font-family="Arial" font-size="14.00">max_playable_hours_in_validity_period </text>
<text text-anchor="start" x="1135.26" y="-1424.6" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
<polygon fill="none" stroke="black" points="879.21,-1381.6 879.21,-1412.4 1282.3,-1412.4 1282.3,-1381.6 879.21,-1381.6"/>
<text text-anchor="start" x="886.21" y="-1393.8" font-family="Arial" font-size="14.00">kind </text>
<text text-anchor="start" x="915.79" y="-1393.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="879.21,-1350.8 879.21,-1381.6 1282.3,-1381.6 1282.3,-1350.8 879.21,-1350.8"/>
<text text-anchor="start" x="886.21" y="-1363" font-family="Arial" font-size="14.00">played_hours_in_validity_period </text>
<text text-anchor="start" x="1090.13" y="-1363" font-family="Arial" font-size="14.00" fill="#666666">[double precision]</text>
<polygon fill="none" stroke="black" points="879.21,-1320 879.21,-1350.8 1282.3,-1350.8 1282.3,-1320 879.21,-1320"/>
<text text-anchor="start" x="886.21" y="-1332.2" font-family="Arial" font-size="14.00">played_hours_last_computed_at </text>
<text text-anchor="start" x="1092.47" y="-1332.2" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="879.21,-1289.2 879.21,-1320 1282.3,-1320 1282.3,-1289.2 879.21,-1289.2"/>
<text text-anchor="start" x="886.21" y="-1301.4" font-family="Arial" font-size="14.00">origin </text>
<text text-anchor="start" x="924.35" y="-1301.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</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="M869.06,-1762.3C822.12,-1715.39 838.17,-1299.83 827.76,-1246 816.04,-1185.42 850.35,-1112.8 788.65,-1112.8"/>
<polygon fill="black" stroke="black" points="868.86,-1762.2 876,-1770.53 873.69,-1764.47 877.61,-1766.32 877.61,-1766.32 877.61,-1766.32 873.69,-1764.47 879.83,-1762.39 868.86,-1762.2"/>
<text text-anchor="start" x="615.58" y="-1776.6" font-family="Arial" font-size="10.00">FOREIGN KEY (group_id) REFERENCES user_group(id)</text>
</g>
</g>
</svg>
