<?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.wellpass_account Pages: 1 -->
<svg width="947pt" height="1156pt"
 viewBox="0.00 0.00 946.52 1156.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 1152.4)">
<title>public.wellpass_account</title>
<polygon fill="white" stroke="none" points="-4,4 -4,-1152.4 942.52,-1152.4 942.52,4 -4,4"/>
<!-- public.wellpass_account -->
<g id="node1" class="node">
<title>public.wellpass_account</title>
<polygon fill="#efefef" stroke="none" points="299.6,-1066.6 299.6,-1102.2 614.54,-1102.2 614.54,-1066.6 299.6,-1066.6"/>
<polygon fill="none" stroke="black" points="299.6,-1066.6 299.6,-1102.2 614.54,-1102.2 614.54,-1066.6 299.6,-1066.6"/>
<text text-anchor="start" x="306.6" y="-1080" font-family="Arial Bold" font-size="18.00">public.wellpass_account</text>
<text text-anchor="start" x="483.05" y="-1080" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="514.17" y="-1080" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="299.6,-1035.8 299.6,-1066.6 614.54,-1066.6 614.54,-1035.8 299.6,-1035.8"/>
<text text-anchor="start" x="306.6" y="-1048" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="321.39" y="-1048" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="299.6,-1005 299.6,-1035.8 614.54,-1035.8 614.54,-1005 299.6,-1005"/>
<text text-anchor="start" x="306.6" y="-1017.2" font-family="Arial" font-size="14.00">created_at </text>
<text text-anchor="start" x="376.65" y="-1017.2" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="299.6,-974.2 299.6,-1005 614.54,-1005 614.54,-974.2 299.6,-974.2"/>
<text text-anchor="start" x="306.6" y="-986.4" font-family="Arial" font-size="14.00">is_linked </text>
<text text-anchor="start" x="364.97" y="-986.4" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="299.6,-943.4 299.6,-974.2 614.54,-974.2 614.54,-943.4 299.6,-943.4"/>
<text text-anchor="start" x="306.6" y="-955.6" font-family="Arial" font-size="14.00">linked_at </text>
<text text-anchor="start" x="366.53" y="-955.6" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="299.6,-912.6 299.6,-943.4 614.54,-943.4 614.54,-912.6 299.6,-912.6"/>
<text text-anchor="start" x="306.6" y="-924.8" font-family="Arial" font-size="14.00">member_account_id </text>
<text text-anchor="start" x="437.34" y="-924.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="299.6,-881.8 299.6,-912.6 614.54,-912.6 614.54,-881.8 299.6,-881.8"/>
<text text-anchor="start" x="306.6" y="-894" font-family="Arial" font-size="14.00">owner_id </text>
<text text-anchor="start" x="367.31" y="-894" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="299.6,-851 299.6,-881.8 614.54,-881.8 614.54,-851 299.6,-851"/>
<text text-anchor="start" x="306.6" y="-863.2" font-family="Arial" font-size="14.00">linked_with_email_address </text>
<text text-anchor="start" x="478.59" y="-863.2" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="299.6,-820.2 299.6,-851 614.54,-851 614.54,-820.2 299.6,-820.2"/>
<text text-anchor="start" x="306.6" y="-832.4" font-family="Arial" font-size="14.00">user_group_member_id </text>
<text text-anchor="start" x="459.13" y="-832.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" stroke-width="3" points="298.1,-818.7 298.1,-1103.7 616.04,-1103.7 616.04,-818.7 298.1,-818.7"/>
</g>
<!-- public.user -->
<g id="node2" class="node">
<title>public.user</title>
<polygon fill="#efefef" stroke="none" points="43.2,-659.2 43.2,-694.8 436.94,-694.8 436.94,-659.2 43.2,-659.2"/>
<polygon fill="none" stroke="black" points="43.2,-659.2 43.2,-694.8 436.94,-694.8 436.94,-659.2 43.2,-659.2"/>
<text text-anchor="start" x="138.09" y="-672.6" font-family="Arial Bold" font-size="18.00">public.user</text>
<text text-anchor="start" x="217.57" y="-672.6" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="248.68" y="-672.6" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="43.2,-628.4 43.2,-659.2 436.94,-659.2 436.94,-628.4 43.2,-628.4"/>
<text text-anchor="start" x="50.2" y="-640.6" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="64.99" y="-640.6" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="43.2,-597.6 43.2,-628.4 436.94,-628.4 436.94,-597.6 43.2,-597.6"/>
<text text-anchor="start" x="50.2" y="-609.8" font-family="Arial" font-size="14.00">first_name </text>
<text text-anchor="start" x="119.45" y="-609.8" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="43.2,-566.8 43.2,-597.6 436.94,-597.6 436.94,-566.8 43.2,-566.8"/>
<text text-anchor="start" x="50.2" y="-579" font-family="Arial" font-size="14.00">last_name </text>
<text text-anchor="start" x="118.68" y="-579" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="43.2,-536 43.2,-566.8 436.94,-566.8 436.94,-536 43.2,-536"/>
<text text-anchor="start" x="50.2" y="-548.2" font-family="Arial" font-size="14.00">email </text>
<text text-anchor="start" x="87.54" 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 436.94,-536 436.94,-505.2 43.2,-505.2"/>
<text text-anchor="start" x="50.2" y="-517.4" font-family="Arial" font-size="14.00">gender </text>
<text text-anchor="start" x="97.68" y="-517.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="43.2,-474.4 43.2,-505.2 436.94,-505.2 436.94,-474.4 43.2,-474.4"/>
<text text-anchor="start" x="50.2" y="-486.6" font-family="Arial" font-size="14.00">birthday </text>
<text text-anchor="start" x="103.9" y="-486.6" font-family="Arial" font-size="14.00" fill="#666666">[date]</text>
<polygon fill="none" stroke="black" points="43.2,-443.6 43.2,-474.4 436.94,-474.4 436.94,-443.6 43.2,-443.6"/>
<text text-anchor="start" x="50.2" y="-455.8" font-family="Arial" font-size="14.00">skill_level </text>
<text text-anchor="start" x="114" 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 436.94,-443.6 436.94,-412.8 43.2,-412.8"/>
<text text-anchor="start" x="50.2" y="-425" font-family="Arial" font-size="14.00">is_age_public </text>
<text text-anchor="start" x="139.71" y="-425" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="43.2,-382 43.2,-412.8 436.94,-412.8 436.94,-382 43.2,-382"/>
<text text-anchor="start" x="50.2" y="-394.2" font-family="Arial" font-size="14.00">profile_image_path </text>
<text text-anchor="start" x="173.17" y="-394.2" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="43.2,-351.2 43.2,-382 436.94,-382 436.94,-351.2 43.2,-351.2"/>
<text text-anchor="start" x="50.2" y="-363.4" font-family="Arial" font-size="14.00">is_marketing_consent_granted </text>
<text text-anchor="start" x="245.54" y="-363.4" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="43.2,-320.4 43.2,-351.2 436.94,-351.2 436.94,-320.4 43.2,-320.4"/>
<text text-anchor="start" x="50.2" y="-332.6" font-family="Arial" font-size="14.00">marketing_consent_granted_at </text>
<text text-anchor="start" x="247.11" y="-332.6" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="43.2,-289.6 43.2,-320.4 436.94,-320.4 436.94,-289.6 43.2,-289.6"/>
<text text-anchor="start" x="50.2" y="-301.8" font-family="Arial" font-size="14.00">get_stream_token </text>
<text text-anchor="start" x="166.16" y="-301.8" font-family="Arial" font-size="14.00" fill="#666666">[text]</text>
<polygon fill="none" stroke="black" points="43.2,-258.8 43.2,-289.6 436.94,-289.6 436.94,-258.8 43.2,-258.8"/>
<text text-anchor="start" x="50.2" y="-271" font-family="Arial" font-size="14.00">email_address_id </text>
<text text-anchor="start" x="163.82" y="-271" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="43.2,-228 43.2,-258.8 436.94,-258.8 436.94,-228 43.2,-228"/>
<text text-anchor="start" x="50.2" y="-240.2" font-family="Arial" font-size="14.00">preferred_playing_times </text>
<text text-anchor="start" x="204.28" y="-240.2" font-family="Arial" font-size="14.00" fill="#666666">[text]</text>
<polygon fill="none" stroke="black" points="43.2,-197.2 43.2,-228 436.94,-228 436.94,-197.2 43.2,-197.2"/>
<text text-anchor="start" x="50.2" y="-209.4" font-family="Arial" font-size="14.00">dominant_hands </text>
<text text-anchor="start" x="157.61" y="-209.4" font-family="Arial" font-size="14.00" fill="#666666">[text]</text>
<polygon fill="none" stroke="black" points="43.2,-166.4 43.2,-197.2 436.94,-197.2 436.94,-166.4 43.2,-166.4"/>
<text text-anchor="start" x="50.2" y="-178.6" font-family="Arial" font-size="14.00">locale </text>
<text text-anchor="start" x="90.67" y="-178.6" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="43.2,-135.6 43.2,-166.4 436.94,-166.4 436.94,-135.6 43.2,-135.6"/>
<text text-anchor="start" x="50.2" y="-147.8" font-family="Arial" font-size="14.00">is_deleted </text>
<text text-anchor="start" x="117.92" y="-147.8" font-family="Arial" font-size="14.00" fill="#666666">[boolean]</text>
<polygon fill="none" stroke="black" points="43.2,-104.8 43.2,-135.6 436.94,-135.6 436.94,-104.8 43.2,-104.8"/>
<text text-anchor="start" x="50.2" y="-117" font-family="Arial" font-size="14.00">deleted_at </text>
<text text-anchor="start" x="119.48" y="-117" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="43.2,-74 43.2,-104.8 436.94,-104.8 436.94,-74 43.2,-74"/>
<text text-anchor="start" x="50.2" y="-86.2" font-family="Arial" font-size="14.00">created_at </text>
<text text-anchor="start" x="120.25" y="-86.2" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="43.2,-43.2 43.2,-74 436.94,-74 436.94,-43.2 43.2,-43.2"/>
<text text-anchor="start" x="50.2" y="-55.4" font-family="Arial" font-size="14.00">phone_number </text>
<text text-anchor="start" x="148.28" y="-55.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
</g>
<!-- public.wellpass_account&#45;&gt;public.user -->
<g id="edge1" class="edge">
<title>public.wellpass_account:owner_id&#45;&gt;public.user:id</title>
<path fill="none" stroke="black" d="M288.43,-896.12C246.92,-886.44 268.27,-814.26 299.6,-774 338.36,-724.2 398.13,-787.75 436.94,-738 462.7,-704.99 479.81,-643.8 437.94,-643.8"/>
<polygon fill="black" stroke="black" points="288.33,-896.1 297.79,-901.64 293.63,-896.67 297.94,-897.13 297.94,-897.13 297.94,-897.13 293.63,-896.67 298.75,-892.69 288.33,-896.1"/>
<text text-anchor="start" x="58.34" y="-907.2" font-family="Arial" font-size="10.00">FOREIGN KEY (owner_id) REFERENCES &quot;user&quot;(id)</text>
</g>
<!-- public.member -->
<g id="node3" class="node">
<title>public.member</title>
<polygon fill="#efefef" stroke="none" points="541.63,-459 541.63,-494.6 808.51,-494.6 808.51,-459 541.63,-459"/>
<polygon fill="none" stroke="black" points="541.63,-459 541.63,-494.6 808.51,-494.6 808.51,-459 541.63,-459"/>
<text text-anchor="start" x="558.59" y="-472.4" font-family="Arial Bold" font-size="18.00">public.member</text>
<text text-anchor="start" x="667.06" y="-472.4" font-family="Arial" font-size="14.00">    </text>
<text text-anchor="start" x="698.18" y="-472.4" font-family="Arial" font-size="14.00" fill="#666666">[BASE TABLE]</text>
<polygon fill="none" stroke="black" points="541.63,-428.2 541.63,-459 808.51,-459 808.51,-428.2 541.63,-428.2"/>
<text text-anchor="start" x="548.63" y="-440.4" font-family="Arial" font-size="14.00">id </text>
<text text-anchor="start" x="563.42" y="-440.4" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="541.63,-397.4 541.63,-428.2 808.51,-428.2 808.51,-397.4 541.63,-397.4"/>
<text text-anchor="start" x="548.63" y="-409.6" font-family="Arial" font-size="14.00">group_id </text>
<text text-anchor="start" x="607.01" y="-409.6" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="541.63,-366.6 541.63,-397.4 808.51,-397.4 808.51,-366.6 541.63,-366.6"/>
<text text-anchor="start" x="548.63" y="-378.8" font-family="Arial" font-size="14.00">user_id </text>
<text text-anchor="start" x="598.44" y="-378.8" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
<polygon fill="none" stroke="black" points="541.63,-335.8 541.63,-366.6 808.51,-366.6 808.51,-335.8 541.63,-335.8"/>
<text text-anchor="start" x="548.63" y="-348" font-family="Arial" font-size="14.00">created_at </text>
<text text-anchor="start" x="618.68" y="-348" font-family="Arial" font-size="14.00" fill="#666666">[timestamp(0) with time zone]</text>
<polygon fill="none" stroke="black" points="541.63,-305 541.63,-335.8 808.51,-335.8 808.51,-305 541.63,-305"/>
<text text-anchor="start" x="548.63" y="-317.2" font-family="Arial" font-size="14.00">email_address </text>
<text text-anchor="start" x="643.57" y="-317.2" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="541.63,-274.2 541.63,-305 808.51,-305 808.51,-274.2 541.63,-274.2"/>
<text text-anchor="start" x="548.63" y="-286.4" font-family="Arial" font-size="14.00">status </text>
<text text-anchor="start" x="589.87" y="-286.4" font-family="Arial" font-size="14.00" fill="#666666">[varchar(255)]</text>
<polygon fill="none" stroke="black" points="541.63,-243.4 541.63,-274.2 808.51,-274.2 808.51,-243.4 541.63,-243.4"/>
<text text-anchor="start" x="548.63" y="-255.6" font-family="Arial" font-size="14.00">added_by_id </text>
<text text-anchor="start" x="632.71" y="-255.6" font-family="Arial" font-size="14.00" fill="#666666">[uuid]</text>
</g>
<!-- public.wellpass_account&#45;&gt;public.member -->
<g id="edge2" class="edge">
<title>public.wellpass_account:user_group_member_id&#45;&gt;public.member:id</title>
<path fill="none" stroke="black" d="M625.7,-835.11C775.55,-819.69 366.89,-443.6 540.63,-443.6"/>
<polygon fill="black" stroke="black" points="625.86,-835.1 615.66,-831.09 620.54,-835.36 616.21,-835.57 616.21,-835.57 616.21,-835.57 620.54,-835.36 616.09,-840.08 625.86,-835.1"/>
<text text-anchor="start" x="622.54" y="-845.6" font-family="Arial" font-size="10.00">FOREIGN KEY (user_group_member_id) REFERENCES member(id)</text>
</g>
</g>
</svg>
