Remove unused database tables

#756
This commit is contained in:
Artur Beljajev 2018-03-06 20:14:48 +02:00
parent 970cd7225c
commit ed0af5033e
19 changed files with 63 additions and 626 deletions

View file

@ -170,50 +170,6 @@
<ellipse fill="none" stroke="#ca4159" cx="1303.92" cy="-269.31" rx="4" ry="4"/>
<polygon fill="#ca4159" stroke="#ca4159" points="1668.38,-21.9528 1678.55,-26.0458 1673.37,-21.7511 1678.37,-21.5494 1678.37,-21.5494 1678.37,-21.5494 1673.37,-21.7511 1678.19,-17.0531 1668.38,-21.9528 1668.38,-21.9528"/>
</g>
<!-- DomainStatusVersion -->
<g id="node7" class="node"><title>DomainStatusVersion</title>
<path fill="none" stroke="black" d="M2133.5,-273.5C2133.5,-273.5 2246.5,-273.5 2246.5,-273.5 2252.5,-273.5 2258.5,-279.5 2258.5,-285.5 2258.5,-285.5 2258.5,-442.5 2258.5,-442.5 2258.5,-448.5 2252.5,-454.5 2246.5,-454.5 2246.5,-454.5 2133.5,-454.5 2133.5,-454.5 2127.5,-454.5 2121.5,-448.5 2121.5,-442.5 2121.5,-442.5 2121.5,-285.5 2121.5,-285.5 2121.5,-279.5 2127.5,-273.5 2133.5,-273.5"/>
<text text-anchor="middle" x="2190" y="-439.3" font-family="Times,serif" font-size="14.00">DomainStatusVersion</text>
<polyline fill="none" stroke="black" points="2121.5,-431.5 2258.5,-431.5 "/>
<text text-anchor="start" x="2129.5" y="-416.3" font-family="Times,serif" font-size="14.00">id :integer</text>
<text text-anchor="start" x="2129.5" y="-401.3" font-family="Times,serif" font-size="14.00">item_type :string</text>
<text text-anchor="start" x="2129.5" y="-386.3" font-family="Times,serif" font-size="14.00">item_id :integer</text>
<text text-anchor="start" x="2129.5" y="-371.3" font-family="Times,serif" font-size="14.00">event :string</text>
<text text-anchor="start" x="2129.5" y="-356.3" font-family="Times,serif" font-size="14.00">whodunnit :string</text>
<text text-anchor="start" x="2129.5" y="-341.3" font-family="Times,serif" font-size="14.00">object :json</text>
<text text-anchor="start" x="2129.5" y="-326.3" font-family="Times,serif" font-size="14.00">object_changes :json</text>
<text text-anchor="start" x="2129.5" y="-311.3" font-family="Times,serif" font-size="14.00">created_at :datetime</text>
<text text-anchor="start" x="2129.5" y="-296.3" font-family="Times,serif" font-size="14.00">session :string</text>
<text text-anchor="start" x="2129.5" y="-281.3" font-family="Times,serif" font-size="14.00">children :json</text>
</g>
<!-- DomainStatusVersion&#45;&gt;VersionAssociation -->
<g id="edge5" class="edge"><title>DomainStatusVersion&#45;&gt;VersionAssociation</title>
<path fill="none" stroke="#32384d" d="M2166.85,-265.638C2146.39,-201.12 2109.89,-119.994 2048,-73 2016.1,-48.7746 1915.11,-34.0274 1841.03,-26.1991"/>
<ellipse fill="none" stroke="#32384d" cx="2168.08" cy="-269.6" rx="4.00001" ry="4.00001"/>
<polygon fill="#32384d" stroke="#32384d" points="1840.71,-26.1664 1831.22,-20.6639 1835.74,-25.6532 1830.76,-25.1401 1830.76,-25.1401 1830.76,-25.1401 1835.74,-25.6532 1830.3,-29.6164 1840.71,-26.1664 1840.71,-26.1664"/>
</g>
<!-- ContactStatusVersion -->
<g id="node8" class="node"><title>ContactStatusVersion</title>
<path fill="none" stroke="black" d="M2518,-73.5C2518,-73.5 2628,-73.5 2628,-73.5 2634,-73.5 2640,-79.5 2640,-85.5 2640,-85.5 2640,-242.5 2640,-242.5 2640,-248.5 2634,-254.5 2628,-254.5 2628,-254.5 2518,-254.5 2518,-254.5 2512,-254.5 2506,-248.5 2506,-242.5 2506,-242.5 2506,-85.5 2506,-85.5 2506,-79.5 2512,-73.5 2518,-73.5"/>
<text text-anchor="middle" x="2573" y="-239.3" font-family="Times,serif" font-size="14.00">ContactStatusVersion</text>
<polyline fill="none" stroke="black" points="2506,-231.5 2640,-231.5 "/>
<text text-anchor="start" x="2514" y="-216.3" font-family="Times,serif" font-size="14.00">id :integer</text>
<text text-anchor="start" x="2514" y="-201.3" font-family="Times,serif" font-size="14.00">item_type :string</text>
<text text-anchor="start" x="2514" y="-186.3" font-family="Times,serif" font-size="14.00">item_id :integer</text>
<text text-anchor="start" x="2514" y="-171.3" font-family="Times,serif" font-size="14.00">event :string</text>
<text text-anchor="start" x="2514" y="-156.3" font-family="Times,serif" font-size="14.00">whodunnit :string</text>
<text text-anchor="start" x="2514" y="-141.3" font-family="Times,serif" font-size="14.00">object :json</text>
<text text-anchor="start" x="2514" y="-126.3" font-family="Times,serif" font-size="14.00">object_changes :json</text>
<text text-anchor="start" x="2514" y="-111.3" font-family="Times,serif" font-size="14.00">created_at :datetime</text>
<text text-anchor="start" x="2514" y="-96.3" font-family="Times,serif" font-size="14.00">session :string</text>
<text text-anchor="start" x="2514" y="-81.3" font-family="Times,serif" font-size="14.00">children :json</text>
</g>
<!-- ContactStatusVersion&#45;&gt;VersionAssociation -->
<g id="edge6" class="edge"><title>ContactStatusVersion&#45;&gt;VersionAssociation</title>
<path fill="none" stroke="#f74e61" d="M2511.93,-67.8212C2505.75,-62.4959 2499.1,-57.7839 2492,-54 2436.47,-24.4057 2031.05,-19.6332 1847.21,-19.0048"/>
<ellipse fill="none" stroke="#f74e61" cx="2515.02" cy="-70.6401" rx="4.00002" ry="4.00002"/>
<polygon fill="#f74e61" stroke="#f74e61" points="1847.02,-19.0044 1837.04,-14.4735 1842.02,-18.9889 1837.02,-18.9735 1837.02,-18.9735 1837.02,-18.9735 1842.02,-18.9889 1837.01,-23.4735 1847.02,-19.0044 1847.02,-19.0044"/>
</g>
<!-- UserVersion&#45;&gt;VersionAssociation -->
<g id="edge7" class="edge"><title>UserVersion&#45;&gt;VersionAssociation</title>
<path fill="none" stroke="#625c68" d="M936.508,-1172.61C943.887,-1101.26 953.553,-1002.22 960,-915 963.531,-867.232 971.034,-87.7726 1005,-54 1028.13,-30.9991 1472.68,-22.5857 1667.18,-19.997"/>
@ -468,28 +424,6 @@
<ellipse fill="none" stroke="#19ba78" cx="2999.97" cy="-500.986" rx="4.00002" ry="4.00002"/>
<polygon fill="#19ba78" stroke="#19ba78" points="1846.61,-19.8234 1836.68,-15.1884 1841.62,-19.7557 1836.62,-19.688 1836.62,-19.688 1836.62,-19.688 1841.62,-19.7557 1836.55,-24.1876 1846.61,-19.8234 1846.61,-19.8234"/>
</g>
<!-- CountryVersion -->
<g id="node24" class="node"><title>CountryVersion</title>
<path fill="none" stroke="black" d="M3454,-73.5C3454,-73.5 3560,-73.5 3560,-73.5 3566,-73.5 3572,-79.5 3572,-85.5 3572,-85.5 3572,-242.5 3572,-242.5 3572,-248.5 3566,-254.5 3560,-254.5 3560,-254.5 3454,-254.5 3454,-254.5 3448,-254.5 3442,-248.5 3442,-242.5 3442,-242.5 3442,-85.5 3442,-85.5 3442,-79.5 3448,-73.5 3454,-73.5"/>
<text text-anchor="middle" x="3507" y="-239.3" font-family="Times,serif" font-size="14.00">CountryVersion</text>
<polyline fill="none" stroke="black" points="3442,-231.5 3572,-231.5 "/>
<text text-anchor="start" x="3450" y="-216.3" font-family="Times,serif" font-size="14.00">id :integer</text>
<text text-anchor="start" x="3450" y="-201.3" font-family="Times,serif" font-size="14.00">item_type :string</text>
<text text-anchor="start" x="3450" y="-186.3" font-family="Times,serif" font-size="14.00">item_id :integer</text>
<text text-anchor="start" x="3450" y="-171.3" font-family="Times,serif" font-size="14.00">event :string</text>
<text text-anchor="start" x="3450" y="-156.3" font-family="Times,serif" font-size="14.00">whodunnit :string</text>
<text text-anchor="start" x="3450" y="-141.3" font-family="Times,serif" font-size="14.00">object :json</text>
<text text-anchor="start" x="3450" y="-126.3" font-family="Times,serif" font-size="14.00">object_changes :json</text>
<text text-anchor="start" x="3450" y="-111.3" font-family="Times,serif" font-size="14.00">created_at :datetime</text>
<text text-anchor="start" x="3450" y="-96.3" font-family="Times,serif" font-size="14.00">session :string</text>
<text text-anchor="start" x="3450" y="-81.3" font-family="Times,serif" font-size="14.00">children :json</text>
</g>
<!-- CountryVersion&#45;&gt;VersionAssociation -->
<g id="edge22" class="edge"><title>CountryVersion&#45;&gt;VersionAssociation</title>
<path fill="none" stroke="#766dfb" d="M3435.01,-74.0295C3434.34,-73.6773 3433.67,-73.334 3433,-73 3230.95,27.1176 3151.36,-61.5964 2926,-54 2523.04,-40.4174 2041.86,-26.8478 1846.26,-21.4432"/>
<ellipse fill="none" stroke="#766dfb" cx="3438.54" cy="-76.1046" rx="4.00002" ry="4.00002"/>
<polygon fill="#766dfb" stroke="#766dfb" points="1846.03,-21.437 1836.16,-16.6626 1841.03,-21.299 1836.03,-21.1609 1836.03,-21.1609 1836.03,-21.1609 1841.03,-21.299 1835.91,-25.6592 1846.03,-21.437 1846.03,-21.437"/>
</g>
<!-- BankTransactionVersion -->
<g id="node26" class="node"><title>BankTransactionVersion</title>
<path fill="none" stroke="black" d="M614,-273.5C614,-273.5 742,-273.5 742,-273.5 748,-273.5 754,-279.5 754,-285.5 754,-285.5 754,-442.5 754,-442.5 754,-448.5 748,-454.5 742,-454.5 742,-454.5 614,-454.5 614,-454.5 608,-454.5 602,-448.5 602,-442.5 602,-442.5 602,-285.5 602,-285.5 602,-279.5 608,-273.5 614,-273.5"/>
@ -1826,13 +1760,6 @@
<polygon fill="#1a881f" stroke="#1a881f" points="919.662,-1372.29 924.748,-1362.58 919.959,-1367.3 920.256,-1362.31 920.256,-1362.31 920.256,-1362.31 919.959,-1367.3 915.764,-1362.04 919.662,-1372.29 919.662,-1372.29"/>
<text text-anchor="middle" x="931" y="-1707.8" font-family="Times,serif" font-size="14.00">versions</text>
</g>
<!-- ContactStatus&#45;&gt;ContactStatusVersion -->
<g id="edge73" class="edge"><title>ContactStatus&#45;&gt;ContactStatusVersion</title>
<path fill="none" stroke="#381ba0" d="M3180.66,-511.338C3170.31,-496.263 3157.51,-482.349 3142,-473 3094.87,-444.588 2946.14,-475.346 2895,-455 2794.71,-415.096 2705.7,-328.835 2646.82,-260.709"/>
<ellipse fill="none" stroke="#381ba0" cx="3183.06" cy="-514.989" rx="4.00002" ry="4.00002"/>
<polygon fill="#381ba0" stroke="#381ba0" points="2646.65,-260.513 2643.57,-249.99 2643.4,-256.715 2640.15,-252.917 2640.15,-252.917 2640.15,-252.917 2643.4,-256.715 2636.73,-255.844 2646.65,-260.513 2646.65,-260.513"/>
<text text-anchor="middle" x="2918" y="-360.3" font-family="Times,serif" font-size="14.00">versions</text>
</g>
<!-- RegistrantVerification -->
<g id="node48" class="node"><title>RegistrantVerification</title>
<path fill="none" stroke="black" d="M4138,-2414C4138,-2414 4268,-2414 4268,-2414 4274,-2414 4280,-2420 4280,-2426 4280,-2426 4280,-2553 4280,-2553 4280,-2559 4274,-2565 4268,-2565 4268,-2565 4138,-2565 4138,-2565 4132,-2565 4126,-2559 4126,-2553 4126,-2553 4126,-2426 4126,-2426 4126,-2420 4132,-2414 4138,-2414"/>
@ -2010,13 +1937,6 @@
<polygon fill="#d7df82" stroke="#d7df82" points="1952.06,-264.413 1957.91,-255.135 1952.76,-259.462 1953.45,-254.51 1953.45,-254.51 1953.45,-254.51 1952.76,-259.462 1949,-253.885 1952.06,-264.413 1952.06,-264.413"/>
<text text-anchor="middle" x="1972" y="-360.3" font-family="Times,serif" font-size="14.00">versions</text>
</g>
<!-- DomainStatus&#45;&gt;DomainStatusVersion -->
<g id="edge139" class="edge"><title>DomainStatus&#45;&gt;DomainStatusVersion</title>
<path fill="none" stroke="#71309b" d="M2387.98,-1194.97C2349.1,-1031.98 2257.33,-647.246 2213.76,-464.595"/>
<ellipse fill="none" stroke="#71309b" cx="2389.01" cy="-1199.29" rx="4.00001" ry="4.00001"/>
<polygon fill="#71309b" stroke="#71309b" points="2213.72,-464.448 2215.78,-453.677 2212.56,-459.585 2211.4,-454.721 2211.4,-454.721 2211.4,-454.721 2212.56,-459.585 2207.03,-455.765 2213.72,-464.448 2213.72,-464.448"/>
<text text-anchor="middle" x="2343" y="-820.3" font-family="Times,serif" font-size="14.00">versions</text>
</g>
<!-- Registrant -->
<g id="node64" class="node"><title>Registrant</title>
<path fill="none" stroke="black" d="M3884,-2301.5C3884,-2301.5 4022,-2301.5 4022,-2301.5 4028,-2301.5 4034,-2307.5 4034,-2313.5 4034,-2313.5 4034,-2665.5 4034,-2665.5 4034,-2671.5 4028,-2677.5 4022,-2677.5 4022,-2677.5 3884,-2677.5 3884,-2677.5 3878,-2677.5 3872,-2671.5 3872,-2665.5 3872,-2665.5 3872,-2313.5 3872,-2313.5 3872,-2307.5 3878,-2301.5 3884,-2301.5"/>

Before

Width:  |  Height:  |  Size: 228 KiB

After

Width:  |  Height:  |  Size: 220 KiB

Before After
Before After