304 lines
33 KiB
XML
304 lines
33 KiB
XML
<?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 2.47.0 (20210316.0004)
|
|
-->
|
|
<!-- Title: dbml Pages: 1 -->
|
|
<svg width="2915pt" height="1800pt"
|
|
viewBox="0.00 0.00 2915.37 1800.49" 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 1796.49)">
|
|
<title>dbml</title>
|
|
<g id="clust1" class="cluster">
|
|
<title>cluster_merchants</title>
|
|
<polygon fill="#dddddd" stroke="#dddddd" points="479.13,-692.53 479.13,-1354.53 1777.06,-1354.53 1777.06,-692.53 479.13,-692.53"/>
|
|
<text text-anchor="middle" x="1128.1" y="-1321.73" font-family="Helvetica,sans-Serif" font-size="32.00" fill="#29235c">merchants</text>
|
|
</g>
|
|
<!-- products_status -->
|
|
<g id="products_status" class="node">
|
|
<title>products_status</title>
|
|
<ellipse fill="none" stroke="black" stroke-width="0" cx="1487.63" cy="-172.53" rx="265.74" ry="172.57"/>
|
|
<polygon fill="#29235c" stroke="transparent" points="1301.63,-232.53 1301.63,-292.53 1673.63,-292.53 1673.63,-232.53 1301.63,-232.53"/>
|
|
<polygon fill="none" stroke="#29235c" points="1301.63,-232.53 1301.63,-292.53 1673.63,-292.53 1673.63,-232.53 1301.63,-232.53"/>
|
|
<text text-anchor="start" x="1312.45" y="-253.73" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="32.00" fill="#ffffff">       products_status       </text>
|
|
<polygon fill="#e7e2dd" stroke="transparent" points="1301.63,-172.53 1301.63,-232.53 1673.63,-232.53 1673.63,-172.53 1301.63,-172.53"/>
|
|
<polygon fill="none" stroke="#29235c" points="1301.63,-172.53 1301.63,-232.53 1673.63,-232.53 1673.63,-172.53 1301.63,-172.53"/>
|
|
<text text-anchor="start" x="1361.35" y="-193.73" font-family="Helvetica,sans-Serif" font-style="italic" font-size="32.00" fill="#1d71b8">    out_of_stock    </text>
|
|
<polygon fill="#e7e2dd" stroke="transparent" points="1301.63,-112.53 1301.63,-172.53 1673.63,-172.53 1673.63,-112.53 1301.63,-112.53"/>
|
|
<polygon fill="none" stroke="#29235c" points="1301.63,-112.53 1301.63,-172.53 1673.63,-172.53 1673.63,-112.53 1301.63,-112.53"/>
|
|
<text text-anchor="start" x="1393.38" y="-133.73" font-family="Helvetica,sans-Serif" font-style="italic" font-size="32.00" fill="#1d71b8">    in_stock    </text>
|
|
<polygon fill="#e7e2dd" stroke="transparent" points="1301.63,-52.53 1301.63,-112.53 1673.63,-112.53 1673.63,-52.53 1301.63,-52.53"/>
|
|
<polygon fill="none" stroke="#29235c" points="1301.63,-52.53 1301.63,-112.53 1673.63,-112.53 1673.63,-52.53 1301.63,-52.53"/>
|
|
<text text-anchor="start" x="1365.82" y="-73.73" font-family="Helvetica,sans-Serif" font-style="italic" font-size="32.00" fill="#1d71b8">    running_low    </text>
|
|
<polygon fill="none" stroke="#29235c" stroke-width="2" points="1300.63,-51.53 1300.63,-293.53 1674.63,-293.53 1674.63,-51.53 1300.63,-51.53"/>
|
|
</g>
|
|
<!-- merchants -->
|
|
<g id="merchants" class="node">
|
|
<title>merchants</title>
|
|
<ellipse fill="none" stroke="black" stroke-width="0" cx="1487.63" cy="-1000.53" rx="281.36" ry="299.63"/>
|
|
<polygon fill="#1d71b8" stroke="transparent" points="1290.63,-1150.53 1290.63,-1210.53 1684.63,-1210.53 1684.63,-1150.53 1290.63,-1150.53"/>
|
|
<polygon fill="none" stroke="#29235c" points="1290.63,-1150.53 1290.63,-1210.53 1684.63,-1210.53 1684.63,-1150.53 1290.63,-1150.53"/>
|
|
<text text-anchor="start" x="1350.7" y="-1171.73" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="32.00" fill="#ffffff">       merchants       </text>
|
|
<polygon fill="#e7e2dd" stroke="transparent" points="1290.63,-1090.53 1290.63,-1150.53 1684.63,-1150.53 1684.63,-1090.53 1290.63,-1090.53"/>
|
|
<polygon fill="none" stroke="#29235c" points="1290.63,-1090.53 1290.63,-1150.53 1684.63,-1150.53 1684.63,-1090.53 1290.63,-1090.53"/>
|
|
<text text-anchor="start" x="1301.63" y="-1111.73" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="32.00" fill="#29235c">id</text>
|
|
<text text-anchor="start" x="1326.52" y="-1111.73" font-family="Helvetica,sans-Serif" font-size="32.00" fill="#29235c">    </text>
|
|
<text text-anchor="start" x="1639.85" y="-1111.73" font-family="Helvetica,sans-Serif" font-style="italic" font-size="32.00" fill="#29235c">int</text>
|
|
<polygon fill="#e7e2dd" stroke="transparent" points="1290.63,-1030.53 1290.63,-1090.53 1684.63,-1090.53 1684.63,-1030.53 1290.63,-1030.53"/>
|
|
<polygon fill="none" stroke="#29235c" points="1290.63,-1030.53 1290.63,-1090.53 1684.63,-1090.53 1684.63,-1030.53 1290.63,-1030.53"/>
|
|
<text text-anchor="start" x="1301.63" y="-1051.73" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="32.00" fill="#29235c">country_code</text>
|
|
<text text-anchor="start" x="1493.69" y="-1051.73" font-family="Helvetica,sans-Serif" font-size="32.00" fill="#29235c">    </text>
|
|
<text text-anchor="start" x="1639.85" y="-1051.73" font-family="Helvetica,sans-Serif" font-style="italic" font-size="32.00" fill="#29235c">int</text>
|
|
<polygon fill="#e7e2dd" stroke="transparent" points="1290.63,-970.53 1290.63,-1030.53 1684.63,-1030.53 1684.63,-970.53 1290.63,-970.53"/>
|
|
<polygon fill="none" stroke="#29235c" points="1290.63,-970.53 1290.63,-1030.53 1684.63,-1030.53 1684.63,-970.53 1290.63,-970.53"/>
|
|
<text text-anchor="start" x="1301.26" y="-990.73" font-family="Helvetica,sans-Serif" font-size="32.00" fill="#29235c">merchant_name    </text>
|
|
<text text-anchor="start" x="1567.29" y="-991.73" font-family="Helvetica,sans-Serif" font-style="italic" font-size="32.00" fill="#29235c">varchar</text>
|
|
<polygon fill="#e7e2dd" stroke="transparent" points="1290.63,-910.53 1290.63,-970.53 1684.63,-970.53 1684.63,-910.53 1290.63,-910.53"/>
|
|
<polygon fill="none" stroke="#29235c" points="1290.63,-910.53 1290.63,-970.53 1684.63,-970.53 1684.63,-910.53 1290.63,-910.53"/>
|
|
<text text-anchor="start" x="1301.63" y="-930.73" font-family="Helvetica,sans-Serif" font-size="32.00" fill="#29235c">created at    </text>
|
|
<text text-anchor="start" x="1566.96" y="-931.73" font-family="Helvetica,sans-Serif" font-style="italic" font-size="32.00" fill="#29235c">varchar</text>
|
|
<polygon fill="#e7e2dd" stroke="transparent" points="1290.63,-850.53 1290.63,-910.53 1684.63,-910.53 1684.63,-850.53 1290.63,-850.53"/>
|
|
<polygon fill="none" stroke="#29235c" points="1290.63,-850.53 1290.63,-910.53 1684.63,-910.53 1684.63,-850.53 1290.63,-850.53"/>
|
|
<text text-anchor="start" x="1301.63" y="-870.73" font-family="Helvetica,sans-Serif" font-size="32.00" fill="#29235c">admin_id    </text>
|
|
<text text-anchor="start" x="1639.85" y="-871.73" font-family="Helvetica,sans-Serif" font-style="italic" font-size="32.00" fill="#29235c">int</text>
|
|
<polygon fill="#e7e2dd" stroke="transparent" points="1290.63,-790.53 1290.63,-850.53 1684.63,-850.53 1684.63,-790.53 1290.63,-790.53"/>
|
|
<polygon fill="none" stroke="#29235c" points="1290.63,-790.53 1290.63,-850.53 1684.63,-850.53 1684.63,-790.53 1290.63,-790.53"/>
|
|
<text text-anchor="start" x="1334.69" y="-811.73" font-family="Helvetica,sans-Serif" font-style="italic" font-size="32.00" fill="#1d71b8">    id, country_code    </text>
|
|
<polygon fill="none" stroke="#29235c" stroke-width="2" points="1289.63,-789.53 1289.63,-1211.53 1685.63,-1211.53 1685.63,-789.53 1289.63,-789.53"/>
|
|
</g>
|
|
<!-- users -->
|
|
<g id="users" class="node">
|
|
<title>users</title>
|
|
<ellipse fill="none" stroke="black" stroke-width="0" cx="2058.91" cy="-998.53" rx="253.7" ry="214.92"/>
|
|
<polygon fill="#1d71b8" stroke="transparent" points="1881.91,-1088.53 1881.91,-1148.53 2236.91,-1148.53 2236.91,-1088.53 1881.91,-1088.53"/>
|
|
<polygon fill="none" stroke="#29235c" points="1881.91,-1088.53 1881.91,-1148.53 2236.91,-1148.53 2236.91,-1088.53 1881.91,-1088.53"/>
|
|
<text text-anchor="start" x="1958.04" y="-1109.73" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="32.00" fill="#ffffff">       users       </text>
|
|
<polygon fill="#e7e2dd" stroke="transparent" points="1881.91,-1028.53 1881.91,-1088.53 2236.91,-1088.53 2236.91,-1028.53 1881.91,-1028.53"/>
|
|
<polygon fill="none" stroke="#29235c" points="1881.91,-1028.53 1881.91,-1088.53 2236.91,-1088.53 2236.91,-1028.53 1881.91,-1028.53"/>
|
|
<text text-anchor="start" x="1892.91" y="-1049.73" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="32.00" fill="#29235c">id</text>
|
|
<text text-anchor="start" x="1917.8" y="-1049.73" font-family="Helvetica,sans-Serif" font-size="32.00" fill="#29235c">    </text>
|
|
<text text-anchor="start" x="2192.13" y="-1049.73" font-family="Helvetica,sans-Serif" font-style="italic" font-size="32.00" fill="#29235c">int</text>
|
|
<polygon fill="#e7e2dd" stroke="transparent" points="1881.91,-968.53 1881.91,-1028.53 2236.91,-1028.53 2236.91,-968.53 1881.91,-968.53"/>
|
|
<polygon fill="none" stroke="#29235c" points="1881.91,-968.53 1881.91,-1028.53 2236.91,-1028.53 2236.91,-968.53 1881.91,-968.53"/>
|
|
<text text-anchor="start" x="1892.91" y="-988.73" font-family="Helvetica,sans-Serif" font-size="32.00" fill="#29235c">full_name    </text>
|
|
<text text-anchor="start" x="2119.24" y="-989.73" font-family="Helvetica,sans-Serif" font-style="italic" font-size="32.00" fill="#29235c">varchar</text>
|
|
<polygon fill="#e7e2dd" stroke="transparent" points="1881.91,-908.53 1881.91,-968.53 2236.91,-968.53 2236.91,-908.53 1881.91,-908.53"/>
|
|
<polygon fill="none" stroke="#29235c" points="1881.91,-908.53 1881.91,-968.53 2236.91,-968.53 2236.91,-908.53 1881.91,-908.53"/>
|
|
<text text-anchor="start" x="1892.54" y="-928.73" font-family="Helvetica,sans-Serif" font-size="32.00" fill="#29235c">created_at    </text>
|
|
<text text-anchor="start" x="2078.63" y="-929.73" font-family="Helvetica,sans-Serif" font-style="italic" font-size="32.00" fill="#29235c">timestamp</text>
|
|
<polygon fill="#e7e2dd" stroke="transparent" points="1881.91,-848.53 1881.91,-908.53 2236.91,-908.53 2236.91,-848.53 1881.91,-848.53"/>
|
|
<polygon fill="none" stroke="#29235c" points="1881.91,-848.53 1881.91,-908.53 2236.91,-908.53 2236.91,-848.53 1881.91,-848.53"/>
|
|
<text text-anchor="start" x="1892.91" y="-868.73" font-family="Helvetica,sans-Serif" font-size="32.00" fill="#29235c">country_code    </text>
|
|
<text text-anchor="start" x="2192.13" y="-869.73" font-family="Helvetica,sans-Serif" font-style="italic" font-size="32.00" fill="#29235c">int</text>
|
|
<polygon fill="none" stroke="#29235c" stroke-width="2" points="1880.41,-847.53 1880.41,-1149.53 2237.41,-1149.53 2237.41,-847.53 1880.41,-847.53"/>
|
|
</g>
|
|
<!-- merchants->users -->
|
|
<!-- merchants->users -->
|
|
<g id="edge14" class="edge">
|
|
<title>merchants:e->users:w</title>
|
|
<path fill="none" stroke="#29235c" stroke-width="3" d="M1685.63,-880.53C1799.51,-880.53 1765.72,-1047.92 1870.67,-1058.05"/>
|
|
<polygon fill="#29235c" stroke="#29235c" stroke-width="3" points="1870.75,-1061.56 1880.91,-1058.53 1871.08,-1054.57 1870.75,-1061.56"/>
|
|
<text text-anchor="middle" x="1872.01" y="-1068.13" font-family="Helvetica,sans-Serif" font-size="32.00" fill="#29235c">1</text>
|
|
<text text-anchor="middle" x="1691.85" y="-890.13" font-family="Helvetica,sans-Serif" font-size="32.00" fill="#29235c">*</text>
|
|
</g>
|
|
<!-- countries -->
|
|
<g id="countries" class="node">
|
|
<title>countries</title>
|
|
<ellipse fill="none" stroke="black" stroke-width="0" cx="2628.07" cy="-1028.53" rx="279.11" ry="172.57"/>
|
|
<polygon fill="#1d71b8" stroke="transparent" points="2433.07,-1088.53 2433.07,-1148.53 2824.07,-1148.53 2824.07,-1088.53 2433.07,-1088.53"/>
|
|
<polygon fill="none" stroke="#29235c" points="2433.07,-1088.53 2433.07,-1148.53 2824.07,-1148.53 2824.07,-1088.53 2433.07,-1088.53"/>
|
|
<text text-anchor="start" x="2501.42" y="-1109.73" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="32.00" fill="#ffffff">       countries       </text>
|
|
<polygon fill="#e7e2dd" stroke="transparent" points="2433.07,-1028.53 2433.07,-1088.53 2824.07,-1088.53 2824.07,-1028.53 2433.07,-1028.53"/>
|
|
<polygon fill="none" stroke="#29235c" points="2433.07,-1028.53 2433.07,-1088.53 2824.07,-1088.53 2824.07,-1028.53 2433.07,-1028.53"/>
|
|
<text text-anchor="start" x="2444.07" y="-1049.73" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="32.00" fill="#29235c">code</text>
|
|
<text text-anchor="start" x="2513.43" y="-1049.73" font-family="Helvetica,sans-Serif" font-size="32.00" fill="#29235c">    </text>
|
|
<text text-anchor="start" x="2779.28" y="-1049.73" font-family="Helvetica,sans-Serif" font-style="italic" font-size="32.00" fill="#29235c">int</text>
|
|
<polygon fill="#e7e2dd" stroke="transparent" points="2433.07,-968.53 2433.07,-1028.53 2824.07,-1028.53 2824.07,-968.53 2433.07,-968.53"/>
|
|
<polygon fill="none" stroke="#29235c" points="2433.07,-968.53 2433.07,-1028.53 2824.07,-1028.53 2824.07,-968.53 2433.07,-968.53"/>
|
|
<text text-anchor="start" x="2444.07" y="-988.73" font-family="Helvetica,sans-Serif" font-size="32.00" fill="#29235c">name    </text>
|
|
<text text-anchor="start" x="2706.39" y="-989.73" font-family="Helvetica,sans-Serif" font-style="italic" font-size="32.00" fill="#29235c">varchar</text>
|
|
<polygon fill="#e7e2dd" stroke="transparent" points="2433.07,-908.53 2433.07,-968.53 2824.07,-968.53 2824.07,-908.53 2433.07,-908.53"/>
|
|
<polygon fill="none" stroke="#29235c" points="2433.07,-908.53 2433.07,-968.53 2824.07,-968.53 2824.07,-908.53 2433.07,-908.53"/>
|
|
<text text-anchor="start" x="2443.96" y="-928.73" font-family="Helvetica,sans-Serif" font-size="32.00" fill="#29235c">continent_name    </text>
|
|
<text text-anchor="start" x="2706.73" y="-929.73" font-family="Helvetica,sans-Serif" font-style="italic" font-size="32.00" fill="#29235c">varchar</text>
|
|
<polygon fill="none" stroke="#29235c" stroke-width="2" points="2431.57,-907.53 2431.57,-1149.53 2824.57,-1149.53 2824.57,-907.53 2431.57,-907.53"/>
|
|
</g>
|
|
<!-- merchants->countries -->
|
|
<!-- merchants->countries -->
|
|
<g id="edge4" class="edge">
|
|
<title>merchants:e->countries:w</title>
|
|
<path fill="none" stroke="#29235c" stroke-width="3" d="M1685.63,-1060.53C1823.38,-1060.53 1690.41,-850.9 1805.06,-774.53 1992.85,-649.44 2124.83,-649.64 2312.76,-774.53 2423.78,-848.31 2301.93,-1047.65 2421.79,-1058.11"/>
|
|
<polygon fill="#29235c" stroke="#29235c" stroke-width="3" points="2421.93,-1061.61 2432.07,-1058.53 2422.22,-1054.62 2421.93,-1061.61"/>
|
|
<text text-anchor="middle" x="2423.17" y="-1068.13" font-family="Helvetica,sans-Serif" font-size="32.00" fill="#29235c">1</text>
|
|
<text text-anchor="middle" x="1691.85" y="-1070.13" font-family="Helvetica,sans-Serif" font-size="32.00" fill="#29235c">*</text>
|
|
</g>
|
|
<!-- merchant_periods -->
|
|
<g id="merchant_periods" class="node">
|
|
<title>merchant_periods</title>
|
|
<ellipse fill="none" stroke="black" stroke-width="0" cx="828.67" cy="-1000.53" rx="341.57" ry="299.63"/>
|
|
<polygon fill="#1d71b8" stroke="transparent" points="589.67,-1150.53 589.67,-1210.53 1068.67,-1210.53 1068.67,-1150.53 589.67,-1150.53"/>
|
|
<polygon fill="none" stroke="#29235c" points="589.67,-1150.53 589.67,-1210.53 1068.67,-1210.53 1068.67,-1150.53 589.67,-1150.53"/>
|
|
<text text-anchor="start" x="638.89" y="-1171.73" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="32.00" fill="#ffffff">       merchant_periods       </text>
|
|
<polygon fill="#e7e2dd" stroke="transparent" points="589.67,-1090.53 589.67,-1150.53 1068.67,-1150.53 1068.67,-1090.53 589.67,-1090.53"/>
|
|
<polygon fill="none" stroke="#29235c" points="589.67,-1090.53 589.67,-1150.53 1068.67,-1150.53 1068.67,-1090.53 589.67,-1090.53"/>
|
|
<text text-anchor="start" x="600.67" y="-1111.73" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="32.00" fill="#29235c">id</text>
|
|
<text text-anchor="start" x="625.56" y="-1111.73" font-family="Helvetica,sans-Serif" font-size="32.00" fill="#29235c">    </text>
|
|
<text text-anchor="start" x="1023.88" y="-1111.73" font-family="Helvetica,sans-Serif" font-style="italic" font-size="32.00" fill="#29235c">int</text>
|
|
<polygon fill="#e7e2dd" stroke="transparent" points="589.67,-1030.53 589.67,-1090.53 1068.67,-1090.53 1068.67,-1030.53 589.67,-1030.53"/>
|
|
<polygon fill="none" stroke="#29235c" points="589.67,-1030.53 589.67,-1090.53 1068.67,-1090.53 1068.67,-1030.53 589.67,-1030.53"/>
|
|
<text text-anchor="start" x="600.67" y="-1050.73" font-family="Helvetica,sans-Serif" font-size="32.00" fill="#29235c">merchant_id    </text>
|
|
<text text-anchor="start" x="1023.88" y="-1051.73" font-family="Helvetica,sans-Serif" font-style="italic" font-size="32.00" fill="#29235c">int</text>
|
|
<polygon fill="#e7e2dd" stroke="transparent" points="589.67,-970.53 589.67,-1030.53 1068.67,-1030.53 1068.67,-970.53 589.67,-970.53"/>
|
|
<polygon fill="none" stroke="#29235c" points="589.67,-970.53 589.67,-1030.53 1068.67,-1030.53 1068.67,-970.53 589.67,-970.53"/>
|
|
<text text-anchor="start" x="600.67" y="-990.73" font-family="Helvetica,sans-Serif" font-size="32.00" fill="#29235c">country_code    </text>
|
|
<text text-anchor="start" x="1023.88" y="-991.73" font-family="Helvetica,sans-Serif" font-style="italic" font-size="32.00" fill="#29235c">int</text>
|
|
<polygon fill="#e7e2dd" stroke="transparent" points="589.67,-910.53 589.67,-970.53 1068.67,-970.53 1068.67,-910.53 589.67,-910.53"/>
|
|
<polygon fill="none" stroke="#29235c" points="589.67,-910.53 589.67,-970.53 1068.67,-970.53 1068.67,-910.53 589.67,-910.53"/>
|
|
<text text-anchor="start" x="600.67" y="-930.73" font-family="Helvetica,sans-Serif" font-size="32.00" fill="#29235c">start_date    </text>
|
|
<text text-anchor="start" x="934.97" y="-931.73" font-family="Helvetica,sans-Serif" font-style="italic" font-size="32.00" fill="#29235c">datetime</text>
|
|
<polygon fill="#e7e2dd" stroke="transparent" points="589.67,-850.53 589.67,-910.53 1068.67,-910.53 1068.67,-850.53 589.67,-850.53"/>
|
|
<polygon fill="none" stroke="#29235c" points="589.67,-850.53 589.67,-910.53 1068.67,-910.53 1068.67,-850.53 589.67,-850.53"/>
|
|
<text text-anchor="start" x="600.67" y="-870.73" font-family="Helvetica,sans-Serif" font-size="32.00" fill="#29235c">end_date    </text>
|
|
<text text-anchor="start" x="934.97" y="-871.73" font-family="Helvetica,sans-Serif" font-style="italic" font-size="32.00" fill="#29235c">datetime</text>
|
|
<polygon fill="#e7e2dd" stroke="transparent" points="589.67,-790.53 589.67,-850.53 1068.67,-850.53 1068.67,-790.53 589.67,-790.53"/>
|
|
<polygon fill="none" stroke="#29235c" points="589.67,-790.53 589.67,-850.53 1068.67,-850.53 1068.67,-790.53 589.67,-790.53"/>
|
|
<text text-anchor="start" x="600.65" y="-811.73" font-family="Helvetica,sans-Serif" font-style="italic" font-size="32.00" fill="#1d71b8">    merchant_id, country_code    </text>
|
|
<polygon fill="none" stroke="#29235c" stroke-width="2" points="588.17,-789.53 588.17,-1211.53 1069.17,-1211.53 1069.17,-789.53 588.17,-789.53"/>
|
|
</g>
|
|
<!-- merchant_periods->merchants -->
|
|
<!-- merchant_periods->merchants -->
|
|
<g id="edge10" class="edge">
|
|
<title>merchant_periods:e->merchants:w</title>
|
|
<path fill="none" stroke="#29235c" stroke-width="3" d="M1069.67,-820.53C1163.99,-820.53 1190.06,-820.53 1279.58,-820.53"/>
|
|
<polygon fill="#29235c" stroke="#29235c" stroke-width="3" points="1279.63,-824.03 1289.63,-820.53 1279.63,-817.03 1279.63,-824.03"/>
|
|
<text text-anchor="middle" x="1280.73" y="-830.13" font-family="Helvetica,sans-Serif" font-size="32.00" fill="#29235c">1</text>
|
|
<text text-anchor="middle" x="1075.89" y="-830.13" font-family="Helvetica,sans-Serif" font-size="32.00" fill="#29235c">*</text>
|
|
</g>
|
|
<!-- users->countries -->
|
|
<!-- users->countries -->
|
|
<g id="edge2" class="edge">
|
|
<title>users:e->countries:w</title>
|
|
<path fill="none" stroke="#29235c" stroke-width="3" d="M2237.91,-878.53C2352.02,-878.53 2316.74,-1047.8 2421.81,-1058.05"/>
|
|
<polygon fill="#29235c" stroke="#29235c" stroke-width="3" points="2421.91,-1061.56 2432.07,-1058.53 2422.24,-1054.57 2421.91,-1061.56"/>
|
|
<text text-anchor="middle" x="2440.96" y="-1068.13" font-family="Helvetica,sans-Serif" font-size="32.00" fill="#29235c">1</text>
|
|
<text text-anchor="middle" x="2231.69" y="-888.13" font-family="Helvetica,sans-Serif" font-size="32.00" fill="#29235c">*</text>
|
|
</g>
|
|
<!-- order_items -->
|
|
<g id="order_items" class="node">
|
|
<title>order_items</title>
|
|
<ellipse fill="none" stroke="black" stroke-width="0" cx="225.57" cy="-1069.53" rx="225.63" ry="172.57"/>
|
|
<polygon fill="#1d71b8" stroke="transparent" points="68.57,-1129.53 68.57,-1189.53 383.57,-1189.53 383.57,-1129.53 68.57,-1129.53"/>
|
|
<polygon fill="none" stroke="#29235c" points="68.57,-1129.53 68.57,-1189.53 383.57,-1189.53 383.57,-1129.53 68.57,-1129.53"/>
|
|
<text text-anchor="start" x="79.37" y="-1150.73" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="32.00" fill="#ffffff">       order_items       </text>
|
|
<polygon fill="#e7e2dd" stroke="transparent" points="68.57,-1069.53 68.57,-1129.53 383.57,-1129.53 383.57,-1069.53 68.57,-1069.53"/>
|
|
<polygon fill="none" stroke="#29235c" points="68.57,-1069.53 68.57,-1129.53 383.57,-1129.53 383.57,-1069.53 68.57,-1069.53"/>
|
|
<text text-anchor="start" x="79.57" y="-1089.73" font-family="Helvetica,sans-Serif" font-size="32.00" fill="#29235c">order_id    </text>
|
|
<text text-anchor="start" x="338.78" y="-1090.73" font-family="Helvetica,sans-Serif" font-style="italic" font-size="32.00" fill="#29235c">int</text>
|
|
<polygon fill="#e7e2dd" stroke="transparent" points="68.57,-1009.53 68.57,-1069.53 383.57,-1069.53 383.57,-1009.53 68.57,-1009.53"/>
|
|
<polygon fill="none" stroke="#29235c" points="68.57,-1009.53 68.57,-1069.53 383.57,-1069.53 383.57,-1009.53 68.57,-1009.53"/>
|
|
<text text-anchor="start" x="79.57" y="-1029.73" font-family="Helvetica,sans-Serif" font-size="32.00" fill="#29235c">product_id    </text>
|
|
<text text-anchor="start" x="338.78" y="-1030.73" font-family="Helvetica,sans-Serif" font-style="italic" font-size="32.00" fill="#29235c">int</text>
|
|
<polygon fill="#e7e2dd" stroke="transparent" points="68.57,-949.53 68.57,-1009.53 383.57,-1009.53 383.57,-949.53 68.57,-949.53"/>
|
|
<polygon fill="none" stroke="#29235c" points="68.57,-949.53 68.57,-1009.53 383.57,-1009.53 383.57,-949.53 68.57,-949.53"/>
|
|
<text text-anchor="start" x="79.57" y="-969.73" font-family="Helvetica,sans-Serif" font-size="32.00" fill="#29235c">quantity    </text>
|
|
<text text-anchor="start" x="338.78" y="-970.73" font-family="Helvetica,sans-Serif" font-style="italic" font-size="32.00" fill="#29235c">int</text>
|
|
<polygon fill="none" stroke="#29235c" stroke-width="2" points="67.07,-948.53 67.07,-1190.53 384.07,-1190.53 384.07,-948.53 67.07,-948.53"/>
|
|
</g>
|
|
<!-- orders -->
|
|
<g id="orders" class="node">
|
|
<title>orders</title>
|
|
<ellipse fill="none" stroke="black" stroke-width="0" cx="828.67" cy="-1577.53" rx="224.72" ry="214.92"/>
|
|
<polygon fill="#1d71b8" stroke="transparent" points="671.67,-1667.53 671.67,-1727.53 985.67,-1727.53 985.67,-1667.53 671.67,-1667.53"/>
|
|
<polygon fill="none" stroke="#29235c" points="671.67,-1667.53 671.67,-1727.53 985.67,-1727.53 985.67,-1667.53 671.67,-1667.53"/>
|
|
<text text-anchor="start" x="721.08" y="-1688.73" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="32.00" fill="#ffffff">       orders       </text>
|
|
<polygon fill="#e7e2dd" stroke="transparent" points="671.67,-1607.53 671.67,-1667.53 985.67,-1667.53 985.67,-1607.53 671.67,-1607.53"/>
|
|
<polygon fill="none" stroke="#29235c" points="671.67,-1607.53 671.67,-1667.53 985.67,-1667.53 985.67,-1607.53 671.67,-1607.53"/>
|
|
<text text-anchor="start" x="682.67" y="-1628.73" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="32.00" fill="#29235c">id</text>
|
|
<text text-anchor="start" x="707.56" y="-1628.73" font-family="Helvetica,sans-Serif" font-size="32.00" fill="#29235c">    </text>
|
|
<text text-anchor="start" x="940.88" y="-1628.73" font-family="Helvetica,sans-Serif" font-style="italic" font-size="32.00" fill="#29235c">int</text>
|
|
<polygon fill="#e7e2dd" stroke="transparent" points="671.67,-1547.53 671.67,-1607.53 985.67,-1607.53 985.67,-1547.53 671.67,-1547.53"/>
|
|
<polygon fill="none" stroke="#29235c" points="671.67,-1547.53 671.67,-1607.53 985.67,-1607.53 985.67,-1547.53 671.67,-1547.53"/>
|
|
<text text-anchor="start" x="682.67" y="-1567.73" font-family="Helvetica,sans-Serif" font-size="32.00" fill="#29235c">user_id    </text>
|
|
<text text-anchor="start" x="901.79" y="-1568.73" font-family="Helvetica,sans-Serif" font-style="italic" font-size="32.00" fill="#29235c">int</text>
|
|
<text text-anchor="start" x="935.58" y="-1568.73" font-family="Helvetica,sans-Serif" font-size="32.00" fill="#29235c"> </text>
|
|
<text text-anchor="start" x="944.47" y="-1568.73" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="32.00" fill="#29235c">(!)</text>
|
|
<polygon fill="#e7e2dd" stroke="transparent" points="671.67,-1487.53 671.67,-1547.53 985.67,-1547.53 985.67,-1487.53 671.67,-1487.53"/>
|
|
<polygon fill="none" stroke="#29235c" points="671.67,-1487.53 671.67,-1547.53 985.67,-1547.53 985.67,-1487.53 671.67,-1487.53"/>
|
|
<text text-anchor="start" x="682.67" y="-1507.73" font-family="Helvetica,sans-Serif" font-size="32.00" fill="#29235c">status    </text>
|
|
<text text-anchor="start" x="867.99" y="-1508.73" font-family="Helvetica,sans-Serif" font-style="italic" font-size="32.00" fill="#29235c">varchar</text>
|
|
<polygon fill="#e7e2dd" stroke="transparent" points="671.67,-1427.53 671.67,-1487.53 985.67,-1487.53 985.67,-1427.53 671.67,-1427.53"/>
|
|
<polygon fill="none" stroke="#29235c" points="671.67,-1427.53 671.67,-1487.53 985.67,-1487.53 985.67,-1427.53 671.67,-1427.53"/>
|
|
<text text-anchor="start" x="682.3" y="-1447.73" font-family="Helvetica,sans-Serif" font-size="32.00" fill="#29235c">created_at    </text>
|
|
<text text-anchor="start" x="868.33" y="-1448.73" font-family="Helvetica,sans-Serif" font-style="italic" font-size="32.00" fill="#29235c">varchar</text>
|
|
<polygon fill="none" stroke="#29235c" stroke-width="2" points="670.67,-1426.53 670.67,-1728.53 986.67,-1728.53 986.67,-1426.53 670.67,-1426.53"/>
|
|
</g>
|
|
<!-- order_items->orders -->
|
|
<!-- order_items->orders -->
|
|
<g id="edge12" class="edge">
|
|
<title>order_items:e->orders:w</title>
|
|
<path fill="none" stroke="#29235c" stroke-width="3" d="M384.57,-1099.53C507.11,-1099.53 423,-1249.6 479.13,-1358.53 546.42,-1489.1 521.51,-1630.73 660.38,-1637.3"/>
|
|
<polygon fill="#29235c" stroke="#29235c" stroke-width="3" points="660.59,-1640.8 670.67,-1637.53 660.75,-1633.8 660.59,-1640.8"/>
|
|
<text text-anchor="middle" x="661.77" y="-1647.13" font-family="Helvetica,sans-Serif" font-size="32.00" fill="#29235c">1</text>
|
|
<text text-anchor="middle" x="390.79" y="-1109.13" font-family="Helvetica,sans-Serif" font-size="32.00" fill="#29235c">*</text>
|
|
</g>
|
|
<!-- products -->
|
|
<g id="products" class="node">
|
|
<title>products</title>
|
|
<ellipse fill="none" stroke="black" stroke-width="0" cx="828.67" cy="-382.53" rx="262.17" ry="299.63"/>
|
|
<polygon fill="#1d71b8" stroke="transparent" points="645.67,-532.53 645.67,-592.53 1012.67,-592.53 1012.67,-532.53 645.67,-532.53"/>
|
|
<polygon fill="none" stroke="#29235c" points="645.67,-532.53 645.67,-592.53 1012.67,-592.53 1012.67,-532.53 645.67,-532.53"/>
|
|
<text text-anchor="start" x="705.57" y="-553.73" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="32.00" fill="#ffffff">       products       </text>
|
|
<polygon fill="#e7e2dd" stroke="transparent" points="645.67,-472.53 645.67,-532.53 1012.67,-532.53 1012.67,-472.53 645.67,-472.53"/>
|
|
<polygon fill="none" stroke="#29235c" points="645.67,-472.53 645.67,-532.53 1012.67,-532.53 1012.67,-472.53 645.67,-472.53"/>
|
|
<text text-anchor="start" x="656.67" y="-493.73" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="32.00" fill="#29235c">id</text>
|
|
<text text-anchor="start" x="681.56" y="-493.73" font-family="Helvetica,sans-Serif" font-size="32.00" fill="#29235c">    </text>
|
|
<text text-anchor="start" x="967.88" y="-493.73" font-family="Helvetica,sans-Serif" font-style="italic" font-size="32.00" fill="#29235c">int</text>
|
|
<polygon fill="#e7e2dd" stroke="transparent" points="645.67,-412.53 645.67,-472.53 1012.67,-472.53 1012.67,-412.53 645.67,-412.53"/>
|
|
<polygon fill="none" stroke="#29235c" points="645.67,-412.53 645.67,-472.53 1012.67,-472.53 1012.67,-412.53 645.67,-412.53"/>
|
|
<text text-anchor="start" x="656.67" y="-432.73" font-family="Helvetica,sans-Serif" font-size="32.00" fill="#29235c">name    </text>
|
|
<text text-anchor="start" x="894.99" y="-433.73" font-family="Helvetica,sans-Serif" font-style="italic" font-size="32.00" fill="#29235c">varchar</text>
|
|
<polygon fill="#e7e2dd" stroke="transparent" points="645.67,-352.53 645.67,-412.53 1012.67,-412.53 1012.67,-352.53 645.67,-352.53"/>
|
|
<polygon fill="none" stroke="#29235c" points="645.67,-352.53 645.67,-412.53 1012.67,-412.53 1012.67,-352.53 645.67,-352.53"/>
|
|
<text text-anchor="start" x="656.67" y="-372.73" font-family="Helvetica,sans-Serif" font-size="32.00" fill="#29235c">merchant_id    </text>
|
|
<text text-anchor="start" x="928.79" y="-373.73" font-family="Helvetica,sans-Serif" font-style="italic" font-size="32.00" fill="#29235c">int</text>
|
|
<text text-anchor="start" x="962.58" y="-373.73" font-family="Helvetica,sans-Serif" font-size="32.00" fill="#29235c"> </text>
|
|
<text text-anchor="start" x="971.47" y="-373.73" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="32.00" fill="#29235c">(!)</text>
|
|
<polygon fill="#e7e2dd" stroke="transparent" points="645.67,-292.53 645.67,-352.53 1012.67,-352.53 1012.67,-292.53 645.67,-292.53"/>
|
|
<polygon fill="none" stroke="#29235c" points="645.67,-292.53 645.67,-352.53 1012.67,-352.53 1012.67,-292.53 645.67,-292.53"/>
|
|
<text text-anchor="start" x="656.67" y="-312.73" font-family="Helvetica,sans-Serif" font-size="32.00" fill="#29235c">price    </text>
|
|
<text text-anchor="start" x="967.88" y="-313.73" font-family="Helvetica,sans-Serif" font-style="italic" font-size="32.00" fill="#29235c">int</text>
|
|
<polygon fill="#e7e2dd" stroke="transparent" points="645.67,-232.53 645.67,-292.53 1012.67,-292.53 1012.67,-232.53 645.67,-232.53"/>
|
|
<polygon fill="none" stroke="#29235c" points="645.67,-232.53 645.67,-292.53 1012.67,-292.53 1012.67,-232.53 645.67,-232.53"/>
|
|
<text text-anchor="start" x="656.2" y="-252.73" font-family="Helvetica,sans-Serif" font-size="32.00" fill="#29235c">status    </text>
|
|
<text text-anchor="start" x="776.24" y="-253.73" font-family="Helvetica,sans-Serif" font-style="italic" font-size="32.00" fill="#29235c">products_status</text>
|
|
<polygon fill="#e7e2dd" stroke="transparent" points="645.67,-172.53 645.67,-232.53 1012.67,-232.53 1012.67,-172.53 645.67,-172.53"/>
|
|
<polygon fill="none" stroke="#29235c" points="645.67,-172.53 645.67,-232.53 1012.67,-232.53 1012.67,-172.53 645.67,-172.53"/>
|
|
<text text-anchor="start" x="656.67" y="-192.73" font-family="Helvetica,sans-Serif" font-size="32.00" fill="#29235c">created_at    </text>
|
|
<text text-anchor="start" x="878.97" y="-193.73" font-family="Helvetica,sans-Serif" font-style="italic" font-size="32.00" fill="#29235c">datetime</text>
|
|
<polygon fill="none" stroke="#29235c" stroke-width="2" points="644.17,-171.53 644.17,-593.53 1013.17,-593.53 1013.17,-171.53 644.17,-171.53"/>
|
|
</g>
|
|
<!-- order_items->products -->
|
|
<!-- order_items->products -->
|
|
<g id="edge6" class="edge">
|
|
<title>order_items:e->products:w</title>
|
|
<path fill="none" stroke="#29235c" stroke-width="3" d="M384.57,-1039.53C546.13,-1039.53 402.36,-830.69 479.13,-688.53 530.08,-594.21 533.81,-508.08 634.6,-502.79"/>
|
|
<polygon fill="#29235c" stroke="#29235c" stroke-width="3" points="634.76,-506.29 644.67,-502.53 634.58,-499.29 634.76,-506.29"/>
|
|
<text text-anchor="middle" x="635.77" y="-473.73" font-family="Helvetica,sans-Serif" font-size="32.00" fill="#29235c">1</text>
|
|
<text text-anchor="middle" x="390.79" y="-1049.13" font-family="Helvetica,sans-Serif" font-size="32.00" fill="#29235c">*</text>
|
|
</g>
|
|
<!-- products->products_status -->
|
|
<g id="edge15" class="edge">
|
|
<title>products:e->products_status:w</title>
|
|
<path fill="none" stroke="#29235c" stroke-width="3" d="M1013.67,-262.53C1141.2,-262.53 1173.09,-262.53 1300.63,-262.53"/>
|
|
</g>
|
|
<!-- products->merchants -->
|
|
<!-- products->merchants -->
|
|
<g id="edge8" class="edge">
|
|
<title>products:e->merchants:w</title>
|
|
<path fill="none" stroke="#29235c" stroke-width="3" d="M1013.67,-382.53C1166.43,-382.53 1114.78,-546.18 1170.2,-688.53 1241.2,-870.9 1095.7,-1111.89 1279.45,-1120.31"/>
|
|
<polygon fill="#29235c" stroke="#29235c" stroke-width="3" points="1279.55,-1123.81 1289.63,-1120.53 1279.71,-1116.81 1279.55,-1123.81"/>
|
|
<text text-anchor="middle" x="1280.73" y="-1130.13" font-family="Helvetica,sans-Serif" font-size="32.00" fill="#29235c">1</text>
|
|
<text text-anchor="middle" x="1019.89" y="-353.73" font-family="Helvetica,sans-Serif" font-size="32.00" fill="#29235c">*</text>
|
|
</g>
|
|
</g>
|
|
</svg>
|