<?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.service_term Pages: 1 -->
<svg width="704pt" height="740pt"
 viewBox="0.00 0.00 703.69 740.09" 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 736.09)">
<title>public.service_term</title>
<polygon fill="white" stroke="none" points="-4,4 -4,-736.09 699.69,-736.09 699.69,4 -4,4"/>
<!-- public.service_term -->
<g id="node1" class="node">
<title>public.service_term</title>
<polygon fill="#efefef" stroke="none" points="49.39,-650.29 49.39,-685.89 348.95,-685.89 348.95,-650.29 49.39,-650.29"/>
<polygon fill="none" stroke="black" points="49.39,-650.29 49.39,-685.89 348.95,-685.89 348.95,-650.29 49.39,-650.29"/>
<text text-anchor="start" x="65.7" y="-663.69" font-family="Arial Bold" font-size="18.00">public.service_term</text>
<text text-anchor="start" x="208.14" y="-663.69" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="239.26" y="-663.69" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="49.39,-619.49 49.39,-650.29 348.95,-650.29 348.95,-619.49 49.39,-619.49"/>
<text text-anchor="start" x="56.39" y="-631.69" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="71.17" y="-631.69" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="49.39,-588.69 49.39,-619.49 348.95,-619.49 348.95,-588.69 49.39,-588.69"/>
<text text-anchor="start" x="56.39" y="-600.89" font-family="Arial" font-size="14.00">terms_of_service_id </text>
<text text-anchor="start" x="185.55" y="-600.89" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="49.39,-557.89 49.39,-588.69 348.95,-588.69 348.95,-557.89 49.39,-557.89"/>
<text text-anchor="start" x="56.39" y="-570.09" font-family="Arial" font-size="14.00">action </text>
<text text-anchor="start" x="97.64" y="-570.09" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="49.39,-527.09 49.39,-557.89 348.95,-557.89 348.95,-527.09 49.39,-527.09"/>
<text text-anchor="start" x="56.39" y="-539.29" font-family="Arial" font-size="14.00">applicable_phases </text>
<text text-anchor="start" x="176.26" y="-539.29" font-family="Arial" font-size="14.00" fill="#666666">[text]</text>
<polygon fill="none" stroke="black" points="49.39,-496.29 49.39,-527.09 348.95,-527.09 348.95,-496.29 49.39,-496.29"/>
<text text-anchor="start" x="56.39" y="-508.49" font-family="Arial" font-size="14.00">due_fee_amount </text>
<text text-anchor="start" x="165.37" y="-508.49" font-family="Arial" font-size="14.00" fill="#666666">[bigint]</text>
<polygon fill="none" stroke="black" points="49.39,-465.49 49.39,-496.29 348.95,-496.29 348.95,-465.49 49.39,-465.49"/>
<text text-anchor="start" x="56.39" y="-477.69" font-family="Arial" font-size="14.00">due_fee_currency </text>
<text text-anchor="start" x="172.35" y="-477.69" font-family="Arial" font-size="14.00" fill="#666666">[varchar(3)]</text>
<polygon fill="none" stroke="black" points="49.39,-434.69 49.39,-465.49 348.95,-465.49 348.95,-434.69 49.39,-434.69"/>
<text text-anchor="start" x="56.39" y="-446.89" font-family="Arial" font-size="14.00">applicable_kinds </text>
<text text-anchor="start" x="163.79" y="-446.89" font-family="Arial" font-size="14.00" fill="#666666">[text]</text>
<polygon fill="none" stroke="black" points="49.39,-403.89 49.39,-434.69 348.95,-434.69 348.95,-403.89 49.39,-403.89"/>
<text text-anchor="start" x="56.39" y="-416.09" font-family="Arial" font-size="14.00">type </text>
<text text-anchor="start" x="86.74" y="-416.09" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="49.39,-373.09 49.39,-403.89 348.95,-403.89 348.95,-373.09 49.39,-373.09"/>
<text text-anchor="start" x="56.39" y="-385.29" font-family="Arial" font-size="14.00">applicable_from </text>
<text text-anchor="start" x="159.11" y="-385.29" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="49.39,-342.29 49.39,-373.09 348.95,-373.09 348.95,-342.29 49.39,-342.29"/>
<text text-anchor="start" x="56.39" y="-354.49" font-family="Arial" font-size="14.00">applicable_till </text>
<text text-anchor="start" x="144.33" y="-354.49" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="49.39,-311.49 49.39,-342.29 348.95,-342.29 348.95,-311.49 49.39,-311.49"/>
<text text-anchor="start" x="56.39" y="-323.69" font-family="Arial" font-size="14.00">is_action_allowed </text>
<text text-anchor="start" x="170.79" y="-323.69" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="49.39,-280.69 49.39,-311.49 348.95,-311.49 348.95,-280.69 49.39,-280.69"/>
<text text-anchor="start" x="56.39" y="-292.89" font-family="Arial" font-size="14.00">applicable_roles </text>
<text text-anchor="start" x="161.46" y="-292.89" font-family="Arial" font-size="14.00" fill="#666666">[text]</text>
<polygon fill="none" stroke="black" points="49.39,-249.89 49.39,-280.69 348.95,-280.69 348.95,-249.89 49.39,-249.89"/>
<text text-anchor="start" x="56.39" y="-262.09" font-family="Arial" font-size="14.00">legacy_type </text>
<text text-anchor="start" x="134.99" y="-262.09" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" stroke-width="3" points="47.89,-248.39 47.89,-687.39 350.45,-687.39 350.45,-248.39 47.89,-248.39"/>
</g>
<!-- public.terms_of_service -->
<g id="node2" class="node">
<title>public.terms_of_service</title>
<polygon fill="#efefef" stroke="none" points="43.2,-88.89 43.2,-124.49 355.13,-124.49 355.13,-88.89 43.2,-88.89"/>
<polygon fill="none" stroke="black" points="43.2,-88.89 43.2,-124.49 355.13,-124.49 355.13,-88.89 43.2,-88.89"/>
<text text-anchor="start" x="50.2" y="-102.29" font-family="Arial Bold" font-size="18.00">public.terms_of_service</text>
<text text-anchor="start" x="223.64" y="-102.29" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="254.76" y="-102.29" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="43.2,-58.09 43.2,-88.89 355.13,-88.89 355.13,-58.09 43.2,-58.09"/>
<text text-anchor="start" x="50.2" y="-70.29" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="64.99" y="-70.29" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
</g>
<!-- public.service_term&#45;&gt;public.terms_of_service -->
<g id="edge1" class="edge">
<title>public.service_term:terms_of_service_id&#45;&gt;public.terms_of_service:id</title>
<path fill="none" stroke="black" d="M359.32,-600.04C413.86,-552.34 439.02,-98.99 398.33,-58.09 335.9,4.66 199.17,31.43 199.17,-57.09"/>
<polygon fill="black" stroke="black" points="359.43,-599.99 348.47,-599.83 354.53,-602.11 350.56,-603.83 350.56,-603.83 350.56,-603.83 354.53,-602.11 352.04,-608.09 359.43,-599.99"/>
<text text-anchor="start" x="356.95" y="-614.09" font-family="Arial" font-size="10.00">FOREIGN KEY (terms_of_service_id) REFERENCES terms_of_service(id)</text>
</g>
</g>
</svg>
