exclude ActiveStorage from erd
This commit is contained in:
@@ -9,3 +9,6 @@ exclude:
|
||||
- ActiveRecord::SchemaMigration
|
||||
- primary::SchemaMigration
|
||||
- Audited::Audit
|
||||
- ActiveStorage::Attachment
|
||||
- ActiveStorage::Blob
|
||||
- ActiveStorage::VariantRecord
|
||||
|
||||
235
erd.svg
235
erd.svg
@@ -4,195 +4,118 @@
|
||||
<!-- Generated by graphviz version 2.48.0 (0)
|
||||
-->
|
||||
<!-- Title: XStake Pages: 1 -->
|
||||
<svg width="612pt" height="611pt"
|
||||
viewBox="0.00 0.00 611.60 610.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(28.8 581.8)">
|
||||
<svg width="400pt" height="415pt"
|
||||
viewBox="0.00 0.00 399.60 414.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(28.8 385.8)">
|
||||
<title>XStake</title>
|
||||
<polygon fill="white" stroke="transparent" points="-28.8,28.8 -28.8,-581.8 582.8,-581.8 582.8,28.8 -28.8,28.8"/>
|
||||
<text text-anchor="middle" x="277" y="-538.6" font-family="Arial Bold" font-size="13.00">XStake domain model</text>
|
||||
<!-- m_ActiveStorage::Attachment -->
|
||||
<g id="node1" class="node">
|
||||
<title>m_ActiveStorage::Attachment</title>
|
||||
<path fill="none" stroke="black" d="M413,-271C413,-271 542,-271 542,-271 548,-271 554,-277 554,-283 554,-283 554,-341 554,-341 554,-347 548,-353 542,-353 542,-353 413,-353 413,-353 407,-353 401,-347 401,-341 401,-341 401,-283 401,-283 401,-277 407,-271 413,-271"/>
|
||||
<text text-anchor="start" x="406.5" y="-340.2" font-family="Arial Bold" font-size="11.00">ActiveStorage::Attachment</text>
|
||||
<polyline fill="none" stroke="black" points="401,-333 554,-333 "/>
|
||||
<text text-anchor="start" x="412.5" y="-320" font-family="Arial" font-size="10.00">blob_id </text>
|
||||
<text text-anchor="start" x="446.5" y="-320" font-family="Arial Italic" font-size="10.00" fill="#999999">integer (8) ∗ FK</text>
|
||||
<text text-anchor="start" x="412.5" y="-307" font-family="Arial" font-size="10.00">name </text>
|
||||
<text text-anchor="start" x="440.5" y="-307" font-family="Arial Italic" font-size="10.00" fill="#999999">string ∗</text>
|
||||
<text text-anchor="start" x="412.5" y="-294" font-family="Arial" font-size="10.00">record_id </text>
|
||||
<text text-anchor="start" x="455.5" y="-294" font-family="Arial Italic" font-size="10.00" fill="#999999">integer (8) ∗ FK</text>
|
||||
<text text-anchor="start" x="412.5" y="-281" font-family="Arial" font-size="10.00">record_type </text>
|
||||
<text text-anchor="start" x="467.5" y="-281" font-family="Arial Italic" font-size="10.00" fill="#999999">string ∗</text>
|
||||
</g>
|
||||
<!-- m_ActiveStorage::Blob -->
|
||||
<g id="node2" class="node">
|
||||
<title>m_ActiveStorage::Blob</title>
|
||||
<path fill="none" stroke="black" d="M21,-251.5C21,-251.5 141,-251.5 141,-251.5 147,-251.5 153,-257.5 153,-263.5 153,-263.5 153,-360.5 153,-360.5 153,-366.5 147,-372.5 141,-372.5 141,-372.5 21,-372.5 21,-372.5 15,-372.5 9,-366.5 9,-360.5 9,-360.5 9,-263.5 9,-263.5 9,-257.5 15,-251.5 21,-251.5"/>
|
||||
<text text-anchor="start" x="25.5" y="-359.7" font-family="Arial Bold" font-size="11.00">ActiveStorage::Blob</text>
|
||||
<polyline fill="none" stroke="black" points="9,-352.5 153,-352.5 "/>
|
||||
<text text-anchor="start" x="16" y="-339" font-family="Arial" font-size="10.00">byte_size </text>
|
||||
<text text-anchor="start" x="62" y="-339" font-family="Arial Italic" font-size="10.00" fill="#999999">integer (8) ∗</text>
|
||||
<text text-anchor="start" x="16" y="-326" font-family="Arial" font-size="10.00">checksum </text>
|
||||
<text text-anchor="start" x="65" y="-326" font-family="Arial Italic" font-size="10.00" fill="#999999">string ∗</text>
|
||||
<text text-anchor="start" x="16" y="-313" font-family="Arial" font-size="10.00">content_type </text>
|
||||
<text text-anchor="start" x="76" y="-313" font-family="Arial Italic" font-size="10.00" fill="#999999">string</text>
|
||||
<text text-anchor="start" x="16" y="-300" font-family="Arial" font-size="10.00">filename </text>
|
||||
<text text-anchor="start" x="56" y="-300" font-family="Arial Italic" font-size="10.00" fill="#999999">string ∗</text>
|
||||
<text text-anchor="start" x="16" y="-287" font-family="Arial" font-size="10.00">key </text>
|
||||
<text text-anchor="start" x="35" y="-287" font-family="Arial Italic" font-size="10.00" fill="#999999">string ∗</text>
|
||||
<text text-anchor="start" x="16" y="-274" font-family="Arial" font-size="10.00">metadata </text>
|
||||
<text text-anchor="start" x="60" y="-274" font-family="Arial Italic" font-size="10.00" fill="#999999">text</text>
|
||||
<text text-anchor="start" x="16" y="-261" font-family="Arial" font-size="10.00">service_name </text>
|
||||
<text text-anchor="start" x="80" y="-261" font-family="Arial Italic" font-size="10.00" fill="#999999">string ∗</text>
|
||||
</g>
|
||||
<!-- m_ActiveStorage::Blob->m_ActiveStorage::Attachment -->
|
||||
<g id="edge4" class="edge">
|
||||
<title>m_ActiveStorage::Blob->m_ActiveStorage::Attachment</title>
|
||||
<path fill="none" stroke="black" d="M153.29,-342.91C167.82,-347.93 183.2,-352.35 198,-355 271.06,-368.1 292.03,-368.58 365,-355 376.83,-352.8 389.02,-349.39 400.81,-345.43"/>
|
||||
</g>
|
||||
<!-- m_ActiveStorage::Blob->m_ActiveStorage::Blob -->
|
||||
<g id="edge10" class="edge">
|
||||
<title>m_ActiveStorage::Blob->m_ActiveStorage::Blob</title>
|
||||
<path fill="none" stroke="black" stroke-dasharray="1,5" d="M43.73,-372.57C45.53,-389.25 57.95,-402 81,-402 104.05,-402 116.47,-389.25 118.27,-372.57"/>
|
||||
</g>
|
||||
<!-- m_ActiveStorage::VariantRecord -->
|
||||
<g id="node3" class="node">
|
||||
<title>m_ActiveStorage::VariantRecord</title>
|
||||
<path fill="none" stroke="black" d="M210,-284C210,-284 353,-284 353,-284 359,-284 365,-290 365,-296 365,-296 365,-328 365,-328 365,-334 359,-340 353,-340 353,-340 210,-340 210,-340 204,-340 198,-334 198,-328 198,-328 198,-296 198,-296 198,-290 204,-284 210,-284"/>
|
||||
<text text-anchor="start" x="203.5" y="-327.2" font-family="Arial Bold" font-size="11.00">ActiveStorage::VariantRecord</text>
|
||||
<polyline fill="none" stroke="black" points="198,-320 365,-320 "/>
|
||||
<text text-anchor="start" x="216.5" y="-307" font-family="Arial" font-size="10.00">blob_id </text>
|
||||
<text text-anchor="start" x="250.5" y="-307" font-family="Arial Italic" font-size="10.00" fill="#999999">integer (8) ∗ FK</text>
|
||||
<text text-anchor="start" x="216.5" y="-294" font-family="Arial" font-size="10.00">variation_digest </text>
|
||||
<text text-anchor="start" x="288.5" y="-294" font-family="Arial Italic" font-size="10.00" fill="#999999">string ∗</text>
|
||||
</g>
|
||||
<!-- m_ActiveStorage::Blob->m_ActiveStorage::VariantRecord -->
|
||||
<g id="edge9" class="edge">
|
||||
<title>m_ActiveStorage::Blob->m_ActiveStorage::VariantRecord</title>
|
||||
<path fill="none" stroke="black" d="M153.1,-312C164.63,-312 176.7,-312 188.64,-312"/>
|
||||
<polygon fill="black" stroke="black" points="188.72,-315.15 197.72,-312 188.72,-308.85 188.72,-315.15"/>
|
||||
</g>
|
||||
<!-- m_ActiveStorage::VariantRecord->m_ActiveStorage::Attachment -->
|
||||
<g id="edge5" class="edge">
|
||||
<title>m_ActiveStorage::VariantRecord->m_ActiveStorage::Attachment</title>
|
||||
<path fill="none" stroke="black" d="M365.05,-312C376.91,-312 389.07,-312 400.79,-312"/>
|
||||
</g>
|
||||
<polygon fill="white" stroke="transparent" points="-28.8,28.8 -28.8,-385.8 370.8,-385.8 370.8,28.8 -28.8,28.8"/>
|
||||
<text text-anchor="middle" x="171" y="-342.6" font-family="Arial Bold" font-size="13.00">XStake domain model</text>
|
||||
<!-- m_AdminUser -->
|
||||
<g id="node4" class="node">
|
||||
<g id="node1" class="node">
|
||||
<title>m_AdminUser</title>
|
||||
<path fill="none" stroke="black" d="M12,-420.5C12,-420.5 150,-420.5 150,-420.5 156,-420.5 162,-426.5 162,-432.5 162,-432.5 162,-503.5 162,-503.5 162,-509.5 156,-515.5 150,-515.5 150,-515.5 12,-515.5 12,-515.5 6,-515.5 0,-509.5 0,-503.5 0,-503.5 0,-432.5 0,-432.5 0,-426.5 6,-420.5 12,-420.5"/>
|
||||
<text text-anchor="start" x="49" y="-502.7" font-family="Arial Bold" font-size="11.00">AdminUser</text>
|
||||
<polyline fill="none" stroke="black" points="0,-495.5 162,-495.5 "/>
|
||||
<text text-anchor="start" x="7" y="-482" font-family="Arial" font-size="10.00">email </text>
|
||||
<text text-anchor="start" x="34" y="-482" font-family="Arial Italic" font-size="10.00" fill="#999999">string ∗ U</text>
|
||||
<text text-anchor="start" x="7" y="-469" font-family="Arial" font-size="10.00">encrypted_password </text>
|
||||
<text text-anchor="start" x="101" y="-469" font-family="Arial Italic" font-size="10.00" fill="#999999">string ∗</text>
|
||||
<text text-anchor="start" x="7" y="-456" font-family="Arial" font-size="10.00">remember_created_at </text>
|
||||
<text text-anchor="start" x="105" y="-456" font-family="Arial Italic" font-size="10.00" fill="#999999">datetime</text>
|
||||
<text text-anchor="start" x="7" y="-443" font-family="Arial" font-size="10.00">reset_password_sent_at </text>
|
||||
<text text-anchor="start" x="117" y="-443" font-family="Arial Italic" font-size="10.00" fill="#999999">datetime</text>
|
||||
<text text-anchor="start" x="7" y="-430" font-family="Arial" font-size="10.00">reset_password_token </text>
|
||||
<text text-anchor="start" x="109" y="-430" font-family="Arial Italic" font-size="10.00" fill="#999999">string</text>
|
||||
<path fill="none" stroke="black" d="M12,-0.5C12,-0.5 150,-0.5 150,-0.5 156,-0.5 162,-6.5 162,-12.5 162,-12.5 162,-83.5 162,-83.5 162,-89.5 156,-95.5 150,-95.5 150,-95.5 12,-95.5 12,-95.5 6,-95.5 0,-89.5 0,-83.5 0,-83.5 0,-12.5 0,-12.5 0,-6.5 6,-0.5 12,-0.5"/>
|
||||
<text text-anchor="start" x="49" y="-82.7" font-family="Arial Bold" font-size="11.00">AdminUser</text>
|
||||
<polyline fill="none" stroke="black" points="0,-75.5 162,-75.5 "/>
|
||||
<text text-anchor="start" x="7" y="-62" font-family="Arial" font-size="10.00">email </text>
|
||||
<text text-anchor="start" x="34" y="-62" font-family="Arial Italic" font-size="10.00" fill="#999999">string ∗ U</text>
|
||||
<text text-anchor="start" x="7" y="-49" font-family="Arial" font-size="10.00">encrypted_password </text>
|
||||
<text text-anchor="start" x="101" y="-49" font-family="Arial Italic" font-size="10.00" fill="#999999">string ∗</text>
|
||||
<text text-anchor="start" x="7" y="-36" font-family="Arial" font-size="10.00">remember_created_at </text>
|
||||
<text text-anchor="start" x="105" y="-36" font-family="Arial Italic" font-size="10.00" fill="#999999">datetime</text>
|
||||
<text text-anchor="start" x="7" y="-23" font-family="Arial" font-size="10.00">reset_password_sent_at </text>
|
||||
<text text-anchor="start" x="117" y="-23" font-family="Arial Italic" font-size="10.00" fill="#999999">datetime</text>
|
||||
<text text-anchor="start" x="7" y="-10" font-family="Arial" font-size="10.00">reset_password_token </text>
|
||||
<text text-anchor="start" x="109" y="-10" font-family="Arial Italic" font-size="10.00" fill="#999999">string</text>
|
||||
</g>
|
||||
<!-- m_Balance -->
|
||||
<g id="node5" class="node">
|
||||
<g id="node2" class="node">
|
||||
<title>m_Balance</title>
|
||||
<path fill="none" stroke="black" d="M221.5,-0.5C221.5,-0.5 341.5,-0.5 341.5,-0.5 347.5,-0.5 353.5,-6.5 353.5,-12.5 353.5,-12.5 353.5,-57.5 353.5,-57.5 353.5,-63.5 347.5,-69.5 341.5,-69.5 341.5,-69.5 221.5,-69.5 221.5,-69.5 215.5,-69.5 209.5,-63.5 209.5,-57.5 209.5,-57.5 209.5,-12.5 209.5,-12.5 209.5,-6.5 215.5,-0.5 221.5,-0.5"/>
|
||||
<text text-anchor="start" x="258" y="-56.7" font-family="Arial Bold" font-size="11.00">Balance</text>
|
||||
<polyline fill="none" stroke="black" points="209.5,-49.5 353.5,-49.5 "/>
|
||||
<text text-anchor="start" x="216.5" y="-36" font-family="Arial" font-size="10.00">amount </text>
|
||||
<text text-anchor="start" x="252.5" y="-36" font-family="Arial Italic" font-size="10.00" fill="#999999">decimal (20,10) ∗</text>
|
||||
<text text-anchor="start" x="216.5" y="-23" font-family="Arial" font-size="10.00">currency_id </text>
|
||||
<text text-anchor="start" x="270.5" y="-23" font-family="Arial Italic" font-size="10.00" fill="#999999">integer (8) ∗ FK</text>
|
||||
<text text-anchor="start" x="216.5" y="-10" font-family="Arial" font-size="10.00">user_id </text>
|
||||
<text text-anchor="start" x="251.5" y="-10" font-family="Arial Italic" font-size="10.00" fill="#999999">integer (8) ∗ FK</text>
|
||||
<path fill="none" stroke="black" d="M210,-250.5C210,-250.5 330,-250.5 330,-250.5 336,-250.5 342,-256.5 342,-262.5 342,-262.5 342,-307.5 342,-307.5 342,-313.5 336,-319.5 330,-319.5 330,-319.5 210,-319.5 210,-319.5 204,-319.5 198,-313.5 198,-307.5 198,-307.5 198,-262.5 198,-262.5 198,-256.5 204,-250.5 210,-250.5"/>
|
||||
<text text-anchor="start" x="246.5" y="-306.7" font-family="Arial Bold" font-size="11.00">Balance</text>
|
||||
<polyline fill="none" stroke="black" points="198,-299.5 342,-299.5 "/>
|
||||
<text text-anchor="start" x="205" y="-286" font-family="Arial" font-size="10.00">amount </text>
|
||||
<text text-anchor="start" x="241" y="-286" font-family="Arial Italic" font-size="10.00" fill="#999999">decimal (20,10) ∗</text>
|
||||
<text text-anchor="start" x="205" y="-273" font-family="Arial" font-size="10.00">currency_id </text>
|
||||
<text text-anchor="start" x="259" y="-273" font-family="Arial Italic" font-size="10.00" fill="#999999">integer (8) ∗ FK</text>
|
||||
<text text-anchor="start" x="205" y="-260" font-family="Arial" font-size="10.00">user_id </text>
|
||||
<text text-anchor="start" x="240" y="-260" font-family="Arial Italic" font-size="10.00" fill="#999999">integer (8) ∗ FK</text>
|
||||
</g>
|
||||
<!-- m_Currency -->
|
||||
<g id="node6" class="node">
|
||||
<g id="node3" class="node">
|
||||
<title>m_Currency</title>
|
||||
<path fill="none" stroke="black" d="M21,-0.5C21,-0.5 141,-0.5 141,-0.5 147,-0.5 153,-6.5 153,-12.5 153,-12.5 153,-31.5 153,-31.5 153,-37.5 147,-43.5 141,-43.5 141,-43.5 21,-43.5 21,-43.5 15,-43.5 9,-37.5 9,-31.5 9,-31.5 9,-12.5 9,-12.5 9,-6.5 15,-0.5 21,-0.5"/>
|
||||
<text text-anchor="start" x="54.5" y="-30.7" font-family="Arial Bold" font-size="11.00">Currency</text>
|
||||
<polyline fill="none" stroke="black" points="9,-23.5 153,-23.5 "/>
|
||||
<text text-anchor="start" x="16" y="-10" font-family="Arial" font-size="10.00">name </text>
|
||||
<text text-anchor="start" x="44" y="-10" font-family="Arial Italic" font-size="10.00" fill="#999999">string ∗</text>
|
||||
<path fill="none" stroke="black" d="M21,-276.5C21,-276.5 141,-276.5 141,-276.5 147,-276.5 153,-282.5 153,-288.5 153,-288.5 153,-307.5 153,-307.5 153,-313.5 147,-319.5 141,-319.5 141,-319.5 21,-319.5 21,-319.5 15,-319.5 9,-313.5 9,-307.5 9,-307.5 9,-288.5 9,-288.5 9,-282.5 15,-276.5 21,-276.5"/>
|
||||
<text text-anchor="start" x="54.5" y="-306.7" font-family="Arial Bold" font-size="11.00">Currency</text>
|
||||
<polyline fill="none" stroke="black" points="9,-299.5 153,-299.5 "/>
|
||||
<text text-anchor="start" x="16" y="-286" font-family="Arial" font-size="10.00">name </text>
|
||||
<text text-anchor="start" x="44" y="-286" font-family="Arial Italic" font-size="10.00" fill="#999999">string ∗</text>
|
||||
</g>
|
||||
<!-- m_Currency->m_Balance -->
|
||||
<g id="edge8" class="edge">
|
||||
<g id="edge4" class="edge">
|
||||
<title>m_Currency->m_Balance</title>
|
||||
<path fill="none" stroke="black" d="M153.1,-26.66C168.35,-27.66 184.57,-28.72 200.14,-29.74"/>
|
||||
<polygon fill="black" stroke="black" points="200.04,-32.89 209.23,-30.33 200.45,-26.6 200.04,-32.89"/>
|
||||
<path fill="none" stroke="black" d="M153.23,-293.05C164.91,-292.24 177.08,-291.39 188.96,-290.56"/>
|
||||
<polygon fill="black" stroke="black" points="189.21,-293.7 197.97,-289.94 188.77,-287.42 189.21,-293.7"/>
|
||||
</g>
|
||||
<!-- m_FiatBalance -->
|
||||
<g id="node7" class="node">
|
||||
<g id="node4" class="node">
|
||||
<title>m_FiatBalance</title>
|
||||
<path fill="none" stroke="black" d="M221.5,-99.5C221.5,-99.5 341.5,-99.5 341.5,-99.5 347.5,-99.5 353.5,-105.5 353.5,-111.5 353.5,-111.5 353.5,-156.5 353.5,-156.5 353.5,-162.5 347.5,-168.5 341.5,-168.5 341.5,-168.5 221.5,-168.5 221.5,-168.5 215.5,-168.5 209.5,-162.5 209.5,-156.5 209.5,-156.5 209.5,-111.5 209.5,-111.5 209.5,-105.5 215.5,-99.5 221.5,-99.5"/>
|
||||
<text text-anchor="start" x="248.5" y="-155.7" font-family="Arial Bold" font-size="11.00">FiatBalance</text>
|
||||
<polyline fill="none" stroke="black" points="209.5,-148.5 353.5,-148.5 "/>
|
||||
<text text-anchor="start" x="216.5" y="-135" font-family="Arial" font-size="10.00">amount_cents </text>
|
||||
<text text-anchor="start" x="281.5" y="-135" font-family="Arial Italic" font-size="10.00" fill="#999999">integer ∗</text>
|
||||
<text text-anchor="start" x="216.5" y="-122" font-family="Arial" font-size="10.00">amount_currency </text>
|
||||
<text text-anchor="start" x="295.5" y="-122" font-family="Arial Italic" font-size="10.00" fill="#999999">string ∗</text>
|
||||
<text text-anchor="start" x="216.5" y="-109" font-family="Arial" font-size="10.00">user_id </text>
|
||||
<text text-anchor="start" x="251.5" y="-109" font-family="Arial Italic" font-size="10.00" fill="#999999">integer (8) ∗ FK</text>
|
||||
<path fill="none" stroke="black" d="M210,-151.5C210,-151.5 330,-151.5 330,-151.5 336,-151.5 342,-157.5 342,-163.5 342,-163.5 342,-208.5 342,-208.5 342,-214.5 336,-220.5 330,-220.5 330,-220.5 210,-220.5 210,-220.5 204,-220.5 198,-214.5 198,-208.5 198,-208.5 198,-163.5 198,-163.5 198,-157.5 204,-151.5 210,-151.5"/>
|
||||
<text text-anchor="start" x="237" y="-207.7" font-family="Arial Bold" font-size="11.00">FiatBalance</text>
|
||||
<polyline fill="none" stroke="black" points="198,-200.5 342,-200.5 "/>
|
||||
<text text-anchor="start" x="205" y="-187" font-family="Arial" font-size="10.00">amount_cents </text>
|
||||
<text text-anchor="start" x="270" y="-187" font-family="Arial Italic" font-size="10.00" fill="#999999">integer ∗</text>
|
||||
<text text-anchor="start" x="205" y="-174" font-family="Arial" font-size="10.00">amount_currency </text>
|
||||
<text text-anchor="start" x="284" y="-174" font-family="Arial Italic" font-size="10.00" fill="#999999">string ∗</text>
|
||||
<text text-anchor="start" x="205" y="-161" font-family="Arial" font-size="10.00">user_id </text>
|
||||
<text text-anchor="start" x="240" y="-161" font-family="Arial Italic" font-size="10.00" fill="#999999">integer (8) ∗ FK</text>
|
||||
</g>
|
||||
<!-- m_User -->
|
||||
<g id="node8" class="node">
|
||||
<g id="node5" class="node">
|
||||
<title>m_User</title>
|
||||
<path fill="none" stroke="black" d="M12,-73.5C12,-73.5 150,-73.5 150,-73.5 156,-73.5 162,-79.5 162,-85.5 162,-85.5 162,-182.5 162,-182.5 162,-188.5 156,-194.5 150,-194.5 150,-194.5 12,-194.5 12,-194.5 6,-194.5 0,-188.5 0,-182.5 0,-182.5 0,-85.5 0,-85.5 0,-79.5 6,-73.5 12,-73.5"/>
|
||||
<text text-anchor="start" x="66.5" y="-181.7" font-family="Arial Bold" font-size="11.00">User</text>
|
||||
<polyline fill="none" stroke="black" points="0,-174.5 162,-174.5 "/>
|
||||
<text text-anchor="start" x="7" y="-161" font-family="Arial" font-size="10.00">email </text>
|
||||
<text text-anchor="start" x="34" y="-161" font-family="Arial Italic" font-size="10.00" fill="#999999">string ∗ U</text>
|
||||
<text text-anchor="start" x="7" y="-148" font-family="Arial" font-size="10.00">encrypted_password </text>
|
||||
<text text-anchor="start" x="101" y="-148" font-family="Arial Italic" font-size="10.00" fill="#999999">string ∗</text>
|
||||
<text text-anchor="start" x="7" y="-135" font-family="Arial" font-size="10.00">first_name </text>
|
||||
<text text-anchor="start" x="56" y="-135" font-family="Arial Italic" font-size="10.00" fill="#999999">string ∗</text>
|
||||
<text text-anchor="start" x="7" y="-122" font-family="Arial" font-size="10.00">last_name </text>
|
||||
<text text-anchor="start" x="56" y="-122" font-family="Arial Italic" font-size="10.00" fill="#999999">string ∗</text>
|
||||
<text text-anchor="start" x="7" y="-109" font-family="Arial" font-size="10.00">remember_created_at </text>
|
||||
<text text-anchor="start" x="105" y="-109" font-family="Arial Italic" font-size="10.00" fill="#999999">datetime</text>
|
||||
<text text-anchor="start" x="7" y="-96" font-family="Arial" font-size="10.00">reset_password_sent_at </text>
|
||||
<text text-anchor="start" x="117" y="-96" font-family="Arial Italic" font-size="10.00" fill="#999999">datetime</text>
|
||||
<text text-anchor="start" x="7" y="-83" font-family="Arial" font-size="10.00">reset_password_token </text>
|
||||
<text text-anchor="start" x="109" y="-83" font-family="Arial Italic" font-size="10.00" fill="#999999">string</text>
|
||||
<path fill="none" stroke="black" d="M12,-125.5C12,-125.5 150,-125.5 150,-125.5 156,-125.5 162,-131.5 162,-137.5 162,-137.5 162,-234.5 162,-234.5 162,-240.5 156,-246.5 150,-246.5 150,-246.5 12,-246.5 12,-246.5 6,-246.5 0,-240.5 0,-234.5 0,-234.5 0,-137.5 0,-137.5 0,-131.5 6,-125.5 12,-125.5"/>
|
||||
<text text-anchor="start" x="66.5" y="-233.7" font-family="Arial Bold" font-size="11.00">User</text>
|
||||
<polyline fill="none" stroke="black" points="0,-226.5 162,-226.5 "/>
|
||||
<text text-anchor="start" x="7" y="-213" font-family="Arial" font-size="10.00">email </text>
|
||||
<text text-anchor="start" x="34" y="-213" font-family="Arial Italic" font-size="10.00" fill="#999999">string ∗ U</text>
|
||||
<text text-anchor="start" x="7" y="-200" font-family="Arial" font-size="10.00">encrypted_password </text>
|
||||
<text text-anchor="start" x="101" y="-200" font-family="Arial Italic" font-size="10.00" fill="#999999">string ∗</text>
|
||||
<text text-anchor="start" x="7" y="-187" font-family="Arial" font-size="10.00">first_name </text>
|
||||
<text text-anchor="start" x="56" y="-187" font-family="Arial Italic" font-size="10.00" fill="#999999">string ∗</text>
|
||||
<text text-anchor="start" x="7" y="-174" font-family="Arial" font-size="10.00">last_name </text>
|
||||
<text text-anchor="start" x="56" y="-174" font-family="Arial Italic" font-size="10.00" fill="#999999">string ∗</text>
|
||||
<text text-anchor="start" x="7" y="-161" font-family="Arial" font-size="10.00">remember_created_at </text>
|
||||
<text text-anchor="start" x="105" y="-161" font-family="Arial Italic" font-size="10.00" fill="#999999">datetime</text>
|
||||
<text text-anchor="start" x="7" y="-148" font-family="Arial" font-size="10.00">reset_password_sent_at </text>
|
||||
<text text-anchor="start" x="117" y="-148" font-family="Arial Italic" font-size="10.00" fill="#999999">datetime</text>
|
||||
<text text-anchor="start" x="7" y="-135" font-family="Arial" font-size="10.00">reset_password_token </text>
|
||||
<text text-anchor="start" x="109" y="-135" font-family="Arial Italic" font-size="10.00" fill="#999999">string</text>
|
||||
</g>
|
||||
<!-- m_User->m_Balance -->
|
||||
<g id="edge2" class="edge">
|
||||
<title>m_User->m_Balance</title>
|
||||
<path fill="none" stroke="black" d="M162.17,-94.02C178.41,-85.91 195.37,-77.46 211.2,-69.56"/>
|
||||
<path fill="none" stroke="black" d="M162.12,-228.42C173.29,-234.33 184.71,-240.38 195.75,-246.22"/>
|
||||
<polygon fill="black" stroke="black" points="194.27,-249 203.7,-250.43 197.22,-243.44 194.27,-249"/>
|
||||
</g>
|
||||
<!-- m_User->m_FiatBalance -->
|
||||
<g id="edge3" class="edge">
|
||||
<title>m_User->m_FiatBalance</title>
|
||||
<path fill="none" stroke="black" d="M162.17,-134C177.77,-134 194.02,-134 209.31,-134"/>
|
||||
<path fill="none" stroke="black" d="M162.12,-186C174.01,-186 186.21,-186 197.9,-186"/>
|
||||
</g>
|
||||
<!-- m_UserDocument -->
|
||||
<g id="node9" class="node">
|
||||
<g id="node6" class="node">
|
||||
<title>m_UserDocument</title>
|
||||
<path fill="none" stroke="black" d="M221.5,-198C221.5,-198 341.5,-198 341.5,-198 347.5,-198 353.5,-204 353.5,-210 353.5,-210 353.5,-242 353.5,-242 353.5,-248 347.5,-254 341.5,-254 341.5,-254 221.5,-254 221.5,-254 215.5,-254 209.5,-248 209.5,-242 209.5,-242 209.5,-210 209.5,-210 209.5,-204 215.5,-198 221.5,-198"/>
|
||||
<text text-anchor="start" x="240" y="-241.2" font-family="Arial Bold" font-size="11.00">UserDocument</text>
|
||||
<polyline fill="none" stroke="black" points="209.5,-234 353.5,-234 "/>
|
||||
<text text-anchor="start" x="216.5" y="-221" font-family="Arial" font-size="10.00">status </text>
|
||||
<text text-anchor="start" x="247.5" y="-221" font-family="Arial Italic" font-size="10.00" fill="#999999">string ∗</text>
|
||||
<text text-anchor="start" x="216.5" y="-208" font-family="Arial" font-size="10.00">user_id </text>
|
||||
<text text-anchor="start" x="251.5" y="-208" font-family="Arial Italic" font-size="10.00" fill="#999999">integer (8) ∗ FK</text>
|
||||
<path fill="none" stroke="black" d="M210,-66C210,-66 330,-66 330,-66 336,-66 342,-72 342,-78 342,-78 342,-110 342,-110 342,-116 336,-122 330,-122 330,-122 210,-122 210,-122 204,-122 198,-116 198,-110 198,-110 198,-78 198,-78 198,-72 204,-66 210,-66"/>
|
||||
<text text-anchor="start" x="228.5" y="-109.2" font-family="Arial Bold" font-size="11.00">UserDocument</text>
|
||||
<polyline fill="none" stroke="black" points="198,-102 342,-102 "/>
|
||||
<text text-anchor="start" x="205" y="-89" font-family="Arial" font-size="10.00">status </text>
|
||||
<text text-anchor="start" x="236" y="-89" font-family="Arial Italic" font-size="10.00" fill="#999999">string ∗</text>
|
||||
<text text-anchor="start" x="205" y="-76" font-family="Arial" font-size="10.00">user_id </text>
|
||||
<text text-anchor="start" x="240" y="-76" font-family="Arial Italic" font-size="10.00" fill="#999999">integer (8) ∗ FK</text>
|
||||
</g>
|
||||
<!-- m_User->m_UserDocument -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>m_User->m_UserDocument</title>
|
||||
<path fill="none" stroke="black" d="M162.17,-171.15C178.57,-178.76 195.69,-186.69 211.65,-194.09"/>
|
||||
<polygon fill="black" stroke="black" points="210.39,-196.98 219.88,-197.91 213.04,-191.26 210.39,-196.98"/>
|
||||
</g>
|
||||
<!-- m_UserDocument->m_ActiveStorage::Attachment -->
|
||||
<g id="edge6" class="edge">
|
||||
<title>m_UserDocument->m_ActiveStorage::Attachment</title>
|
||||
<path fill="none" stroke="black" d="M345.75,-254.04C363.34,-261.83 382.61,-270.38 400.82,-278.45"/>
|
||||
</g>
|
||||
<!-- m_UserDocument->m_ActiveStorage::Blob -->
|
||||
<g id="edge7" class="edge">
|
||||
<title>m_UserDocument->m_ActiveStorage::Blob</title>
|
||||
<path fill="none" stroke="black" stroke-dasharray="1,5" d="M215.84,-254.01C195.78,-262.7 173.57,-272.33 153.1,-281.19"/>
|
||||
<path fill="none" stroke="black" d="M162.12,-146.58C175.99,-139.76 190.27,-132.73 203.69,-126.13"/>
|
||||
<polygon fill="black" stroke="black" points="205.24,-128.88 211.92,-122.08 202.46,-123.23 205.24,-128.88"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 9.6 KiB |
Reference in New Issue
Block a user