summaryrefslogtreecommitdiff
path: root/misc/database-layout.dmf
diff options
context:
space:
mode:
Diffstat (limited to 'misc/database-layout.dmf')
-rw-r--r--misc/database-layout.dmf406
1 files changed, 275 insertions, 131 deletions
diff --git a/misc/database-layout.dmf b/misc/database-layout.dmf
index 304ea40..e77246b 100644
--- a/misc/database-layout.dmf
+++ b/misc/database-layout.dmf
@@ -4,8 +4,8 @@
<item-list>
<item type="database-table" id="{d823ab09-1c04-44ee-ad4b-6802208967ff}">
<position>
- <x>686</x>
- <y>272</y>
+ <x>481</x>
+ <y>395</y>
</position>
<table>
<name>repository_moves</name>
@@ -40,8 +40,8 @@
</item>
<item type="database-table" id="{fee50b4d-969b-4b5f-8545-90ea8f8f7aec}">
<position>
- <x>494</x>
- <y>275</y>
+ <x>763</x>
+ <y>241</y>
</position>
<table>
<name>repository_stabilities</name>
@@ -70,8 +70,8 @@
</item>
<item type="database-table" id="{04b6fdc5-85ae-4416-8db5-034ad05be93a}">
<position>
- <x>54</x>
- <y>334</y>
+ <x>52</x>
+ <y>516</y>
</position>
<table>
<name>build_dependency_loops</name>
@@ -136,8 +136,8 @@
</item>
<item type="database-table" id="{caab4a73-46dc-49dc-ac51-d8ae916827c5}">
<position>
- <x>453</x>
- <y>-10</y>
+ <x>496</x>
+ <y>-6</y>
</position>
<table>
<name>dependencies</name>
@@ -172,7 +172,7 @@
</item>
<item type="database-table" id="{e84f8e5f-28e0-4d8b-a7e5-0f80a896f74e}">
<position>
- <x>716</x>
+ <x>680</x>
<y>3</y>
</position>
<table>
@@ -196,8 +196,8 @@
</item>
<item type="database-table" id="{04f424bf-6465-478b-9529-0038615b51d9}">
<position>
- <x>333</x>
- <y>418</y>
+ <x>421</x>
+ <y>321</y>
</position>
<table>
<name>architectures</name>
@@ -220,8 +220,8 @@
</item>
<item type="database-table" id="{7c210122-c51d-4724-b7cc-22f143bc47ac}">
<position>
- <x>61</x>
- <y>420</y>
+ <x>229</x>
+ <y>487</y>
</position>
<table>
<name>package_sources</name>
@@ -274,8 +274,8 @@
</item>
<item type="database-table" id="{d01e6205-a6dc-4724-a1fd-d4b2f73637ea}">
<position>
- <x>584</x>
- <y>472</y>
+ <x>539</x>
+ <y>533</y>
</position>
<table>
<name>upstream_repositories</name>
@@ -304,8 +304,8 @@
</item>
<item type="database-table" id="{b3c86235-971a-4d3e-873c-c4179aa96cbc}">
<position>
- <x>795</x>
- <y>448</y>
+ <x>770</x>
+ <y>508</y>
</position>
<table>
<name>git_repositories</name>
@@ -346,8 +346,8 @@
</item>
<item type="database-table" id="{844766fc-c5af-4f61-b51b-d3f9393c60ca}">
<position>
- <x>505</x>
- <y>174</y>
+ <x>516</x>
+ <y>246</y>
</position>
<table>
<name>repositories</name>
@@ -382,8 +382,8 @@
</item>
<item type="database-table" id="{f8caa2d5-11ba-485c-b273-8183713896bf}">
<position>
- <x>691</x>
- <y>94</y>
+ <x>656</x>
+ <y>82</y>
</position>
<table>
<name>install_target_providers</name>
@@ -412,8 +412,8 @@
</item>
<item type="database-table" id="{2e6c3b80-fef6-4d2b-8945-7ea6be1b646c}">
<position>
- <x>327</x>
- <y>74</y>
+ <x>329</x>
+ <y>46</y>
</position>
<table>
<name>binary_packages</name>
@@ -491,13 +491,19 @@
<required>True</required>
<primary-key>False</primary-key>
</column>
+ <column>
+ <name>sha512sum</name>
+ <data-type>VARCHAR(128)</data-type>
+ <required>False</required>
+ <primary-key>False</primary-key>
+ </column>
</column-list>
</table>
</item>
<item type="database-table" id="{a945e439-8796-49e8-aa9b-7ce0a58a2c26}">
<position>
- <x>172</x>
- <y>101</y>
+ <x>163</x>
+ <y>110</y>
</position>
<table>
<name>build_slaves</name>
@@ -544,8 +550,8 @@
</item>
<item type="database-table" id="{6ea5c997-98b5-4ec8-b63e-3f2acdcaf627}">
<position>
- <x>244</x>
- <y>280</y>
+ <x>245</x>
+ <y>331</y>
</position>
<table>
<name>build_assignments</name>
@@ -598,8 +604,8 @@
</item>
<item type="database-table" id="{a774fcb7-1193-4b57-947c-135212695915}">
<position>
- <x>57</x>
- <y>220</y>
+ <x>45</x>
+ <y>287</y>
</position>
<table>
<name>failed_builds</name>
@@ -682,8 +688,8 @@
</item>
<item type="database-table" id="{92f54126-a433-458e-80b7-67235e560334}">
<position>
- <x>451</x>
- <y>390</y>
+ <x>754</x>
+ <y>399</y>
</position>
<table>
<name>repository_stability_relations</name>
@@ -710,21 +716,93 @@
</column-list>
</table>
</item>
+ <item type="database-table" id="{f24a3299-870d-4312-8dbe-50b3bf1953d3}">
+ <position>
+ <x>785</x>
+ <y>6</y>
+ </position>
+ <table>
+ <name>files</name>
+ <color>#ffffff</color>
+ <column-list>
+ <column>
+ <name>id</name>
+ <data-type>BIGINT</data-type>
+ <required>True</required>
+ <primary-key>True</primary-key>
+ </column>
+ <column>
+ <name>path</name>
+ <data-type>TEXT</data-type>
+ <required>True</required>
+ <primary-key>False</primary-key>
+ </column>
+ <column>
+ <name>name</name>
+ <data-type>TEXT</data-type>
+ <required>True</required>
+ <primary-key>False</primary-key>
+ </column>
+ <column>
+ <name>path_hash</name>
+ <data-type>VARCHAR(128)</data-type>
+ <required>True</required>
+ <primary-key>False</primary-key>
+ </column>
+ <column>
+ <name>name_hash</name>
+ <data-type>VARCHAR(128)</data-type>
+ <required>True</required>
+ <primary-key>False</primary-key>
+ </column>
+ </column-list>
+ </table>
+ </item>
+ <item type="database-table" id="{457d2e44-2570-45c8-b93e-7b335efd0483}">
+ <position>
+ <x>792</x>
+ <y>155</y>
+ </position>
+ <table>
+ <name>file_providers</name>
+ <color>#ffffff</color>
+ <column-list>
+ <column>
+ <name>id</name>
+ <data-type>BIGINT</data-type>
+ <required>True</required>
+ <primary-key>True</primary-key>
+ </column>
+ <column>
+ <name>package</name>
+ <data-type>BIGINT</data-type>
+ <required>True</required>
+ <primary-key>False</primary-key>
+ </column>
+ <column>
+ <name>file</name>
+ <data-type>BIGINT</data-type>
+ <required>True</required>
+ <primary-key>False</primary-key>
+ </column>
+ </column-list>
+ </table>
+ </item>
<item type="database-relationship" id="{30efa4b2-f4e7-4c8d-943e-44c699e54853}">
<line>
<connector-list>
<connector>
<position>
- <x>804.133</x>
- <y>349.812</y>
+ <x>596.758</x>
+ <y>482.625</y>
</position>
<angle>270</angle>
<hub owner="{d823ab09-1c04-44ee-ad4b-6802208967ff}"/>
</connector>
<connector>
<position>
- <x>658.727</x>
- <y>472</y>
+ <x>600.391</x>
+ <y>533</y>
</position>
<angle>90</angle>
<hub owner="{d01e6205-a6dc-4724-a1fd-d4b2f73637ea}"/>
@@ -748,18 +826,18 @@
<connector-list>
<connector>
<position>
- <x>764.755</x>
- <y>272</y>
+ <x>558.172</x>
+ <y>395</y>
</position>
<angle>90</angle>
<hub owner="{d823ab09-1c04-44ee-ad4b-6802208967ff}"/>
</connector>
<connector>
<position>
- <x>674.406</x>
- <y>225.875</y>
+ <x>570.885</x>
+ <y>333.625</y>
</position>
- <angle>0</angle>
+ <angle>270</angle>
<hub owner="{844766fc-c5af-4f61-b51b-d3f9393c60ca}"/>
</connector>
</connector-list>
@@ -781,18 +859,18 @@
<connector-list>
<connector>
<position>
- <x>843.51</x>
- <y>272</y>
+ <x>635.344</x>
+ <y>395</y>
</position>
<angle>90</angle>
<hub owner="{d823ab09-1c04-44ee-ad4b-6802208967ff}"/>
</connector>
<connector>
<position>
- <x>674.406</x>
- <y>199.938</y>
+ <x>625.771</x>
+ <y>333.625</y>
</position>
- <angle>0</angle>
+ <angle>270</angle>
<hub owner="{844766fc-c5af-4f61-b51b-d3f9393c60ca}"/>
</connector>
</connector-list>
@@ -814,16 +892,16 @@
<connector-list>
<connector>
<position>
- <x>428.146</x>
- <y>263.812</y>
+ <x>426.979</x>
+ <y>277.625</y>
</position>
<angle>270</angle>
<hub owner="{2e6c3b80-fef6-4d2b-8945-7ea6be1b646c}"/>
</connector>
<connector>
<position>
- <x>396.031</x>
- <y>418</y>
+ <x>453.914</x>
+ <y>321</y>
</position>
<angle>90</angle>
<hub owner="{04f424bf-6465-478b-9529-0038615b51d9}"/>
@@ -847,16 +925,16 @@
<connector-list>
<connector>
<position>
- <x>453</x>
- <y>28.9062</y>
+ <x>496</x>
+ <y>37.8125</y>
</position>
<angle>180</angle>
<hub owner="{caab4a73-46dc-49dc-ac51-d8ae916827c5}"/>
</connector>
<connector>
<position>
- <x>284.844</x>
- <y>30.9062</y>
+ <x>280.094</x>
+ <y>35.8125</y>
</position>
<angle>0</angle>
<hub owner="{be821d83-a9b4-4c0c-8e1b-433730200714}"/>
@@ -880,18 +958,18 @@
<connector-list>
<connector>
<position>
- <x>589.703</x>
- <y>251.812</y>
+ <x>680.656</x>
+ <y>289.812</y>
</position>
- <angle>270</angle>
+ <angle>0</angle>
<hub owner="{844766fc-c5af-4f61-b51b-d3f9393c60ca}"/>
</connector>
<connector>
<position>
- <x>572.953</x>
- <y>275</y>
+ <x>763</x>
+ <y>276.812</y>
</position>
- <angle>90</angle>
+ <angle>180</angle>
<hub owner="{fee50b4d-969b-4b5f-8545-90ea8f8f7aec}"/>
</connector>
</connector-list>
@@ -913,16 +991,16 @@
<connector-list>
<connector>
<position>
- <x>604.672</x>
- <y>28.9062</y>
+ <x>642.922</x>
+ <y>37.8125</y>
</position>
<angle>0</angle>
<hub owner="{caab4a73-46dc-49dc-ac51-d8ae916827c5}"/>
</connector>
<connector>
<position>
- <x>716</x>
- <y>27.9062</y>
+ <x>680</x>
+ <y>30.8125</y>
</position>
<angle>180</angle>
<hub owner="{e84f8e5f-28e0-4d8b-a7e5-0f80a896f74e}"/>
@@ -946,16 +1024,16 @@
<connector-list>
<connector>
<position>
- <x>769.109</x>
- <y>94</y>
+ <x>715.289</x>
+ <y>82</y>
</position>
<angle>90</angle>
<hub owner="{f8caa2d5-11ba-485c-b273-8183713896bf}"/>
</connector>
<connector>
<position>
- <x>766.016</x>
- <y>52.8125</y>
+ <x>716.156</x>
+ <y>58.625</y>
</position>
<angle>270</angle>
<hub owner="{e84f8e5f-28e0-4d8b-a7e5-0f80a896f74e}"/>
@@ -979,16 +1057,16 @@
<connector-list>
<connector>
<position>
- <x>528.836</x>
- <y>67.8125</y>
+ <x>569.461</x>
+ <y>81.625</y>
</position>
<angle>270</angle>
<hub owner="{caab4a73-46dc-49dc-ac51-d8ae916827c5}"/>
</connector>
<connector>
<position>
- <x>478.719</x>
- <y>121.453</y>
+ <x>475.969</x>
+ <y>92.325</y>
</position>
<angle>0</angle>
<hub owner="{2e6c3b80-fef6-4d2b-8945-7ea6be1b646c}"/>
@@ -1012,16 +1090,16 @@
<connector-list>
<connector>
<position>
- <x>691</x>
- <y>125.906</y>
+ <x>656</x>
+ <y>117.812</y>
</position>
<angle>180</angle>
<hub owner="{f8caa2d5-11ba-485c-b273-8183713896bf}"/>
</connector>
<connector>
<position>
- <x>478.719</x>
- <y>168.906</y>
+ <x>475.969</x>
+ <y>138.65</y>
</position>
<angle>0</angle>
<hub owner="{2e6c3b80-fef6-4d2b-8945-7ea6be1b646c}"/>
@@ -1045,16 +1123,16 @@
<connector-list>
<connector>
<position>
- <x>291.531</x>
- <y>479.906</y>
+ <x>454.781</x>
+ <y>554.812</y>
</position>
<angle>0</angle>
<hub owner="{7c210122-c51d-4724-b7cc-22f143bc47ac}"/>
</connector>
<connector>
<position>
- <x>584</x>
- <y>503.906</y>
+ <x>539</x>
+ <y>568.812</y>
</position>
<angle>180</angle>
<hub owner="{d01e6205-a6dc-4724-a1fd-d4b2f73637ea}"/>
@@ -1078,18 +1156,18 @@
<connector-list>
<connector>
<position>
- <x>478.719</x>
- <y>216.359</y>
+ <x>475.969</x>
+ <y>231.3</y>
</position>
<angle>0</angle>
<hub owner="{2e6c3b80-fef6-4d2b-8945-7ea6be1b646c}"/>
</connector>
<connector>
<position>
- <x>505</x>
- <y>212.906</y>
+ <x>598.328</x>
+ <y>246</y>
</position>
- <angle>180</angle>
+ <angle>90</angle>
<hub owner="{844766fc-c5af-4f61-b51b-d3f9393c60ca}"/>
</connector>
</connector-list>
@@ -1111,16 +1189,16 @@
<connector-list>
<connector>
<position>
- <x>733.453</x>
- <y>503.906</y>
+ <x>661.781</x>
+ <y>568.812</y>
</position>
<angle>0</angle>
<hub owner="{d01e6205-a6dc-4724-a1fd-d4b2f73637ea}"/>
</connector>
<connector>
<position>
- <x>795</x>
- <y>493.906</y>
+ <x>770</x>
+ <y>559.812</y>
</position>
<angle>180</angle>
<hub owner="{b3c86235-971a-4d3e-873c-c4179aa96cbc}"/>
@@ -1144,16 +1222,16 @@
<connector-list>
<connector>
<position>
- <x>290.974</x>
- <y>399.812</y>
+ <x>313.086</x>
+ <y>466.625</y>
</position>
<angle>270</angle>
<hub owner="{6ea5c997-98b5-4ec8-b63e-3f2acdcaf627}"/>
</connector>
<connector>
<position>
- <x>176.266</x>
- <y>420</y>
+ <x>341.891</x>
+ <y>487</y>
</position>
<angle>90</angle>
<hub owner="{7c210122-c51d-4724-b7cc-22f143bc47ac}"/>
@@ -1177,18 +1255,18 @@
<connector-list>
<connector>
<position>
- <x>337.948</x>
- <y>399.812</y>
+ <x>381.172</x>
+ <y>398.812</y>
</position>
- <angle>270</angle>
+ <angle>0</angle>
<hub owner="{6ea5c997-98b5-4ec8-b63e-3f2acdcaf627}"/>
</connector>
<connector>
<position>
- <x>364.516</x>
- <y>418</y>
+ <x>421</x>
+ <y>348.812</y>
</position>
- <angle>90</angle>
+ <angle>180</angle>
<hub owner="{04f424bf-6465-478b-9529-0038615b51d9}"/>
</connector>
</connector-list>
@@ -1210,16 +1288,16 @@
<connector-list>
<connector>
<position>
- <x>377.573</x>
- <y>263.812</y>
+ <x>377.99</x>
+ <y>277.625</y>
</position>
<angle>270</angle>
<hub owner="{2e6c3b80-fef6-4d2b-8945-7ea6be1b646c}"/>
</connector>
<connector>
<position>
- <x>337.948</x>
- <y>280</y>
+ <x>335.781</x>
+ <y>331</y>
</position>
<angle>90</angle>
<hub owner="{6ea5c997-98b5-4ec8-b63e-3f2acdcaf627}"/>
@@ -1243,16 +1321,16 @@
<connector-list>
<connector>
<position>
- <x>266.302</x>
- <y>206.812</y>
+ <x>252.271</x>
+ <y>229.625</y>
</position>
<angle>270</angle>
<hub owner="{a945e439-8796-49e8-aa9b-7ce0a58a2c26}"/>
</connector>
<connector>
<position>
- <x>290.974</x>
- <y>280</y>
+ <x>290.391</x>
+ <y>331</y>
</position>
<angle>90</angle>
<hub owner="{6ea5c997-98b5-4ec8-b63e-3f2acdcaf627}"/>
@@ -1276,16 +1354,16 @@
<connector-list>
<connector>
<position>
- <x>216.391</x>
- <y>365.906</y>
+ <x>125.484</x>
+ <y>516</y>
</position>
- <angle>0</angle>
+ <angle>90</angle>
<hub owner="{04b6fdc5-85ae-4416-8db5-034ad05be93a}"/>
</connector>
<connector>
<position>
- <x>244</x>
- <y>359.875</y>
+ <x>245</x>
+ <y>421.417</y>
</position>
<angle>180</angle>
<hub owner="{6ea5c997-98b5-4ec8-b63e-3f2acdcaf627}"/>
@@ -1309,16 +1387,16 @@
<connector-list>
<connector>
<position>
- <x>158.146</x>
- <y>220</y>
+ <x>142.979</x>
+ <y>287</y>
</position>
<angle>90</angle>
<hub owner="{a774fcb7-1193-4b57-947c-135212695915}"/>
</connector>
<connector>
<position>
- <x>219.151</x>
- <y>206.812</y>
+ <x>207.635</x>
+ <y>229.625</y>
</position>
<angle>270</angle>
<hub owner="{a945e439-8796-49e8-aa9b-7ce0a58a2c26}"/>
@@ -1342,16 +1420,16 @@
<connector-list>
<connector>
<position>
- <x>208.719</x>
- <y>272.906</y>
+ <x>191.969</x>
+ <y>346.812</y>
</position>
<angle>0</angle>
<hub owner="{a774fcb7-1193-4b57-947c-135212695915}"/>
</connector>
<connector>
<position>
- <x>244</x>
- <y>319.938</y>
+ <x>245</x>
+ <y>376.208</y>
</position>
<angle>180</angle>
<hub owner="{6ea5c997-98b5-4ec8-b63e-3f2acdcaf627}"/>
@@ -1375,16 +1453,16 @@
<connector-list>
<connector>
<position>
- <x>107.573</x>
- <y>220</y>
+ <x>93.9896</x>
+ <y>287</y>
</position>
<angle>90</angle>
<hub owner="{a774fcb7-1193-4b57-947c-135212695915}"/>
</connector>
<connector>
<position>
- <x>100.719</x>
- <y>180.812</y>
+ <x>98.3438</x>
+ <y>190.625</y>
</position>
<angle>270</angle>
<hub owner="{7b159780-7f39-45a7-9557-046874a57e43}"/>
@@ -1408,16 +1486,16 @@
<connector-list>
<connector>
<position>
- <x>576.312</x>
- <y>390</y>
+ <x>799.115</x>
+ <y>399</y>
</position>
<angle>90</angle>
<hub owner="{92f54126-a433-458e-80b7-67235e560334}"/>
</connector>
<connector>
<position>
- <x>599.271</x>
- <y>338.812</y>
+ <x>801.13</x>
+ <y>312.625</y>
</position>
<angle>270</angle>
<hub owner="{fee50b4d-969b-4b5f-8545-90ea8f8f7aec}"/>
@@ -1441,16 +1519,16 @@
<connector-list>
<connector>
<position>
- <x>513.656</x>
- <y>390</y>
+ <x>844.229</x>
+ <y>399</y>
</position>
<angle>90</angle>
<hub owner="{92f54126-a433-458e-80b7-67235e560334}"/>
</connector>
<connector>
<position>
- <x>546.635</x>
- <y>338.812</y>
+ <x>839.26</x>
+ <y>312.625</y>
</position>
<angle>270</angle>
<hub owner="{fee50b4d-969b-4b5f-8545-90ea8f8f7aec}"/>
@@ -1469,5 +1547,71 @@
</columns>
</relationship>
</item>
+ <item type="database-relationship" id="{e64f4d17-ff78-45f2-ab9b-281bf8fc5fb6}">
+ <line>
+ <connector-list>
+ <connector>
+ <position>
+ <x>834.562</x>
+ <y>155</y>
+ </position>
+ <angle>90</angle>
+ <hub owner="{457d2e44-2570-45c8-b93e-7b335efd0483}"/>
+ </connector>
+ <connector>
+ <position>
+ <x>837.062</x>
+ <y>109.625</y>
+ </position>
+ <angle>270</angle>
+ <hub owner="{f24a3299-870d-4312-8dbe-50b3bf1953d3}"/>
+ </connector>
+ </connector-list>
+ </line>
+ <relationship>
+ <cardinality>OneToMany</cardinality>
+ <modality>
+ <child>Optional</child>
+ <parent>Optional</parent>
+ </modality>
+ <columns>
+ <child>2</child>
+ <parent>0</parent>
+ </columns>
+ </relationship>
+ </item>
+ <item type="database-relationship" id="{4a844898-e05d-4919-8c83-cf90f28edf42}">
+ <line>
+ <connector-list>
+ <connector>
+ <position>
+ <x>792</x>
+ <y>190.812</y>
+ </position>
+ <angle>180</angle>
+ <hub owner="{457d2e44-2570-45c8-b93e-7b335efd0483}"/>
+ </connector>
+ <connector>
+ <position>
+ <x>475.969</x>
+ <y>184.975</y>
+ </position>
+ <angle>0</angle>
+ <hub owner="{2e6c3b80-fef6-4d2b-8945-7ea6be1b646c}"/>
+ </connector>
+ </connector-list>
+ </line>
+ <relationship>
+ <cardinality>OneToMany</cardinality>
+ <modality>
+ <child>Mandatory</child>
+ <parent>Mandatory</parent>
+ </modality>
+ <columns>
+ <child>1</child>
+ <parent>0</parent>
+ </columns>
+ </relationship>
+ </item>
</item-list>
</diagram>