<?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.terms_of_service Pages: 1 -->
<svg width="828pt" height="725pt"
 viewBox="0.00 0.00 827.95 725.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 721.2)">
<title>public.terms_of_service</title>
<polygon fill="white" stroke="none" points="-4,4 -4,-721.2 823.95,-721.2 823.95,4 -4,4"/>
<!-- public.terms_of_service -->
<g id="node1" class="node">
<title>public.terms_of_service</title>
<polygon fill="#efefef" stroke="none" points="260.02,-77 260.02,-112.6 571.95,-112.6 571.95,-77 260.02,-77"/>
<polygon fill="none" stroke="black" points="260.02,-77 260.02,-112.6 571.95,-112.6 571.95,-77 260.02,-77"/>
<text text-anchor="start" x="267.02" y="-90.4" font-family="Arial Bold" font-size="18.00">public.terms_of_service</text>
<text text-anchor="start" x="440.46" y="-90.4" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="471.58" y="-90.4" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="260.02,-46.2 260.02,-77 571.95,-77 571.95,-46.2 260.02,-46.2"/>
<text text-anchor="start" x="267.02" y="-58.4" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="281.8" y="-58.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" stroke-width="3" points="258.52,-44.7 258.52,-114.1 573.45,-114.1 573.45,-44.7 258.52,-44.7"/>
</g>
<!-- public.match_player -->
<g id="node2" class="node">
<title>public.match_player</title>
<polygon fill="#efefef" stroke="none" points="43.2,-623 43.2,-658.6 370.76,-658.6 370.76,-623 43.2,-623"/>
<polygon fill="none" stroke="black" points="43.2,-623 43.2,-658.6 370.76,-658.6 370.76,-623 43.2,-623"/>
<text text-anchor="start" x="71.01" y="-636.4" font-family="Arial Bold" font-size="18.00">public.match_player</text>
<text text-anchor="start" x="218.46" y="-636.4" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="249.58" y="-636.4" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="43.2,-592.2 43.2,-623 370.76,-623 370.76,-592.2 43.2,-592.2"/>
<text text-anchor="start" x="50.2" y="-604.4" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="64.99" y="-604.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="43.2,-561.4 43.2,-592.2 370.76,-592.2 370.76,-561.4 43.2,-561.4"/>
<text text-anchor="start" x="50.2" y="-573.6" font-family="Arial" font-size="14.00">user_id </text>
<text text-anchor="start" x="100.01" y="-573.6" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="43.2,-530.6 43.2,-561.4 370.76,-561.4 370.76,-530.6 43.2,-530.6"/>
<text text-anchor="start" x="50.2" y="-542.8" font-family="Arial" font-size="14.00">game_id </text>
<text text-anchor="start" x="107.79" y="-542.8" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="43.2,-499.8 43.2,-530.6 370.76,-530.6 370.76,-499.8 43.2,-499.8"/>
<text text-anchor="start" x="50.2" y="-512" font-family="Arial" font-size="14.00">slot </text>
<text text-anchor="start" x="75.88" y="-512" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
<polygon fill="none" stroke="black" points="43.2,-469 43.2,-499.8 370.76,-499.8 370.76,-469 43.2,-469"/>
<text text-anchor="start" x="50.2" y="-481.2" font-family="Arial" font-size="14.00">is_host </text>
<text text-anchor="start" x="98.45" y="-481.2" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="43.2,-438.2 43.2,-469 370.76,-469 370.76,-438.2 43.2,-438.2"/>
<text text-anchor="start" x="50.2" y="-450.4" font-family="Arial" font-size="14.00">terms_of_service_id </text>
<text text-anchor="start" x="179.37" y="-450.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="43.2,-407.4 43.2,-438.2 370.76,-438.2 370.76,-407.4 43.2,-407.4"/>
<text text-anchor="start" x="50.2" y="-419.6" font-family="Arial" font-size="14.00">joined_match_at </text>
<text text-anchor="start" x="156.83" y="-419.6" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="43.2,-376.6 43.2,-407.4 370.76,-407.4 370.76,-376.6 43.2,-376.6"/>
<text text-anchor="start" x="50.2" y="-388.8" font-family="Arial" font-size="14.00">confirmed_match_at </text>
<text text-anchor="start" x="180.93" y="-388.8" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="43.2,-345.8 43.2,-376.6 370.76,-376.6 370.76,-345.8 43.2,-345.8"/>
<text text-anchor="start" x="50.2" y="-358" font-family="Arial" font-size="14.00">left_match_at </text>
<text text-anchor="start" x="138.14" y="-358" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="43.2,-315 43.2,-345.8 370.76,-345.8 370.76,-315 43.2,-315"/>
<text text-anchor="start" x="50.2" y="-327.2" font-family="Arial" font-size="14.00">status </text>
<text text-anchor="start" x="91.44" y="-327.2" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="43.2,-284.2 43.2,-315 370.76,-315 370.76,-284.2 43.2,-284.2"/>
<text text-anchor="start" x="50.2" y="-296.4" font-family="Arial" font-size="14.00">discount_id </text>
<text text-anchor="start" x="124.92" y="-296.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="43.2,-253.4 43.2,-284.2 370.76,-284.2 370.76,-253.4 43.2,-253.4"/>
<text text-anchor="start" x="50.2" y="-265.6" font-family="Arial" font-size="14.00">expected_payment_of_slots </text>
<text text-anchor="start" x="228.43" y="-265.6" font-family="Arial" font-size="14.00" fill="#666666">[integer]</text>
</g>
<!-- public.match_player&#45;&gt;public.terms_of_service -->
<g id="edge1" class="edge">
<title>public.match_player:terms_of_service_id&#45;&gt;public.terms_of_service:id</title>
<path fill="none" stroke="black" d="M381.76,-450.94C422.3,-427.26 397.97,-252.62 370.76,-210.2 341.47,-164.52 289.45,-204.39 260.02,-158.8 236.58,-122.5 215.81,-61.6 259.02,-61.6"/>
<polygon fill="black" stroke="black" points="381.75,-450.94 370.93,-449.17 376.6,-452.31 372.41,-453.43 372.41,-453.43 372.41,-453.43 376.6,-452.31 373.25,-457.86 381.75,-450.94"/>
<text text-anchor="start" x="378.76" y="-463.6" font-family="Arial" font-size="10.00">FOREIGN KEY (terms_of_service_id) REFERENCES terms_of_service(id)</text>
</g>
<!-- public.service_term -->
<g id="node3" class="node">
<title>public.service_term</title>
<polygon fill="#efefef" stroke="none" points="475.2,-638.4 475.2,-674 774.76,-674 774.76,-638.4 475.2,-638.4"/>
<polygon fill="none" stroke="black" points="475.2,-638.4 475.2,-674 774.76,-674 774.76,-638.4 475.2,-638.4"/>
<text text-anchor="start" x="491.52" y="-651.8" font-family="Arial Bold" font-size="18.00">public.service_term</text>
<text text-anchor="start" x="633.96" y="-651.8" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="665.08" y="-651.8" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="475.2,-607.6 475.2,-638.4 774.76,-638.4 774.76,-607.6 475.2,-607.6"/>
<text text-anchor="start" x="482.2" y="-619.8" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="496.99" y="-619.8" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="475.2,-576.8 475.2,-607.6 774.76,-607.6 774.76,-576.8 475.2,-576.8"/>
<text text-anchor="start" x="482.2" y="-589" font-family="Arial" font-size="14.00">terms_of_service_id </text>
<text text-anchor="start" x="611.37" y="-589" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="475.2,-546 475.2,-576.8 774.76,-576.8 774.76,-546 475.2,-546"/>
<text text-anchor="start" x="482.2" y="-558.2" font-family="Arial" font-size="14.00">action </text>
<text text-anchor="start" x="523.45" y="-558.2" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="475.2,-515.2 475.2,-546 774.76,-546 774.76,-515.2 475.2,-515.2"/>
<text text-anchor="start" x="482.2" y="-527.4" font-family="Arial" font-size="14.00">applicable_phases </text>
<text text-anchor="start" x="602.07" y="-527.4" font-family="Arial" font-size="14.00" fill="#666666">[text]</text>
<polygon fill="none" stroke="black" points="475.2,-484.4 475.2,-515.2 774.76,-515.2 774.76,-484.4 475.2,-484.4"/>
<text text-anchor="start" x="482.2" y="-496.6" font-family="Arial" font-size="14.00">due_fee_amount </text>
<text text-anchor="start" x="591.18" y="-496.6" font-family="Arial" font-size="14.00" fill="#666666">[bigint]</text>
<polygon fill="none" stroke="black" points="475.2,-453.6 475.2,-484.4 774.76,-484.4 774.76,-453.6 475.2,-453.6"/>
<text text-anchor="start" x="482.2" y="-465.8" font-family="Arial" font-size="14.00">due_fee_currency </text>
<text text-anchor="start" x="598.17" y="-465.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(3)]</text>
<polygon fill="none" stroke="black" points="475.2,-422.8 475.2,-453.6 774.76,-453.6 774.76,-422.8 475.2,-422.8"/>
<text text-anchor="start" x="482.2" y="-435" font-family="Arial" font-size="14.00">applicable_kinds </text>
<text text-anchor="start" x="589.61" y="-435" font-family="Arial" font-size="14.00" fill="#666666">[text]</text>
<polygon fill="none" stroke="black" points="475.2,-392 475.2,-422.8 774.76,-422.8 774.76,-392 475.2,-392"/>
<text text-anchor="start" x="482.2" y="-404.2" font-family="Arial" font-size="14.00">type </text>
<text text-anchor="start" x="512.55" y="-404.2" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="475.2,-361.2 475.2,-392 774.76,-392 774.76,-361.2 475.2,-361.2"/>
<text text-anchor="start" x="482.2" y="-373.4" font-family="Arial" font-size="14.00">applicable_from </text>
<text text-anchor="start" x="584.93" y="-373.4" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="475.2,-330.4 475.2,-361.2 774.76,-361.2 774.76,-330.4 475.2,-330.4"/>
<text text-anchor="start" x="482.2" y="-342.6" font-family="Arial" font-size="14.00">applicable_till </text>
<text text-anchor="start" x="570.15" y="-342.6" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="475.2,-299.6 475.2,-330.4 774.76,-330.4 774.76,-299.6 475.2,-299.6"/>
<text text-anchor="start" x="482.2" y="-311.8" font-family="Arial" font-size="14.00">is_action_allowed </text>
<text text-anchor="start" x="596.61" y="-311.8" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="475.2,-268.8 475.2,-299.6 774.76,-299.6 774.76,-268.8 475.2,-268.8"/>
<text text-anchor="start" x="482.2" y="-281" font-family="Arial" font-size="14.00">applicable_roles </text>
<text text-anchor="start" x="587.27" y="-281" font-family="Arial" font-size="14.00" fill="#666666">[text]</text>
<polygon fill="none" stroke="black" points="475.2,-238 475.2,-268.8 774.76,-268.8 774.76,-238 475.2,-238"/>
<text text-anchor="start" x="482.2" y="-250.2" font-family="Arial" font-size="14.00">legacy_type </text>
<text text-anchor="start" x="560.81" y="-250.2" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
</g>
<!-- public.service_term&#45;&gt;public.terms_of_service -->
<g id="edge2" class="edge">
<title>public.service_term:terms_of_service_id&#45;&gt;public.terms_of_service:id</title>
<path fill="none" stroke="black" d="M465.61,-586.8C432.95,-541.7 451.79,-228.41 475.2,-194.8 501.43,-157.16 545.58,-196.34 571.95,-158.8 596.78,-123.45 616.15,-61.6 572.95,-61.6"/>
<polygon fill="black" stroke="black" points="465.45,-586.7 471.53,-595.83 469.97,-589.54 473.64,-591.84 473.64,-591.84 473.64,-591.84 469.97,-589.54 476.31,-588.21 465.45,-586.7"/>
<text text-anchor="start" x="481.2" y="-602.2" font-family="Arial" font-size="10.00">FOREIGN KEY (terms_of_service_id) REFERENCES terms_of_service(id)</text>
</g>
</g>
</svg>
