Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc/database-layout.dmf1406
-rw-r--r--misc/database-layout.dump357
2 files changed, 1060 insertions, 703 deletions
diff --git a/misc/database-layout.dmf b/misc/database-layout.dmf
index 069f4b3..7b61d9b 100644
--- a/misc/database-layout.dmf
+++ b/misc/database-layout.dmf
@@ -2,13 +2,13 @@
<diagram xmlns="http://oxygene.sk/ns/diagram/1/">
<notation>Relational</notation>
<item-list>
- <item type="database-table" id="{33867a1e-ef36-4cc2-a08e-7366f56fbf5f}">
+ <item type="database-table" id="{5f12db03-a8bb-4467-bab6-a57e545b9081}">
<position>
- <x>237</x>
- <y>40</y>
+ <x>42</x>
+ <y>135</y>
</position>
<table>
- <name>ssh_keys</name>
+ <name>ssh_log</name>
<color>#ffffff</color>
<column-list>
<column>
@@ -18,13 +18,25 @@
<primary-key>True</primary-key>
</column>
<column>
- <name>owner</name>
+ <name>date</name>
+ <data-type>DATETIME</data-type>
+ <required>True</required>
+ <primary-key>False</primary-key>
+ </column>
+ <column>
+ <name>build_slave</name>
<data-type>MEDIUMINT</data-type>
+ <required>False</required>
+ <primary-key>False</primary-key>
+ </column>
+ <column>
+ <name>action</name>
+ <data-type>VARCHAR(32)</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
<column>
- <name>fingerprint</name>
+ <name>parameters</name>
<data-type>TEXT</data-type>
<required>True</required>
<primary-key>False</primary-key>
@@ -32,102 +44,108 @@
</column-list>
</table>
</item>
- <item type="database-table" id="{6180fcbf-5069-4d86-8919-fd39394f1813}">
+ <item type="database-table" id="{5cbe15f1-fea8-48eb-a84f-97f7e22060f6}">
<position>
- <x>-69</x>
- <y>71</y>
+ <x>-55</x>
+ <y>-72</y>
</position>
<table>
- <name>email_actions</name>
+ <name>email_log</name>
<color>#ffffff</color>
<column-list>
<column>
<name>id</name>
- <data-type>MEDIUMINT</data-type>
+ <data-type>BIGINT</data-type>
<required>True</required>
<primary-key>True</primary-key>
</column>
<column>
- <name>name</name>
- <data-type>VARCHAR(32)</data-type>
+ <name>date</name>
+ <data-type>DATETIME</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
- </column-list>
- </table>
- </item>
- <item type="database-table" id="{b5671c08-e24a-4293-b983-3c86b1a6d622}">
- <position>
- <x>68</x>
- <y>49</y>
- </position>
- <table>
- <name>allowed_email_actions</name>
- <color>#ffffff</color>
- <column-list>
<column>
- <name>id</name>
- <data-type>BIGINT</data-type>
+ <name>success</name>
+ <data-type>BIT</data-type>
<required>True</required>
- <primary-key>True</primary-key>
+ <primary-key>False</primary-key>
+ </column>
+ <column>
+ <name>action</name>
+ <data-type>MEDIUMINT</data-type>
+ <required>False</required>
+ <primary-key>False</primary-key>
+ </column>
+ <column>
+ <name>count</name>
+ <data-type>MEDIUMINT</data-type>
+ <required>False</required>
+ <primary-key>False</primary-key>
</column>
<column>
<name>gpg_key</name>
<data-type>BIGINT</data-type>
- <required>True</required>
+ <required>False</required>
<primary-key>False</primary-key>
</column>
<column>
- <name>action</name>
- <data-type>MEDIUMINT</data-type>
- <required>True</required>
+ <name>comment</name>
+ <data-type>TEXT</data-type>
+ <required>False</required>
<primary-key>False</primary-key>
</column>
</column-list>
</table>
</item>
- <item type="database-table" id="{f31249ea-ab19-45a4-9427-1854379ad8e7}">
+ <item type="database-table" id="{d823ab09-1c04-44ee-ad4b-6802208967ff}">
<position>
- <x>106</x>
- <y>-51</y>
+ <x>481</x>
+ <y>395</y>
</position>
<table>
- <name>gpg_keys</name>
+ <name>repository_moves</name>
<color>#ffffff</color>
<column-list>
<column>
<name>id</name>
- <data-type>BIGINT</data-type>
+ <data-type>MEDIUMINT</data-type>
<required>True</required>
<primary-key>True</primary-key>
</column>
<column>
- <name>fingerprint</name>
- <data-type>VARCHAR(40)</data-type>
+ <name>from_repository</name>
+ <data-type>MEDIUMINT</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
<column>
- <name>owner</name>
+ <name>to_repository</name>
<data-type>MEDIUMINT</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
+ <column>
+ <name>upstream_package_repository</name>
+ <data-type>SMALLINT</data-type>
+ <required>True</required>
+ <primary-key>False</primary-key>
+ </column>
</column-list>
</table>
</item>
- <item type="database-table" id="{75e4ebd8-5915-4aff-8316-0c542d3953da}">
+ <item type="database-table" id="{fee50b4d-969b-4b5f-8545-90ea8f8f7aec}">
<position>
- <x>257</x>
- <y>-44</y>
+ <x>763</x>
+ <y>241</y>
</position>
<table>
- <name>persons</name>
+ <name>repository_stabilities</name>
<color>#ffffff</color>
<column-list>
<column>
<name>id</name>
- <data-type>MEDIUMINT</data-type>
+ <data-type>SMALLINT</data-type>
<required>True</required>
<primary-key>True</primary-key>
</column>
@@ -137,26 +155,38 @@
<required>True</required>
<primary-key>False</primary-key>
</column>
+ <column>
+ <name>bugtracker_category</name>
+ <data-type>VARCHAR(32)</data-type>
+ <required>False</required>
+ <primary-key>False</primary-key>
+ </column>
</column-list>
</table>
</item>
- <item type="database-table" id="{36980651-4f03-4748-aee8-1f9211aaafde}">
+ <item type="database-table" id="{04b6fdc5-85ae-4416-8db5-034ad05be93a}">
<position>
- <x>974</x>
- <y>255</y>
+ <x>52</x>
+ <y>516</y>
</position>
<table>
- <name>todo_links</name>
+ <name>build_dependency_loops</name>
<color>#ffffff</color>
<column-list>
<column>
- <name>dependent</name>
+ <name>id</name>
<data-type>BIGINT</data-type>
<required>True</required>
+ <primary-key>True</primary-key>
+ </column>
+ <column>
+ <name>loop</name>
+ <data-type>MEDIUMINT</data-type>
+ <required>True</required>
<primary-key>False</primary-key>
</column>
<column>
- <name>depending_on</name>
+ <name>build_assignment</name>
<data-type>BIGINT</data-type>
<required>True</required>
<primary-key>False</primary-key>
@@ -164,55 +194,49 @@
</column-list>
</table>
</item>
- <item type="database-table" id="{dc01c567-d657-4db7-8a55-d2763ed00cee}">
+ <item type="database-table" id="{be821d83-a9b4-4c0c-8e1b-433730200714}">
<position>
- <x>1142</x>
- <y>235</y>
+ <x>540</x>
+ <y>-64</y>
</position>
<table>
- <name>todos</name>
+ <name>dependency_types</name>
<color>#ffffff</color>
<column-list>
<column>
<name>id</name>
- <data-type>BIGINT</data-type>
+ <data-type>SMALLINT</data-type>
<required>True</required>
<primary-key>True</primary-key>
</column>
<column>
- <name>file</name>
- <data-type>VARCHAR(64)</data-type>
+ <name>name</name>
+ <data-type>VARCHAR(32)</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
<column>
- <name>line</name>
- <data-type>MEDIUMINT</data-type>
+ <name>relevant_for_building</name>
+ <data-type>BIT</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
<column>
- <name>description</name>
- <data-type>TEXT</data-type>
+ <name>relevant_for_binary_packages</name>
+ <data-type>BIT</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
- <column>
- <name>importance</name>
- <data-type>SMALLINT</data-type>
- <required>False</required>
- <primary-key>False</primary-key>
- </column>
</column-list>
</table>
</item>
- <item type="database-table" id="{9085c36f-5884-41c8-9ca8-9d53973e657d}">
+ <item type="database-table" id="{caab4a73-46dc-49dc-ac51-d8ae916827c5}">
<position>
- <x>1002</x>
- <y>9</y>
+ <x>348</x>
+ <y>-60</y>
</position>
<table>
- <name>statitstics</name>
+ <name>dependencies</name>
<color>#ffffff</color>
<column-list>
<column>
@@ -222,111 +246,141 @@
<primary-key>True</primary-key>
</column>
<column>
- <name>date</name>
- <data-type>DATETIME</data-type>
+ <name>dependent</name>
+ <data-type>BIGINT</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
<column>
- <name>stable_packages_count</name>
- <data-type>MEDIUMINT</data-type>
+ <name>depending_on</name>
+ <data-type>BIGINT</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
<column>
- <name>pending_tasks_count</name>
- <data-type>MEDIUMINT</data-type>
+ <name>dependency_type</name>
+ <data-type>SMALLINT</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
+ </column-list>
+ </table>
+ </item>
+ <item type="database-table" id="{e84f8e5f-28e0-4d8b-a7e5-0f80a896f74e}">
+ <position>
+ <x>563</x>
+ <y>42</y>
+ </position>
+ <table>
+ <name>install_targets</name>
+ <color>#ffffff</color>
+ <column-list>
<column>
- <name>staging_packages_count</name>
- <data-type>MEDIUMINT</data-type>
+ <name>id</name>
+ <data-type>BIGINT</data-type>
<required>True</required>
- <primary-key>False</primary-key>
+ <primary-key>True</primary-key>
</column>
<column>
- <name>testing_packages_count</name>
- <data-type>MEDIUMINT</data-type>
+ <name>name</name>
+ <data-type>VARCHAR(64)</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
+ </column-list>
+ </table>
+ </item>
+ <item type="database-table" id="{04f424bf-6465-478b-9529-0038615b51d9}">
+ <position>
+ <x>415</x>
+ <y>321</y>
+ </position>
+ <table>
+ <name>architectures</name>
+ <color>#ffffff</color>
+ <column-list>
<column>
- <name>broken_tasks_count</name>
- <data-type>MEDIUMINT</data-type>
+ <name>id</name>
+ <data-type>SMALLINT</data-type>
<required>True</required>
- <primary-key>False</primary-key>
+ <primary-key>True</primary-key>
</column>
<column>
- <name>dependency_loops_count</name>
- <data-type>MEDIUMINT</data-type>
+ <name>name</name>
+ <data-type>VARCHAR(16)</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
+ </column-list>
+ </table>
+ </item>
+ <item type="database-table" id="{7c210122-c51d-4724-b7cc-22f143bc47ac}">
+ <position>
+ <x>229</x>
+ <y>471</y>
+ </position>
+ <table>
+ <name>package_sources</name>
+ <color>#ffffff</color>
+ <column-list>
<column>
- <name>dependency_looped_tasks_count</name>
- <data-type>MEDIUMINT</data-type>
+ <name>id</name>
+ <data-type>BIGINT</data-type>
+ <required>True</required>
+ <primary-key>True</primary-key>
+ </column>
+ <column>
+ <name>pkgbase</name>
+ <data-type>VARCHAR(64)</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
<column>
- <name>locked_tasks_count</name>
- <data-type>MEDIUMINT</data-type>
+ <name>git_revision</name>
+ <data-type>VARCHAR(40)</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
<column>
- <name>blocked_tasks_count</name>
- <data-type>MEDIUMINT</data-type>
+ <name>mod_git_revision</name>
+ <data-type>VARCHAR(40)</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
<column>
- <name>next_tasks_count</name>
- <data-type>MEDIUMINT</data-type>
+ <name>upsream_package_repository</name>
+ <data-type>SMALLINT</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
- </column-list>
- </table>
- </item>
- <item type="database-table" id="{92f54126-a433-458e-80b7-67235e560334}">
- <position>
- <x>754</x>
- <y>399</y>
- </position>
- <table>
- <name>repository_stability_relations</name>
- <color>#ffffff</color>
- <column-list>
<column>
- <name>id</name>
- <data-type>MEDIUMINT</data-type>
+ <name>uses_upstream</name>
+ <data-type>BIT</data-type>
<required>True</required>
- <primary-key>True</primary-key>
+ <primary-key>False</primary-key>
</column>
<column>
- <name>more_stable</name>
- <data-type>MEDIUMINT</data-type>
+ <name>uses_modification</name>
+ <data-type>BIT</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
<column>
- <name>less_stable</name>
- <data-type>MEDIUMINT</data-type>
+ <name>commit_time</name>
+ <data-type>DATETIME</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
</column-list>
</table>
</item>
- <item type="database-table" id="{7b159780-7f39-45a7-9557-046874a57e43}">
+ <item type="database-table" id="{d01e6205-a6dc-4724-a1fd-d4b2f73637ea}">
<position>
- <x>51</x>
- <y>244</y>
+ <x>539</x>
+ <y>533</y>
</position>
<table>
- <name>fail_reasons</name>
+ <name>upstream_repositories</name>
<color>#ffffff</color>
<column-list>
<column>
@@ -337,18 +391,12 @@
</column>
<column>
<name>name</name>
- <data-type>VARCHAR(32)</data-type>
- <required>True</required>
- <primary-key>False</primary-key>
- </column>
- <column>
- <name>identifier</name>
<data-type>VARCHAR(64)</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
<column>
- <name>severity</name>
+ <name>git_repository</name>
<data-type>SMALLINT</data-type>
<required>True</required>
<primary-key>False</primary-key>
@@ -356,159 +404,111 @@
</column-list>
</table>
</item>
- <item type="database-table" id="{a774fcb7-1193-4b57-947c-135212695915}">
+ <item type="database-table" id="{b3c86235-971a-4d3e-873c-c4179aa96cbc}">
<position>
- <x>53</x>
- <y>346</y>
+ <x>770</x>
+ <y>508</y>
</position>
<table>
- <name>failed_builds</name>
+ <name>git_repositories</name>
<color>#ffffff</color>
<column-list>
<column>
<name>id</name>
- <data-type>MEDIUMINT</data-type>
+ <data-type>SMALLINT</data-type>
<required>True</required>
<primary-key>True</primary-key>
</column>
<column>
- <name>build_slave</name>
- <data-type>MEDIUMINT</data-type>
- <required>True</required>
- <primary-key>False</primary-key>
- </column>
- <column>
- <name>build_assignment</name>
- <data-type>BIGINT</data-type>
+ <name>name</name>
+ <data-type>VARCHAR(64)</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
<column>
- <name>date</name>
- <data-type>DATETIME</data-type>
+ <name>url</name>
+ <data-type>VARCHAR(128)</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
<column>
- <name>reason</name>
- <data-type>SMALLINT</data-type>
+ <name>directory</name>
+ <data-type>VARCHAR(128)</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
<column>
- <name>log_file</name>
- <data-type>VARCHAR(512)</data-type>
+ <name>head</name>
+ <data-type>VARCHAR(40)</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
</column-list>
</table>
</item>
- <item type="database-table" id="{6ea5c997-98b5-4ec8-b63e-3f2acdcaf627}">
+ <item type="database-table" id="{844766fc-c5af-4f61-b51b-d3f9393c60ca}">
<position>
- <x>247</x>
- <y>291</y>
+ <x>529</x>
+ <y>273</y>
</position>
<table>
- <name>build_assignments</name>
+ <name>repositories</name>
<color>#ffffff</color>
<column-list>
<column>
<name>id</name>
- <data-type>BIGINT</data-type>
+ <data-type>MEDIUMINT</data-type>
<required>True</required>
<primary-key>True</primary-key>
</column>
<column>
- <name>package_source</name>
- <data-type>BIGINT</data-type>
+ <name>name</name>
+ <data-type>VARCHAR(64)</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
<column>
- <name>architecture</name>
+ <name>stability</name>
<data-type>SMALLINT</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
<column>
- <name>is_blocked</name>
- <data-type>VARCHAR(128)</data-type>
- <required>False</required>
- <primary-key>False</primary-key>
- </column>
- <column>
- <name>is_black_listed</name>
- <data-type>VARCHAR(128)</data-type>
- <required>False</required>
- <primary-key>False</primary-key>
- </column>
- <column>
- <name>is_broken</name>
+ <name>is_on_master_mirror</name>
<data-type>BIT</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
- <column>
- <name>priority</name>
- <data-type>SMALLINT</data-type>
- <required>True</required>
- <primary-key>False</primary-key>
- </column>
</column-list>
</table>
</item>
- <item type="database-table" id="{a945e439-8796-49e8-aa9b-7ce0a58a2c26}">
+ <item type="database-table" id="{f8caa2d5-11ba-485c-b273-8183713896bf}">
<position>
- <x>186</x>
- <y>137</y>
+ <x>553</x>
+ <y>131</y>
</position>
<table>
- <name>build_slaves</name>
+ <name>install_target_providers</name>
<color>#ffffff</color>
<column-list>
<column>
<name>id</name>
- <data-type>MEDIUMINT</data-type>
+ <data-type>BIGINT</data-type>
<required>True</required>
<primary-key>True</primary-key>
</column>
<column>
- <name>name</name>
- <data-type>VARCHAR(32)</data-type>
- <required>True</required>
- <primary-key>False</primary-key>
- </column>
- <column>
- <name>ssh_key</name>
+ <name>package</name>
<data-type>BIGINT</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
<column>
- <name>currently_building</name>
+ <name>install_target</name>
<data-type>BIGINT</data-type>
- <required>False</required>
- <primary-key>False</primary-key>
- </column>
- <column>
- <name>last_connection</name>
- <data-type>TIME</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
- <column>
- <name>logged_lines</name>
- <data-type>BIGINT</data-type>
- <required>False</required>
- <primary-key>False</primary-key>
- </column>
- <column>
- <name>last_action</name>
- <data-type>VARCHAR(32)</data-type>
- <required>False</required>
- <primary-key>False</primary-key>
- </column>
</column-list>
</table>
</item>
@@ -602,121 +602,169 @@
</column-list>
</table>
</item>
- <item type="database-table" id="{f8caa2d5-11ba-485c-b273-8183713896bf}">
+ <item type="database-table" id="{a945e439-8796-49e8-aa9b-7ce0a58a2c26}">
<position>
- <x>553</x>
- <y>131</y>
+ <x>186</x>
+ <y>137</y>
</position>
<table>
- <name>install_target_providers</name>
+ <name>build_slaves</name>
<color>#ffffff</color>
<column-list>
<column>
<name>id</name>
- <data-type>BIGINT</data-type>
+ <data-type>MEDIUMINT</data-type>
<required>True</required>
<primary-key>True</primary-key>
</column>
<column>
- <name>package</name>
+ <name>name</name>
+ <data-type>VARCHAR(32)</data-type>
+ <required>True</required>
+ <primary-key>False</primary-key>
+ </column>
+ <column>
+ <name>ssh_key</name>
<data-type>BIGINT</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
<column>
- <name>install_target</name>
+ <name>currently_building</name>
<data-type>BIGINT</data-type>
+ <required>False</required>
+ <primary-key>False</primary-key>
+ </column>
+ <column>
+ <name>last_connection</name>
+ <data-type>TIME</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
+ <column>
+ <name>logged_lines</name>
+ <data-type>BIGINT</data-type>
+ <required>False</required>
+ <primary-key>False</primary-key>
+ </column>
+ <column>
+ <name>last_action</name>
+ <data-type>VARCHAR(32)</data-type>
+ <required>False</required>
+ <primary-key>False</primary-key>
+ </column>
</column-list>
</table>
</item>
- <item type="database-table" id="{844766fc-c5af-4f61-b51b-d3f9393c60ca}">
+ <item type="database-table" id="{6ea5c997-98b5-4ec8-b63e-3f2acdcaf627}">
<position>
- <x>529</x>
- <y>273</y>
+ <x>247</x>
+ <y>291</y>
</position>
<table>
- <name>repositories</name>
+ <name>build_assignments</name>
<color>#ffffff</color>
<column-list>
<column>
<name>id</name>
- <data-type>MEDIUMINT</data-type>
+ <data-type>BIGINT</data-type>
<required>True</required>
<primary-key>True</primary-key>
</column>
<column>
- <name>name</name>
- <data-type>VARCHAR(64)</data-type>
+ <name>package_source</name>
+ <data-type>BIGINT</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
<column>
- <name>stability</name>
+ <name>architecture</name>
<data-type>SMALLINT</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
<column>
- <name>is_on_master_mirror</name>
+ <name>is_blocked</name>
+ <data-type>VARCHAR(128)</data-type>
+ <required>False</required>
+ <primary-key>False</primary-key>
+ </column>
+ <column>
+ <name>is_black_listed</name>
+ <data-type>VARCHAR(128)</data-type>
+ <required>False</required>
+ <primary-key>False</primary-key>
+ </column>
+ <column>
+ <name>is_broken</name>
<data-type>BIT</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
+ <column>
+ <name>priority</name>
+ <data-type>SMALLINT</data-type>
+ <required>True</required>
+ <primary-key>False</primary-key>
+ </column>
</column-list>
</table>
</item>
- <item type="database-table" id="{b3c86235-971a-4d3e-873c-c4179aa96cbc}">
+ <item type="database-table" id="{a774fcb7-1193-4b57-947c-135212695915}">
<position>
- <x>770</x>
- <y>508</y>
+ <x>53</x>
+ <y>346</y>
</position>
<table>
- <name>git_repositories</name>
+ <name>failed_builds</name>
<color>#ffffff</color>
<column-list>
<column>
<name>id</name>
- <data-type>SMALLINT</data-type>
+ <data-type>MEDIUMINT</data-type>
<required>True</required>
<primary-key>True</primary-key>
</column>
<column>
- <name>name</name>
- <data-type>VARCHAR(64)</data-type>
+ <name>build_slave</name>
+ <data-type>MEDIUMINT</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
<column>
- <name>url</name>
- <data-type>VARCHAR(128)</data-type>
+ <name>build_assignment</name>
+ <data-type>BIGINT</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
<column>
- <name>directory</name>
- <data-type>VARCHAR(128)</data-type>
+ <name>date</name>
+ <data-type>DATETIME</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
<column>
- <name>head</name>
- <data-type>VARCHAR(40)</data-type>
+ <name>reason</name>
+ <data-type>SMALLINT</data-type>
+ <required>True</required>
+ <primary-key>False</primary-key>
+ </column>
+ <column>
+ <name>log_file</name>
+ <data-type>VARCHAR(512)</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
</column-list>
</table>
</item>
- <item type="database-table" id="{d01e6205-a6dc-4724-a1fd-d4b2f73637ea}">
+ <item type="database-table" id="{7b159780-7f39-45a7-9557-046874a57e43}">
<position>
- <x>539</x>
- <y>533</y>
+ <x>-62</x>
+ <y>370</y>
</position>
<table>
- <name>upstream_repositories</name>
+ <name>fail_reasons</name>
<color>#ffffff</color>
<column-list>
<column>
@@ -727,12 +775,18 @@
</column>
<column>
<name>name</name>
+ <data-type>VARCHAR(32)</data-type>
+ <required>True</required>
+ <primary-key>False</primary-key>
+ </column>
+ <column>
+ <name>identifier</name>
<data-type>VARCHAR(64)</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
<column>
- <name>git_repository</name>
+ <name>severity</name>
<data-type>SMALLINT</data-type>
<required>True</required>
<primary-key>False</primary-key>
@@ -740,209 +794,179 @@
</column-list>
</table>
</item>
- <item type="database-table" id="{7c210122-c51d-4724-b7cc-22f143bc47ac}">
+ <item type="database-table" id="{92f54126-a433-458e-80b7-67235e560334}">
<position>
- <x>229</x>
- <y>471</y>
+ <x>754</x>
+ <y>399</y>
</position>
<table>
- <name>package_sources</name>
+ <name>repository_stability_relations</name>
<color>#ffffff</color>
<column-list>
<column>
<name>id</name>
- <data-type>BIGINT</data-type>
+ <data-type>MEDIUMINT</data-type>
<required>True</required>
<primary-key>True</primary-key>
</column>
<column>
- <name>pkgbase</name>
- <data-type>VARCHAR(64)</data-type>
+ <name>more_stable</name>
+ <data-type>MEDIUMINT</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
<column>
- <name>git_revision</name>
- <data-type>VARCHAR(40)</data-type>
+ <name>less_stable</name>
+ <data-type>MEDIUMINT</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
+ </column-list>
+ </table>
+ </item>
+ <item type="database-table" id="{9085c36f-5884-41c8-9ca8-9d53973e657d}">
+ <position>
+ <x>737</x>
+ <y>38</y>
+ </position>
+ <table>
+ <name>statitstics</name>
+ <color>#ffffff</color>
+ <column-list>
<column>
- <name>mod_git_revision</name>
- <data-type>VARCHAR(40)</data-type>
+ <name>id</name>
+ <data-type>BIGINT</data-type>
<required>True</required>
- <primary-key>False</primary-key>
+ <primary-key>True</primary-key>
</column>
<column>
- <name>upsream_package_repository</name>
- <data-type>SMALLINT</data-type>
+ <name>date</name>
+ <data-type>DATETIME</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
<column>
- <name>uses_upstream</name>
- <data-type>BIT</data-type>
+ <name>stable_packages_count</name>
+ <data-type>MEDIUMINT</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
<column>
- <name>uses_modification</name>
- <data-type>BIT</data-type>
+ <name>pending_tasks_count</name>
+ <data-type>MEDIUMINT</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
<column>
- <name>commit_time</name>
- <data-type>DATETIME</data-type>
+ <name>staging_packages_count</name>
+ <data-type>MEDIUMINT</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
- </column-list>
- </table>
- </item>
- <item type="database-table" id="{04f424bf-6465-478b-9529-0038615b51d9}">
- <position>
- <x>415</x>
- <y>321</y>
- </position>
- <table>
- <name>architectures</name>
- <color>#ffffff</color>
- <column-list>
<column>
- <name>id</name>
- <data-type>SMALLINT</data-type>
- <required>True</required>
- <primary-key>True</primary-key>
- </column>
- <column>
- <name>name</name>
- <data-type>VARCHAR(16)</data-type>
+ <name>testing_packages_count</name>
+ <data-type>MEDIUMINT</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
- </column-list>
- </table>
- </item>
- <item type="database-table" id="{e84f8e5f-28e0-4d8b-a7e5-0f80a896f74e}">
- <position>
- <x>795</x>
- <y>148</y>
- </position>
- <table>
- <name>install_targets</name>
- <color>#ffffff</color>
- <column-list>
<column>
- <name>id</name>
- <data-type>BIGINT</data-type>
+ <name>broken_tasks_count</name>
+ <data-type>MEDIUMINT</data-type>
<required>True</required>
- <primary-key>True</primary-key>
+ <primary-key>False</primary-key>
</column>
<column>
- <name>name</name>
- <data-type>VARCHAR(64)</data-type>
+ <name>dependency_loops_count</name>
+ <data-type>MEDIUMINT</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
- </column-list>
- </table>
- </item>
- <item type="database-table" id="{caab4a73-46dc-49dc-ac51-d8ae916827c5}">
- <position>
- <x>564</x>
- <y>22</y>
- </position>
- <table>
- <name>dependencies</name>
- <color>#ffffff</color>
- <column-list>
<column>
- <name>id</name>
- <data-type>BIGINT</data-type>
+ <name>dependency_looped_tasks_count</name>
+ <data-type>MEDIUMINT</data-type>
<required>True</required>
- <primary-key>True</primary-key>
+ <primary-key>False</primary-key>
</column>
<column>
- <name>dependent</name>
- <data-type>BIGINT</data-type>
+ <name>locked_tasks_count</name>
+ <data-type>MEDIUMINT</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
<column>
- <name>depending_on</name>
- <data-type>BIGINT</data-type>
+ <name>blocked_tasks_count</name>
+ <data-type>MEDIUMINT</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
<column>
- <name>dependency_type</name>
- <data-type>SMALLINT</data-type>
+ <name>next_tasks_count</name>
+ <data-type>MEDIUMINT</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
</column-list>
</table>
</item>
- <item type="database-table" id="{be821d83-a9b4-4c0c-8e1b-433730200714}">
+ <item type="database-table" id="{dc01c567-d657-4db7-8a55-d2763ed00cee}">
<position>
- <x>744</x>
- <y>17</y>
+ <x>945</x>
+ <y>-70</y>
</position>
<table>
- <name>dependency_types</name>
+ <name>todos</name>
<color>#ffffff</color>
<column-list>
<column>
<name>id</name>
- <data-type>SMALLINT</data-type>
+ <data-type>BIGINT</data-type>
<required>True</required>
<primary-key>True</primary-key>
</column>
<column>
- <name>name</name>
- <data-type>VARCHAR(32)</data-type>
+ <name>file</name>
+ <data-type>VARCHAR(64)</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
<column>
- <name>relevant_for_building</name>
- <data-type>BIT</data-type>
+ <name>line</name>
+ <data-type>MEDIUMINT</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
<column>
- <name>relevant_for_binary_packages</name>
- <data-type>BIT</data-type>
+ <name>description</name>
+ <data-type>TEXT</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
+ <column>
+ <name>importance</name>
+ <data-type>SMALLINT</data-type>
+ <required>False</required>
+ <primary-key>False</primary-key>
+ </column>
</column-list>
</table>
</item>
- <item type="database-table" id="{04b6fdc5-85ae-4416-8db5-034ad05be93a}">
+ <item type="database-table" id="{36980651-4f03-4748-aee8-1f9211aaafde}">
<position>
- <x>52</x>
- <y>516</y>
+ <x>788</x>
+ <y>-60</y>
</position>
<table>
- <name>build_dependency_loops</name>
+ <name>todo_links</name>
<color>#ffffff</color>
<column-list>
<column>
- <name>id</name>
+ <name>dependent</name>
<data-type>BIGINT</data-type>
<required>True</required>
- <primary-key>True</primary-key>
- </column>
- <column>
- <name>loop</name>
- <data-type>MEDIUMINT</data-type>
- <required>True</required>
<primary-key>False</primary-key>
</column>
<column>
- <name>build_assignment</name>
+ <name>depending_on</name>
<data-type>BIGINT</data-type>
<required>True</required>
<primary-key>False</primary-key>
@@ -950,18 +974,18 @@
</column-list>
</table>
</item>
- <item type="database-table" id="{fee50b4d-969b-4b5f-8545-90ea8f8f7aec}">
+ <item type="database-table" id="{75e4ebd8-5915-4aff-8316-0c542d3953da}">
<position>
- <x>763</x>
- <y>241</y>
+ <x>258</x>
+ <y>-44</y>
</position>
<table>
- <name>repository_stabilities</name>
+ <name>persons</name>
<color>#ffffff</color>
<column-list>
<column>
<name>id</name>
- <data-type>SMALLINT</data-type>
+ <data-type>MEDIUMINT</data-type>
<required>True</required>
<primary-key>True</primary-key>
</column>
@@ -971,58 +995,46 @@
<required>True</required>
<primary-key>False</primary-key>
</column>
- <column>
- <name>bugtracker_category</name>
- <data-type>VARCHAR(32)</data-type>
- <required>False</required>
- <primary-key>False</primary-key>
- </column>
</column-list>
</table>
</item>
- <item type="database-table" id="{d823ab09-1c04-44ee-ad4b-6802208967ff}">
+ <item type="database-table" id="{f31249ea-ab19-45a4-9427-1854379ad8e7}">
<position>
- <x>481</x>
- <y>395</y>
+ <x>106</x>
+ <y>-51</y>
</position>
<table>
- <name>repository_moves</name>
+ <name>gpg_keys</name>
<color>#ffffff</color>
<column-list>
<column>
<name>id</name>
- <data-type>MEDIUMINT</data-type>
+ <data-type>BIGINT</data-type>
<required>True</required>
<primary-key>True</primary-key>
</column>
<column>
- <name>from_repository</name>
- <data-type>MEDIUMINT</data-type>
+ <name>fingerprint</name>
+ <data-type>VARCHAR(40)</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
<column>
- <name>to_repository</name>
+ <name>owner</name>
<data-type>MEDIUMINT</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
- <column>
- <name>upstream_package_repository</name>
- <data-type>SMALLINT</data-type>
- <required>True</required>
- <primary-key>False</primary-key>
- </column>
</column-list>
</table>
</item>
- <item type="database-table" id="{5cbe15f1-fea8-48eb-a84f-97f7e22060f6}">
+ <item type="database-table" id="{b5671c08-e24a-4293-b983-3c86b1a6d622}">
<position>
- <x>-55</x>
- <y>-72</y>
+ <x>68</x>
+ <y>49</y>
</position>
<table>
- <name>mail_log</name>
+ <name>allowed_email_actions</name>
<color>#ffffff</color>
<column-list>
<column>
@@ -1032,79 +1044,67 @@
<primary-key>True</primary-key>
</column>
<column>
- <name>date</name>
- <data-type>DATETIME</data-type>
- <required>True</required>
- <primary-key>False</primary-key>
- </column>
- <column>
- <name>success</name>
- <data-type>BIT</data-type>
+ <name>gpg_key</name>
+ <data-type>BIGINT</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
<column>
<name>action</name>
- <data-type>ENUM</data-type>
- <required>False</required>
- <primary-key>False</primary-key>
- </column>
- <column>
- <name>count</name>
<data-type>MEDIUMINT</data-type>
- <required>False</required>
- <primary-key>False</primary-key>
- </column>
- <column>
- <name>gpg_key</name>
- <data-type>BIGINT</data-type>
- <required>False</required>
- <primary-key>False</primary-key>
- </column>
- <column>
- <name>comment</name>
- <data-type>TEXT</data-type>
- <required>False</required>
+ <required>True</required>
<primary-key>False</primary-key>
</column>
</column-list>
</table>
</item>
- <item type="database-table" id="{5f12db03-a8bb-4467-bab6-a57e545b9081}">
+ <item type="database-table" id="{6180fcbf-5069-4d86-8919-fd39394f1813}">
<position>
- <x>42</x>
- <y>135</y>
+ <x>-68</x>
+ <y>71</y>
</position>
<table>
- <name>ssh_log</name>
+ <name>email_actions</name>
<color>#ffffff</color>
<column-list>
<column>
<name>id</name>
- <data-type>BIGINT</data-type>
+ <data-type>MEDIUMINT</data-type>
<required>True</required>
<primary-key>True</primary-key>
</column>
<column>
- <name>date</name>
- <data-type>DATETIME</data-type>
+ <name>name</name>
+ <data-type>VARCHAR(32)</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
+ </column-list>
+ </table>
+ </item>
+ <item type="database-table" id="{33867a1e-ef36-4cc2-a08e-7366f56fbf5f}">
+ <position>
+ <x>237</x>
+ <y>40</y>
+ </position>
+ <table>
+ <name>ssh_keys</name>
+ <color>#ffffff</color>
+ <column-list>
<column>
- <name>build_slave</name>
- <data-type>MEDIUMINT</data-type>
+ <name>id</name>
+ <data-type>BIGINT</data-type>
<required>True</required>
- <primary-key>False</primary-key>
+ <primary-key>True</primary-key>
</column>
<column>
- <name>action</name>
- <data-type>ENUM</data-type>
+ <name>owner</name>
+ <data-type>MEDIUMINT</data-type>
<required>True</required>
<primary-key>False</primary-key>
</column>
<column>
- <name>parameters</name>
+ <name>fingerprint</name>
<data-type>TEXT</data-type>
<required>True</required>
<primary-key>False</primary-key>
@@ -1112,24 +1112,24 @@
</column-list>
</table>
</item>
- <item type="database-relationship" id="{3539786a-db3b-4c5c-ba35-e89fb027cda8}">
+ <item type="database-relationship" id="{9a650bd7-521d-499f-ac79-a0fd9226a656}">
<line>
<connector-list>
<connector>
<position>
- <x>290.109</x>
- <y>40</y>
+ <x>153.531</x>
+ <y>180.906</y>
</position>
- <angle>90</angle>
- <hub owner="{33867a1e-ef36-4cc2-a08e-7366f56fbf5f}"/>
+ <angle>0</angle>
+ <hub owner="{5f12db03-a8bb-4467-bab6-a57e545b9081}"/>
</connector>
<connector>
<position>
- <x>292.289</x>
- <y>5.8125</y>
+ <x>186</x>
+ <y>196.906</y>
</position>
- <angle>270</angle>
- <hub owner="{75e4ebd8-5915-4aff-8316-0c542d3953da}"/>
+ <angle>180</angle>
+ <hub owner="{a945e439-8796-49e8-aa9b-7ce0a58a2c26}"/>
</connector>
</connector-list>
</line>
@@ -1140,29 +1140,29 @@
<parent>Mandatory</parent>
</modality>
<columns>
- <child>1</child>
+ <child>2</child>
<parent>0</parent>
</columns>
</relationship>
</item>
- <item type="database-relationship" id="{326ba5fe-513e-48e9-b924-51305ffa2aeb}">
+ <item type="database-relationship" id="{30efa4b2-f4e7-4c8d-943e-44c699e54853}">
<line>
<connector-list>
<connector>
<position>
- <x>256.727</x>
- <y>137</y>
+ <x>599.133</x>
+ <y>472.812</y>
</position>
- <angle>90</angle>
- <hub owner="{a945e439-8796-49e8-aa9b-7ce0a58a2c26}"/>
+ <angle>270</angle>
+ <hub owner="{d823ab09-1c04-44ee-ad4b-6802208967ff}"/>
</connector>
<connector>
<position>
- <x>290.109</x>
- <y>103.812</y>
+ <x>613.727</x>
+ <y>533</y>
</position>
- <angle>270</angle>
- <hub owner="{33867a1e-ef36-4cc2-a08e-7366f56fbf5f}"/>
+ <angle>90</angle>
+ <hub owner="{d01e6205-a6dc-4724-a1fd-d4b2f73637ea}"/>
</connector>
</connector-list>
</line>
@@ -1173,29 +1173,29 @@
<parent>Mandatory</parent>
</modality>
<columns>
- <child>2</child>
+ <child>3</child>
<parent>0</parent>
</columns>
</relationship>
</item>
- <item type="database-relationship" id="{4174d8cf-11ae-4a89-bc89-ae6044cee76d}">
+ <item type="database-relationship" id="{6094d4c4-439f-4e6c-94e1-736ae145362a}">
<line>
<connector-list>
<connector>
<position>
- <x>-9.85156</x>
- <y>47.8125</y>
+ <x>559.755</x>
+ <y>395</y>
</position>
- <angle>270</angle>
- <hub owner="{5cbe15f1-fea8-48eb-a84f-97f7e22060f6}"/>
+ <angle>90</angle>
+ <hub owner="{d823ab09-1c04-44ee-ad4b-6802208967ff}"/>
</connector>
<connector>
<position>
- <x>-20.2734</x>
- <y>71</y>
+ <x>585.469</x>
+ <y>350.812</y>
</position>
- <angle>90</angle>
- <hub owner="{6180fcbf-5069-4d86-8919-fd39394f1813}"/>
+ <angle>270</angle>
+ <hub owner="{844766fc-c5af-4f61-b51b-d3f9393c60ca}"/>
</connector>
</connector-list>
</line>
@@ -1206,29 +1206,29 @@
<parent>Mandatory</parent>
</modality>
<columns>
- <child>3</child>
+ <child>1</child>
<parent>0</parent>
</columns>
</relationship>
</item>
- <item type="database-relationship" id="{af592aac-17cd-415f-99e8-9cf164311215}">
+ <item type="database-relationship" id="{4b0f5386-c5f6-4fa4-9c78-f0d85410c366}">
<line>
<connector-list>
<connector>
<position>
- <x>68</x>
- <y>80.9062</y>
+ <x>638.51</x>
+ <y>395</y>
</position>
- <angle>180</angle>
- <hub owner="{b5671c08-e24a-4293-b983-3c86b1a6d622}"/>
+ <angle>90</angle>
+ <hub owner="{d823ab09-1c04-44ee-ad4b-6802208967ff}"/>
</connector>
<connector>
<position>
- <x>28.4531</x>
- <y>95.9062</y>
+ <x>641.938</x>
+ <y>350.812</y>
</position>
- <angle>0</angle>
- <hub owner="{6180fcbf-5069-4d86-8919-fd39394f1813}"/>
+ <angle>270</angle>
+ <hub owner="{844766fc-c5af-4f61-b51b-d3f9393c60ca}"/>
</connector>
</connector-list>
</line>
@@ -1244,24 +1244,24 @@
</columns>
</relationship>
</item>
- <item type="database-relationship" id="{80755775-c938-4545-b4eb-1f08cfb1f0cc}">
+ <item type="database-relationship" id="{c54c97e3-dd0a-4b21-9eeb-708d5b492e2a}">
<line>
<connector-list>
<connector>
<position>
- <x>142.789</x>
- <y>49</y>
+ <x>476.146</x>
+ <y>257.812</y>
</position>
- <angle>90</angle>
- <hub owner="{b5671c08-e24a-4293-b983-3c86b1a6d622}"/>
+ <angle>270</angle>
+ <hub owner="{2e6c3b80-fef6-4d2b-8945-7ea6be1b646c}"/>
</connector>
<connector>
<position>
- <x>159.109</x>
- <y>12.8125</y>
+ <x>462.273</x>
+ <y>321</y>
</position>
- <angle>270</angle>
- <hub owner="{f31249ea-ab19-45a4-9427-1854379ad8e7}"/>
+ <angle>90</angle>
+ <hub owner="{04f424bf-6465-478b-9529-0038615b51d9}"/>
</connector>
</connector-list>
</line>
@@ -1272,29 +1272,29 @@
<parent>Mandatory</parent>
</modality>
<columns>
- <child>1</child>
+ <child>11</child>
<parent>0</parent>
</columns>
</relationship>
</item>
- <item type="database-relationship" id="{803ce991-1984-4cab-9bb8-48acabb347af}">
+ <item type="database-relationship" id="{d3ded37c-70d5-4388-8e27-2329f59a1d9c}">
<line>
<connector-list>
<connector>
<position>
- <x>35.2969</x>
- <y>-12.0938</y>
+ <x>499.672</x>
+ <y>-34.0625</y>
</position>
<angle>0</angle>
- <hub owner="{5cbe15f1-fea8-48eb-a84f-97f7e22060f6}"/>
+ <hub owner="{caab4a73-46dc-49dc-ac51-d8ae916827c5}"/>
</connector>
<connector>
<position>
- <x>106</x>
- <y>-19.0938</y>
+ <x>540</x>
+ <y>-25.0938</y>
</position>
<angle>180</angle>
- <hub owner="{f31249ea-ab19-45a4-9427-1854379ad8e7}"/>
+ <hub owner="{be821d83-a9b4-4c0c-8e1b-433730200714}"/>
</connector>
</connector-list>
</line>
@@ -1305,29 +1305,29 @@
<parent>Mandatory</parent>
</modality>
<columns>
- <child>5</child>
+ <child>3</child>
<parent>0</parent>
</columns>
</relationship>
</item>
- <item type="database-relationship" id="{abba2005-f23b-445f-aea6-ff9365bc1569}">
+ <item type="database-relationship" id="{67f0b7bd-a201-45d1-b18c-db46a8de0480}">
<line>
<connector-list>
<connector>
<position>
- <x>212.219</x>
- <y>-19.0938</y>
+ <x>698.406</x>
+ <y>311.906</y>
</position>
<angle>0</angle>
- <hub owner="{f31249ea-ab19-45a4-9427-1854379ad8e7}"/>
+ <hub owner="{844766fc-c5af-4f61-b51b-d3f9393c60ca}"/>
</connector>
<connector>
<position>
- <x>257</x>
- <y>-19.0938</y>
+ <x>763</x>
+ <y>272.906</y>
</position>
<angle>180</angle>
- <hub owner="{75e4ebd8-5915-4aff-8316-0c542d3953da}"/>
+ <hub owner="{fee50b4d-969b-4b5f-8545-90ea8f8f7aec}"/>
</connector>
</connector-list>
</line>
@@ -1343,24 +1343,24 @@
</columns>
</relationship>
</item>
- <item type="database-relationship" id="{172204a1-76e9-45fc-826f-b3d174112734}">
+ <item type="database-relationship" id="{ab992baa-6a2c-441b-a290-da42a791eb95}">
<line>
<connector-list>
<connector>
<position>
- <x>1101.23</x>
- <y>271.604</y>
+ <x>499.672</x>
+ <y>-8.125</y>
</position>
<angle>0</angle>
- <hub owner="{36980651-4f03-4748-aee8-1f9211aaafde}"/>
+ <hub owner="{caab4a73-46dc-49dc-ac51-d8ae916827c5}"/>
</connector>
<connector>
<position>
- <x>1142</x>
- <y>265.604</y>
+ <x>563</x>
+ <y>66.9062</y>
</position>
<angle>180</angle>
- <hub owner="{dc01c567-d657-4db7-8a55-d2763ed00cee}"/>
+ <hub owner="{e84f8e5f-28e0-4d8b-a7e5-0f80a896f74e}"/>
</connector>
</connector-list>
</line>
@@ -1371,29 +1371,29 @@
<parent>Mandatory</parent>
</modality>
<columns>
- <child>0</child>
+ <child>2</child>
<parent>0</parent>
</columns>
</relationship>
</item>
- <item type="database-relationship" id="{bb03129e-aba8-4449-88c1-6c352745aeda}">
+ <item type="database-relationship" id="{9a1b5925-a86a-470b-9c2b-3132fdcfc87e}">
<line>
<connector-list>
<connector>
<position>
- <x>1101.23</x>
- <y>288.208</y>
+ <x>631.109</x>
+ <y>131</y>
</position>
- <angle>0</angle>
- <hub owner="{36980651-4f03-4748-aee8-1f9211aaafde}"/>
+ <angle>90</angle>
+ <hub owner="{f8caa2d5-11ba-485c-b273-8183713896bf}"/>
</connector>
<connector>
<position>
- <x>1142</x>
- <y>296.208</y>
+ <x>613.016</x>
+ <y>91.8125</y>
</position>
- <angle>180</angle>
- <hub owner="{dc01c567-d657-4db7-8a55-d2763ed00cee}"/>
+ <angle>270</angle>
+ <hub owner="{e84f8e5f-28e0-4d8b-a7e5-0f80a896f74e}"/>
</connector>
</connector-list>
</line>
@@ -1404,29 +1404,29 @@
<parent>Mandatory</parent>
</modality>
<columns>
- <child>1</child>
+ <child>2</child>
<parent>0</parent>
</columns>
</relationship>
</item>
- <item type="database-relationship" id="{fa899065-104a-466d-bc8c-16589a774a45}">
+ <item type="database-relationship" id="{f26515ec-f37f-4eb3-a07f-6d5077208806}">
<line>
<connector-list>
<connector>
<position>
- <x>816.656</x>
- <y>399</y>
+ <x>423.836</x>
+ <y>17.8125</y>
</position>
- <angle>90</angle>
- <hub owner="{92f54126-a433-458e-80b7-67235e560334}"/>
+ <angle>270</angle>
+ <hub owner="{caab4a73-46dc-49dc-ac51-d8ae916827c5}"/>
</connector>
<connector>
<position>
- <x>815.635</x>
- <y>304.812</y>
+ <x>450.859</x>
+ <y>54</y>
</position>
- <angle>270</angle>
- <hub owner="{fee50b4d-969b-4b5f-8545-90ea8f8f7aec}"/>
+ <angle>90</angle>
+ <hub owner="{2e6c3b80-fef6-4d2b-8945-7ea6be1b646c}"/>
</connector>
</connector-list>
</line>
@@ -1437,29 +1437,29 @@
<parent>Mandatory</parent>
</modality>
<columns>
- <child>2</child>
+ <child>1</child>
<parent>0</parent>
</columns>
</relationship>
</item>
- <item type="database-relationship" id="{8f5f94cd-2919-43f6-ae67-6b783850a2e7}">
+ <item type="database-relationship" id="{89cacf0f-5195-48db-aace-02a13aa29eee}">
<line>
<connector-list>
<connector>
<position>
- <x>879.312</x>
- <y>399</y>
+ <x>553</x>
+ <y>162.906</y>
</position>
- <angle>90</angle>
- <hub owner="{92f54126-a433-458e-80b7-67235e560334}"/>
+ <angle>180</angle>
+ <hub owner="{f8caa2d5-11ba-485c-b273-8183713896bf}"/>
</connector>
<connector>
<position>
- <x>868.271</x>
- <y>304.812</y>
+ <x>526.719</x>
+ <y>121.938</y>
</position>
- <angle>270</angle>
- <hub owner="{fee50b4d-969b-4b5f-8545-90ea8f8f7aec}"/>
+ <angle>0</angle>
+ <hub owner="{2e6c3b80-fef6-4d2b-8945-7ea6be1b646c}"/>
</connector>
</connector-list>
</line>
@@ -1475,24 +1475,24 @@
</columns>
</relationship>
</item>
- <item type="database-relationship" id="{65ace480-001e-4e4e-912d-2a975ff995c8}">
+ <item type="database-relationship" id="{48ec4e54-ceb5-48f1-b773-9ab92f6c1c5a}">
<line>
<connector-list>
<connector>
<position>
- <x>103.573</x>
- <y>346</y>
+ <x>459.531</x>
+ <y>537.906</y>
</position>
- <angle>90</angle>
- <hub owner="{a774fcb7-1193-4b57-947c-135212695915}"/>
+ <angle>0</angle>
+ <hub owner="{7c210122-c51d-4724-b7cc-22f143bc47ac}"/>
</connector>
<connector>
<position>
- <x>98.7188</x>
- <y>321.812</y>
+ <x>539</x>
+ <y>564.906</y>
</position>
- <angle>270</angle>
- <hub owner="{7b159780-7f39-45a7-9557-046874a57e43}"/>
+ <angle>180</angle>
+ <hub owner="{d01e6205-a6dc-4724-a1fd-d4b2f73637ea}"/>
</connector>
</connector-list>
</line>
@@ -1508,24 +1508,24 @@
</columns>
</relationship>
</item>
- <item type="database-relationship" id="{35556854-c6c3-45e8-9e10-bd5150680fd2}">
+ <item type="database-relationship" id="{75410d72-ad2c-4357-aab5-e97f9fb74da5}">
<line>
<connector-list>
<connector>
<position>
- <x>204.719</x>
- <y>398.906</y>
+ <x>526.719</x>
+ <y>189.875</y>
</position>
<angle>0</angle>
- <hub owner="{a774fcb7-1193-4b57-947c-135212695915}"/>
+ <hub owner="{2e6c3b80-fef6-4d2b-8945-7ea6be1b646c}"/>
</connector>
<connector>
<position>
- <x>247</x>
- <y>350.906</y>
+ <x>613.703</x>
+ <y>273</y>
</position>
- <angle>180</angle>
- <hub owner="{6ea5c997-98b5-4ec8-b63e-3f2acdcaf627}"/>
+ <angle>90</angle>
+ <hub owner="{844766fc-c5af-4f61-b51b-d3f9393c60ca}"/>
</connector>
</connector-list>
</line>
@@ -1541,24 +1541,24 @@
</columns>
</relationship>
</item>
- <item type="database-relationship" id="{307a930b-cbe8-4000-b89d-b6cc99479b19}">
+ <item type="database-relationship" id="{fb5f9b76-6f5d-4c06-b7dd-f89583096ba7}">
<line>
<connector-list>
<connector>
<position>
- <x>154.146</x>
- <y>346</y>
+ <x>688.453</x>
+ <y>564.906</y>
</position>
- <angle>90</angle>
- <hub owner="{a774fcb7-1193-4b57-947c-135212695915}"/>
+ <angle>0</angle>
+ <hub owner="{d01e6205-a6dc-4724-a1fd-d4b2f73637ea}"/>
</connector>
<connector>
<position>
- <x>233.151</x>
- <y>256.812</y>
+ <x>770</x>
+ <y>553.906</y>
</position>
- <angle>270</angle>
- <hub owner="{a945e439-8796-49e8-aa9b-7ce0a58a2c26}"/>
+ <angle>180</angle>
+ <hub owner="{b3c86235-971a-4d3e-873c-c4179aa96cbc}"/>
</connector>
</connector-list>
</line>
@@ -1569,29 +1569,29 @@
<parent>Mandatory</parent>
</modality>
<columns>
- <child>1</child>
+ <child>2</child>
<parent>0</parent>
</columns>
</relationship>
</item>
- <item type="database-relationship" id="{40654aec-f5e1-4d82-a528-102a76a971d3}">
+ <item type="database-relationship" id="{1702ddc7-99c5-4af4-8731-eb8f4b6306d3}">
<line>
<connector-list>
<connector>
<position>
- <x>133.195</x>
- <y>516</y>
+ <x>340.948</x>
+ <y>410.812</y>
</position>
- <angle>90</angle>
- <hub owner="{04b6fdc5-85ae-4416-8db5-034ad05be93a}"/>
+ <angle>270</angle>
+ <hub owner="{6ea5c997-98b5-4ec8-b63e-3f2acdcaf627}"/>
</connector>
<connector>
<position>
- <x>293.974</x>
- <y>410.812</y>
+ <x>344.266</x>
+ <y>471</y>
</position>
- <angle>270</angle>
- <hub owner="{6ea5c997-98b5-4ec8-b63e-3f2acdcaf627}"/>
+ <angle>90</angle>
+ <hub owner="{7c210122-c51d-4724-b7cc-22f143bc47ac}"/>
</connector>
</connector-list>
</line>
@@ -1602,29 +1602,29 @@
<parent>Mandatory</parent>
</modality>
<columns>
- <child>2</child>
+ <child>1</child>
<parent>0</parent>
</columns>
</relationship>
</item>
- <item type="database-relationship" id="{41ee8002-8436-4c74-9f79-75b7a8b9d0bf}">
+ <item type="database-relationship" id="{2e8b92fe-d2c0-47e0-91b6-d1667772d162}">
<line>
<connector-list>
<connector>
<position>
- <x>280.302</x>
- <y>256.812</y>
+ <x>387.922</x>
+ <y>350.906</y>
</position>
- <angle>270</angle>
- <hub owner="{a945e439-8796-49e8-aa9b-7ce0a58a2c26}"/>
+ <angle>0</angle>
+ <hub owner="{6ea5c997-98b5-4ec8-b63e-3f2acdcaf627}"/>
</connector>
<connector>
<position>
- <x>293.974</x>
- <y>291</y>
+ <x>415</x>
+ <y>345.906</y>
</position>
- <angle>90</angle>
- <hub owner="{6ea5c997-98b5-4ec8-b63e-3f2acdcaf627}"/>
+ <angle>180</angle>
+ <hub owner="{04f424bf-6465-478b-9529-0038615b51d9}"/>
</connector>
</connector-list>
</line>
@@ -1635,7 +1635,7 @@
<parent>Mandatory</parent>
</modality>
<columns>
- <child>3</child>
+ <child>2</child>
<parent>0</parent>
</columns>
</relationship>
@@ -1673,24 +1673,24 @@
</columns>
</relationship>
</item>
- <item type="database-relationship" id="{2e8b92fe-d2c0-47e0-91b6-d1667772d162}">
+ <item type="database-relationship" id="{41ee8002-8436-4c74-9f79-75b7a8b9d0bf}">
<line>
<connector-list>
<connector>
<position>
- <x>387.922</x>
- <y>350.906</y>
+ <x>280.302</x>
+ <y>256.812</y>
</position>
- <angle>0</angle>
- <hub owner="{6ea5c997-98b5-4ec8-b63e-3f2acdcaf627}"/>
+ <angle>270</angle>
+ <hub owner="{a945e439-8796-49e8-aa9b-7ce0a58a2c26}"/>
</connector>
<connector>
<position>
- <x>415</x>
- <y>345.906</y>
+ <x>293.974</x>
+ <y>291</y>
</position>
- <angle>180</angle>
- <hub owner="{04f424bf-6465-478b-9529-0038615b51d9}"/>
+ <angle>90</angle>
+ <hub owner="{6ea5c997-98b5-4ec8-b63e-3f2acdcaf627}"/>
</connector>
</connector-list>
</line>
@@ -1701,29 +1701,29 @@
<parent>Mandatory</parent>
</modality>
<columns>
- <child>2</child>
+ <child>3</child>
<parent>0</parent>
</columns>
</relationship>
</item>
- <item type="database-relationship" id="{1702ddc7-99c5-4af4-8731-eb8f4b6306d3}">
+ <item type="database-relationship" id="{40654aec-f5e1-4d82-a528-102a76a971d3}">
<line>
<connector-list>
<connector>
<position>
- <x>340.948</x>
- <y>410.812</y>
+ <x>133.195</x>
+ <y>516</y>
</position>
- <angle>270</angle>
- <hub owner="{6ea5c997-98b5-4ec8-b63e-3f2acdcaf627}"/>
+ <angle>90</angle>
+ <hub owner="{04b6fdc5-85ae-4416-8db5-034ad05be93a}"/>
</connector>
<connector>
<position>
- <x>344.266</x>
- <y>471</y>
+ <x>293.974</x>
+ <y>410.812</y>
</position>
- <angle>90</angle>
- <hub owner="{7c210122-c51d-4724-b7cc-22f143bc47ac}"/>
+ <angle>270</angle>
+ <hub owner="{6ea5c997-98b5-4ec8-b63e-3f2acdcaf627}"/>
</connector>
</connector-list>
</line>
@@ -1734,29 +1734,29 @@
<parent>Mandatory</parent>
</modality>
<columns>
- <child>1</child>
+ <child>2</child>
<parent>0</parent>
</columns>
</relationship>
</item>
- <item type="database-relationship" id="{fb5f9b76-6f5d-4c06-b7dd-f89583096ba7}">
+ <item type="database-relationship" id="{307a930b-cbe8-4000-b89d-b6cc99479b19}">
<line>
<connector-list>
<connector>
<position>
- <x>688.453</x>
- <y>564.906</y>
+ <x>128.859</x>
+ <y>346</y>
</position>
- <angle>0</angle>
- <hub owner="{d01e6205-a6dc-4724-a1fd-d4b2f73637ea}"/>
+ <angle>90</angle>
+ <hub owner="{a774fcb7-1193-4b57-947c-135212695915}"/>
</connector>
<connector>
<position>
- <x>770</x>
- <y>553.906</y>
+ <x>233.151</x>
+ <y>256.812</y>
</position>
- <angle>180</angle>
- <hub owner="{b3c86235-971a-4d3e-873c-c4179aa96cbc}"/>
+ <angle>270</angle>
+ <hub owner="{a945e439-8796-49e8-aa9b-7ce0a58a2c26}"/>
</connector>
</connector-list>
</line>
@@ -1767,29 +1767,29 @@
<parent>Mandatory</parent>
</modality>
<columns>
- <child>2</child>
+ <child>1</child>
<parent>0</parent>
</columns>
</relationship>
</item>
- <item type="database-relationship" id="{75410d72-ad2c-4357-aab5-e97f9fb74da5}">
+ <item type="database-relationship" id="{35556854-c6c3-45e8-9e10-bd5150680fd2}">
<line>
<connector-list>
<connector>
<position>
- <x>526.719</x>
- <y>206.859</y>
+ <x>204.719</x>
+ <y>398.906</y>
</position>
<angle>0</angle>
- <hub owner="{2e6c3b80-fef6-4d2b-8945-7ea6be1b646c}"/>
+ <hub owner="{a774fcb7-1193-4b57-947c-135212695915}"/>
</connector>
<connector>
<position>
- <x>613.703</x>
- <y>273</y>
+ <x>247</x>
+ <y>350.906</y>
</position>
- <angle>90</angle>
- <hub owner="{844766fc-c5af-4f61-b51b-d3f9393c60ca}"/>
+ <angle>180</angle>
+ <hub owner="{6ea5c997-98b5-4ec8-b63e-3f2acdcaf627}"/>
</connector>
</connector-list>
</line>
@@ -1805,24 +1805,24 @@
</columns>
</relationship>
</item>
- <item type="database-relationship" id="{48ec4e54-ceb5-48f1-b773-9ab92f6c1c5a}">
+ <item type="database-relationship" id="{65ace480-001e-4e4e-912d-2a975ff995c8}">
<line>
<connector-list>
<connector>
<position>
- <x>459.531</x>
- <y>537.906</y>
+ <x>53</x>
+ <y>398.906</y>
</position>
- <angle>0</angle>
- <hub owner="{7c210122-c51d-4724-b7cc-22f143bc47ac}"/>
+ <angle>180</angle>
+ <hub owner="{a774fcb7-1193-4b57-947c-135212695915}"/>
</connector>
<connector>
<position>
- <x>539</x>
- <y>564.906</y>
+ <x>33.4375</x>
+ <y>408.906</y>
</position>
- <angle>180</angle>
- <hub owner="{d01e6205-a6dc-4724-a1fd-d4b2f73637ea}"/>
+ <angle>0</angle>
+ <hub owner="{7b159780-7f39-45a7-9557-046874a57e43}"/>
</connector>
</connector-list>
</line>
@@ -1838,24 +1838,24 @@
</columns>
</relationship>
</item>
- <item type="database-relationship" id="{89cacf0f-5195-48db-aace-02a13aa29eee}">
+ <item type="database-relationship" id="{8f5f94cd-2919-43f6-ae67-6b783850a2e7}">
<line>
<connector-list>
<connector>
<position>
- <x>553</x>
- <y>162.906</y>
+ <x>816.656</x>
+ <y>399</y>
</position>
- <angle>180</angle>
- <hub owner="{f8caa2d5-11ba-485c-b273-8183713896bf}"/>
+ <angle>90</angle>
+ <hub owner="{92f54126-a433-458e-80b7-67235e560334}"/>
</connector>
<connector>
<position>
- <x>526.719</x>
- <y>155.906</y>
+ <x>815.635</x>
+ <y>304.812</y>
</position>
- <angle>0</angle>
- <hub owner="{2e6c3b80-fef6-4d2b-8945-7ea6be1b646c}"/>
+ <angle>270</angle>
+ <hub owner="{fee50b4d-969b-4b5f-8545-90ea8f8f7aec}"/>
</connector>
</connector-list>
</line>
@@ -1871,24 +1871,24 @@
</columns>
</relationship>
</item>
- <item type="database-relationship" id="{f26515ec-f37f-4eb3-a07f-6d5077208806}">
+ <item type="database-relationship" id="{fa899065-104a-466d-bc8c-16589a774a45}">
<line>
<connector-list>
<connector>
<position>
- <x>564</x>
- <y>60.9062</y>
+ <x>879.312</x>
+ <y>399</y>
</position>
- <angle>180</angle>
- <hub owner="{caab4a73-46dc-49dc-ac51-d8ae916827c5}"/>
+ <angle>90</angle>
+ <hub owner="{92f54126-a433-458e-80b7-67235e560334}"/>
</connector>
<connector>
<position>
- <x>526.719</x>
- <y>104.953</y>
+ <x>868.271</x>
+ <y>304.812</y>
</position>
- <angle>0</angle>
- <hub owner="{2e6c3b80-fef6-4d2b-8945-7ea6be1b646c}"/>
+ <angle>270</angle>
+ <hub owner="{fee50b4d-969b-4b5f-8545-90ea8f8f7aec}"/>
</connector>
</connector-list>
</line>
@@ -1899,29 +1899,29 @@
<parent>Mandatory</parent>
</modality>
<columns>
- <child>1</child>
+ <child>2</child>
<parent>0</parent>
</columns>
</relationship>
</item>
- <item type="database-relationship" id="{9a1b5925-a86a-470b-9c2b-3132fdcfc87e}">
+ <item type="database-relationship" id="{bb03129e-aba8-4449-88c1-6c352745aeda}">
<line>
<connector-list>
<connector>
<position>
- <x>709.219</x>
- <y>162.906</y>
+ <x>915.234</x>
+ <y>-43.3958</y>
</position>
<angle>0</angle>
- <hub owner="{f8caa2d5-11ba-485c-b273-8183713896bf}"/>
+ <hub owner="{36980651-4f03-4748-aee8-1f9211aaafde}"/>
</connector>
<connector>
<position>
- <x>795</x>
- <y>172.906</y>
+ <x>945</x>
+ <y>-39.3958</y>
</position>
<angle>180</angle>
- <hub owner="{e84f8e5f-28e0-4d8b-a7e5-0f80a896f74e}"/>
+ <hub owner="{dc01c567-d657-4db7-8a55-d2763ed00cee}"/>
</connector>
</connector-list>
</line>
@@ -1932,29 +1932,29 @@
<parent>Mandatory</parent>
</modality>
<columns>
- <child>2</child>
+ <child>1</child>
<parent>0</parent>
</columns>
</relationship>
</item>
- <item type="database-relationship" id="{ab992baa-6a2c-441b-a290-da42a791eb95}">
+ <item type="database-relationship" id="{172204a1-76e9-45fc-826f-b3d174112734}">
<line>
<connector-list>
<connector>
<position>
- <x>639.836</x>
- <y>99.8125</y>
+ <x>915.234</x>
+ <y>-26.7917</y>
</position>
- <angle>270</angle>
- <hub owner="{caab4a73-46dc-49dc-ac51-d8ae916827c5}"/>
+ <angle>0</angle>
+ <hub owner="{36980651-4f03-4748-aee8-1f9211aaafde}"/>
</connector>
<connector>
<position>
- <x>845.016</x>
- <y>148</y>
+ <x>945</x>
+ <y>-8.79167</y>
</position>
- <angle>90</angle>
- <hub owner="{e84f8e5f-28e0-4d8b-a7e5-0f80a896f74e}"/>
+ <angle>180</angle>
+ <hub owner="{dc01c567-d657-4db7-8a55-d2763ed00cee}"/>
</connector>
</connector-list>
</line>
@@ -1965,29 +1965,29 @@
<parent>Mandatory</parent>
</modality>
<columns>
- <child>2</child>
+ <child>0</child>
<parent>0</parent>
</columns>
</relationship>
</item>
- <item type="database-relationship" id="{67f0b7bd-a201-45d1-b18c-db46a8de0480}">
+ <item type="database-relationship" id="{abba2005-f23b-445f-aea6-ff9365bc1569}">
<line>
<connector-list>
<connector>
<position>
- <x>698.406</x>
- <y>311.906</y>
+ <x>212.219</x>
+ <y>-19.0938</y>
</position>
<angle>0</angle>
- <hub owner="{844766fc-c5af-4f61-b51b-d3f9393c60ca}"/>
+ <hub owner="{f31249ea-ab19-45a4-9427-1854379ad8e7}"/>
</connector>
<connector>
<position>
- <x>763</x>
- <y>272.906</y>
+ <x>258</x>
+ <y>-19.0938</y>
</position>
<angle>180</angle>
- <hub owner="{fee50b4d-969b-4b5f-8545-90ea8f8f7aec}"/>
+ <hub owner="{75e4ebd8-5915-4aff-8316-0c542d3953da}"/>
</connector>
</connector-list>
</line>
@@ -2003,24 +2003,24 @@
</columns>
</relationship>
</item>
- <item type="database-relationship" id="{d3ded37c-70d5-4388-8e27-2329f59a1d9c}">
+ <item type="database-relationship" id="{803ce991-1984-4cab-9bb8-48acabb347af}">
<line>
<connector-list>
<connector>
<position>
- <x>715.672</x>
- <y>60.9062</y>
+ <x>35.2969</x>
+ <y>-12.0938</y>
</position>
<angle>0</angle>
- <hub owner="{caab4a73-46dc-49dc-ac51-d8ae916827c5}"/>
+ <hub owner="{5cbe15f1-fea8-48eb-a84f-97f7e22060f6}"/>
</connector>
<connector>
<position>
- <x>744</x>
- <y>55.9062</y>
+ <x>106</x>
+ <y>-19.0938</y>
</position>
<angle>180</angle>
- <hub owner="{be821d83-a9b4-4c0c-8e1b-433730200714}"/>
+ <hub owner="{f31249ea-ab19-45a4-9427-1854379ad8e7}"/>
</connector>
</connector-list>
</line>
@@ -2031,29 +2031,29 @@
<parent>Mandatory</parent>
</modality>
<columns>
- <child>3</child>
+ <child>5</child>
<parent>0</parent>
</columns>
</relationship>
</item>
- <item type="database-relationship" id="{c54c97e3-dd0a-4b21-9eeb-708d5b492e2a}">
+ <item type="database-relationship" id="{80755775-c938-4545-b4eb-1f08cfb1f0cc}">
<line>
<connector-list>
<connector>
<position>
- <x>476.146</x>
- <y>257.812</y>
+ <x>142.789</x>
+ <y>49</y>
</position>
- <angle>270</angle>
- <hub owner="{2e6c3b80-fef6-4d2b-8945-7ea6be1b646c}"/>
+ <angle>90</angle>
+ <hub owner="{b5671c08-e24a-4293-b983-3c86b1a6d622}"/>
</connector>
<connector>
<position>
- <x>462.273</x>
- <y>321</y>
+ <x>159.109</x>
+ <y>12.8125</y>
</position>
- <angle>90</angle>
- <hub owner="{04f424bf-6465-478b-9529-0038615b51d9}"/>
+ <angle>270</angle>
+ <hub owner="{f31249ea-ab19-45a4-9427-1854379ad8e7}"/>
</connector>
</connector-list>
</line>
@@ -2064,29 +2064,29 @@
<parent>Mandatory</parent>
</modality>
<columns>
- <child>11</child>
+ <child>1</child>
<parent>0</parent>
</columns>
</relationship>
</item>
- <item type="database-relationship" id="{4b0f5386-c5f6-4fa4-9c78-f0d85410c366}">
+ <item type="database-relationship" id="{af592aac-17cd-415f-99e8-9cf164311215}">
<line>
<connector-list>
<connector>
<position>
- <x>559.755</x>
- <y>395</y>
+ <x>68</x>
+ <y>80.9062</y>
</position>
- <angle>90</angle>
- <hub owner="{d823ab09-1c04-44ee-ad4b-6802208967ff}"/>
+ <angle>180</angle>
+ <hub owner="{b5671c08-e24a-4293-b983-3c86b1a6d622}"/>
</connector>
<connector>
<position>
- <x>585.469</x>
- <y>350.812</y>
+ <x>29.4531</x>
+ <y>95.9062</y>
</position>
- <angle>270</angle>
- <hub owner="{844766fc-c5af-4f61-b51b-d3f9393c60ca}"/>
+ <angle>0</angle>
+ <hub owner="{6180fcbf-5069-4d86-8919-fd39394f1813}"/>
</connector>
</connector-list>
</line>
@@ -2102,24 +2102,24 @@
</columns>
</relationship>
</item>
- <item type="database-relationship" id="{6094d4c4-439f-4e6c-94e1-736ae145362a}">
+ <item type="database-relationship" id="{4174d8cf-11ae-4a89-bc89-ae6044cee76d}">
<line>
<connector-list>
<connector>
<position>
- <x>638.51</x>
- <y>395</y>
+ <x>-9.85156</x>
+ <y>47.8125</y>
</position>
- <angle>90</angle>
- <hub owner="{d823ab09-1c04-44ee-ad4b-6802208967ff}"/>
+ <angle>270</angle>
+ <hub owner="{5cbe15f1-fea8-48eb-a84f-97f7e22060f6}"/>
</connector>
<connector>
<position>
- <x>641.938</x>
- <y>350.812</y>
+ <x>-19.2734</x>
+ <y>71</y>
</position>
- <angle>270</angle>
- <hub owner="{844766fc-c5af-4f61-b51b-d3f9393c60ca}"/>
+ <angle>90</angle>
+ <hub owner="{6180fcbf-5069-4d86-8919-fd39394f1813}"/>
</connector>
</connector-list>
</line>
@@ -2130,29 +2130,29 @@
<parent>Mandatory</parent>
</modality>
<columns>
- <child>1</child>
+ <child>3</child>
<parent>0</parent>
</columns>
</relationship>
</item>
- <item type="database-relationship" id="{30efa4b2-f4e7-4c8d-943e-44c699e54853}">
+ <item type="database-relationship" id="{326ba5fe-513e-48e9-b924-51305ffa2aeb}">
<line>
<connector-list>
<connector>
<position>
- <x>599.133</x>
- <y>472.812</y>
+ <x>256.727</x>
+ <y>137</y>
</position>
- <angle>270</angle>
- <hub owner="{d823ab09-1c04-44ee-ad4b-6802208967ff}"/>
+ <angle>90</angle>
+ <hub owner="{a945e439-8796-49e8-aa9b-7ce0a58a2c26}"/>
</connector>
<connector>
<position>
- <x>613.727</x>
- <y>533</y>
+ <x>290.109</x>
+ <y>103.812</y>
</position>
- <angle>90</angle>
- <hub owner="{d01e6205-a6dc-4724-a1fd-d4b2f73637ea}"/>
+ <angle>270</angle>
+ <hub owner="{33867a1e-ef36-4cc2-a08e-7366f56fbf5f}"/>
</connector>
</connector-list>
</line>
@@ -2163,29 +2163,29 @@
<parent>Mandatory</parent>
</modality>
<columns>
- <child>3</child>
+ <child>2</child>
<parent>0</parent>
</columns>
</relationship>
</item>
- <item type="database-relationship" id="{9a650bd7-521d-499f-ac79-a0fd9226a656}">
+ <item type="database-relationship" id="{3539786a-db3b-4c5c-ba35-e89fb027cda8}">
<line>
<connector-list>
<connector>
<position>
- <x>153.531</x>
- <y>180.906</y>
+ <x>290.109</x>
+ <y>40</y>
</position>
- <angle>0</angle>
- <hub owner="{5f12db03-a8bb-4467-bab6-a57e545b9081}"/>
+ <angle>90</angle>
+ <hub owner="{33867a1e-ef36-4cc2-a08e-7366f56fbf5f}"/>
</connector>
<connector>
<position>
- <x>186</x>
- <y>196.906</y>
+ <x>293.289</x>
+ <y>5.8125</y>
</position>
- <angle>180</angle>
- <hub owner="{a945e439-8796-49e8-aa9b-7ce0a58a2c26}"/>
+ <angle>270</angle>
+ <hub owner="{75e4ebd8-5915-4aff-8316-0c542d3953da}"/>
</connector>
</connector-list>
</line>
@@ -2196,7 +2196,7 @@
<parent>Mandatory</parent>
</modality>
<columns>
- <child>2</child>
+ <child>1</child>
<parent>0</parent>
</columns>
</relationship>
diff --git a/misc/database-layout.dump b/misc/database-layout.dump
new file mode 100644
index 0000000..64cb5fd
--- /dev/null
+++ b/misc/database-layout.dump
@@ -0,0 +1,357 @@
+calculate_dependencies_of_package_upto_first_built_one NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION CREATE DEFINER=`root`@`localhost` PROCEDURE `calculate_dependencies_of_package_upto_first_built_one`(IN `target_pkgbase` VARCHAR(64))
+BEGIN
+INSERT IGNORE INTO `relevant_binary_packages` (`id`) SELECT `binary_packages`.`id` FROM `binary_packages` JOIN `repositories` ON `binary_packages`.`repository`=`repositories`.`id` AND `repositories`.`name`="build-list" JOIN `build_assignments` ON `binary_packages`.`build_assignment`=`build_assignments`.`id` JOIN `package_sources` ON `build_assignments`.`package_source`=`package_sources`.`id` WHERE `package_sources`.`pkgbase`=`target_pkgbase`;
+REPEAT
+INSERT IGNORE INTO `relevant_binary_packages_copy` (`id`) SELECT `relevant_binary_packages`.`id` FROM `relevant_binary_packages`;
+INSERT IGNORE INTO `relevant_binary_packages` (`id`) SELECT `install_target_providers`.`package` FROM `relevant_binary_packages_copy` JOIN `binary_packages` ON `relevant_binary_packages_copy`.`id`=`binary_packages`.`id` JOIN `repositories` ON `binary_packages`.`repository`=`repositories`.`id` AND `repositories`.`name`="build-list" JOIN `dependencies` ON `binary_packages`.`id`=`dependencies`.`dependent` JOIN `dependency_types` ON `dependencies`.`dependency_type`=`dependency_types`.`id` AND `dependency_types`.`relevant_for_building` JOIN `install_target_providers` ON `dependencies`.`depending_on`=`install_target_providers`.`install_target`;
+UNTIL ROW_COUNT()=0
+END REPEAT;
+END utf8mb4 utf8mb4_unicode_ci utf8mb4_unicode_ci
+calculate_maximal_moveable_set NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION CREATE DEFINER=`root`@`localhost` PROCEDURE `calculate_maximal_moveable_set`(IN `from_stability` VARCHAR(32))
+BEGIN
+DECLARE row_count_saved INT DEFAULT 0;
+DROP TEMPORARY TABLE IF EXISTS `moveable_binary_packages`;
+DROP TEMPORARY TABLE IF EXISTS `replaced_binary_packages`;
+CREATE TEMPORARY TABLE `replaced_binary_packages` (`id` BIGINT, `replaced_by` BIGINT, UNIQUE KEY (`id`));
+CREATE TEMPORARY TABLE `moveable_binary_packages` (`id` BIGINT, `to_repository` MEDIUMINT, UNIQUE KEY (`id`));
+DROP TEMPORARY TABLE IF EXISTS `moveable_binary_packages_copy`;
+DROP TEMPORARY TABLE IF EXISTS `replaced_binary_packages_copy`;
+CREATE TEMPORARY TABLE `replaced_binary_packages_copy` (`id` BIGINT, `replaced_by` BIGINT, UNIQUE KEY (`id`));
+CREATE TEMPORARY TABLE `moveable_binary_packages_copy` (`id` BIGINT, `to_repository` MEDIUMINT, UNIQUE KEY (`id`));
+DROP TEMPORARY TABLE IF EXISTS `moveable_binary_packages_copy2`;
+DROP TEMPORARY TABLE IF EXISTS `replaced_binary_packages_copy2`;
+CREATE TEMPORARY TABLE `replaced_binary_packages_copy2` (`id` BIGINT, `replaced_by` BIGINT, UNIQUE KEY (`id`));
+INSERT IGNORE INTO `moveable_binary_packages` (`id`,`to_repository`) SELECT `binary_packages`.`id`,`repository_moves`.`to_repository` FROM `binary_packages` JOIN `repositories` ON `binary_packages`.`repository`=`repositories`.`id` JOIN `repository_stabilities` ON `repositories`.`stability`=`repository_stabilities`.`id` JOIN `build_assignments` ON `binary_packages`.`build_assignment`=`build_assignments`.`id` JOIN `package_sources` ON `build_assignments`.`package_source`=`package_sources`.`id` JOIN `upstream_repositories` ON `package_sources`.`upstream_package_repository`=`upstream_repositories`.`id` JOIN `repository_moves` ON `upstream_repositories`.`id`=`repository_moves`.`upstream_package_repository` AND `repository_moves`.`from_repository`=`binary_packages`.`repository` WHERE `repository_stabilities`.`name` = `from_stability` AND (`from_stability`="staging" OR `binary_packages`.`is_tested`) AND NOT `binary_packages`.`has_issues`;
+INSERT IGNORE INTO `replaced_binary_packages` (`id`,`replaced_by`) SELECT `r_bp`.`id`,`m_bp`.`id` FROM `moveable_binary_packages` JOIN `binary_packages` AS `m_bp` ON `m_bp`.`id`=`moveable_binary_packages`.`id` JOIN `repositories` AS `m_r` ON `m_bp`.`repository`=`m_r`.`id` JOIN `build_assignments` AS `m_ba` ON `m_bp`.`build_assignment`=`m_ba`.`id` JOIN `package_sources` AS `m_ps` ON `m_ba`.`package_source`=`m_ps`.`id` JOIN `upstream_repositories` AS `m_ur` ON `m_ps`.`upstream_package_repository`=`m_ur`.`id` JOIN `repository_moves` ON `m_ur`.`id`=`repository_moves`.`upstream_package_repository` AND `repository_moves`.`from_repository`=`m_r`.`id` JOIN `repositories` AS `r_r` ON `repository_moves`.`to_repository`=`r_r`.`id` JOIN `binary_packages` AS `r_bp` ON `r_r`.`id`=`r_bp`.`repository` AND `r_bp`.`pkgname`=`m_bp`.`pkgname`;
+REPEAT
+DELETE FROM `replaced_binary_packages_copy`;
+INSERT IGNORE INTO `replaced_binary_packages_copy` SELECT `replaced_binary_packages`.* FROM `replaced_binary_packages`;
+DELETE FROM `replaced_binary_packages_copy2`;
+INSERT IGNORE INTO `replaced_binary_packages_copy2` SELECT `replaced_binary_packages`.* FROM `replaced_binary_packages`;
+DELETE FROM `moveable_binary_packages_copy`;
+INSERT IGNORE INTO `moveable_binary_packages_copy` SELECT `moveable_binary_packages`.* FROM `moveable_binary_packages`;
+DELETE `replaced_binary_packages`,`moveable_binary_packages` FROM `replaced_binary_packages` RIGHT JOIN `moveable_binary_packages` ON `moveable_binary_packages`.`id`=`replaced_binary_packages`.`replaced_by` JOIN `binary_packages` ON `binary_packages`.`id`=`moveable_binary_packages`.`id` JOIN `repositories` AS `target_repositories` ON `moveable_binary_packages`.`to_repository`=`target_repositories`.`id` JOIN `dependencies` ON `binary_packages`.`id`=`dependencies`.`dependent` JOIN `dependency_types` ON `dependencies`.`dependency_type`=`dependency_types`.`id` AND `dependency_types`.`relevant_for_binary_packages` WHERE NOT EXISTS (SELECT * FROM `install_target_providers` JOIN `binary_packages` AS `prov_bp` ON `install_target_providers`.`package`=`prov_bp`.`id` JOIN `repositories` AS `prov_r` ON `prov_bp`.`repository`=`prov_r`.`id` JOIN `repository_stability_relations` ON `prov_r`.`stability`=`repository_stability_relations`.`more_stable` WHERE `install_target_providers`.`install_target`=`dependencies`.`depending_on` AND `target_repositories`.`stability`=`repository_stability_relations`.`less_stable` AND NOT EXISTS (SELECT * FROM `replaced_binary_packages_copy` WHERE `replaced_binary_packages_copy`.`id`=`prov_bp`.`id`)) AND NOT EXISTS (SELECT * FROM `install_target_providers` JOIN `moveable_binary_packages_copy` ON `moveable_binary_packages_copy`.`id`=`install_target_providers`.`package` WHERE `install_target_providers`.`install_target`=`dependencies`.`depending_on`);
+SET @row_count_saved = ROW_COUNT();
+DELETE FROM `replaced_binary_packages_copy`;
+INSERT IGNORE INTO `replaced_binary_packages_copy` SELECT `replaced_binary_packages`.* FROM `replaced_binary_packages`;
+DELETE FROM `replaced_binary_packages_copy2`;
+INSERT IGNORE INTO `replaced_binary_packages_copy2` SELECT `replaced_binary_packages`.* FROM `replaced_binary_packages`;
+DELETE FROM `moveable_binary_packages_copy`;
+INSERT IGNORE INTO `moveable_binary_packages_copy` SELECT `moveable_binary_packages`.* FROM `moveable_binary_packages`;
+DELETE `replaced_binary_packages`,`moveable_binary_packages` FROM `replaced_binary_packages` JOIN `moveable_binary_packages` ON `replaced_binary_packages`.`replaced_by`=`moveable_binary_packages`.`id` JOIN `binary_packages` AS `repl_bp` ON `repl_bp`.`id`=`replaced_binary_packages`.`id` JOIN `install_target_providers` ON `repl_bp`.`id`=`install_target_providers`.`package` JOIN `dependencies` ON `install_target_providers`.`install_target`=`dependencies`.`depending_on` AND NOT EXISTS (SELECT * FROM `replaced_binary_packages_copy` WHERE `replaced_binary_packages_copy`.`id`=`dependencies`.`dependent`) JOIN `dependency_types` ON `dependencies`.`dependency_type`=`dependency_types`.`id` AND `dependency_types`.`relevant_for_binary_packages` JOIN `binary_packages` AS `req_bp` ON `dependencies`.`dependent`=`req_bp`.`id` JOIN `repositories` AS `repl_r` ON `repl_bp`.`repository`=`repl_r`.`id` JOIN `repositories` AS `req_r` ON `req_bp`.`repository`=`req_r`.`id` JOIN `repository_stability_relations` AS `repl_rr` ON `repl_rr`.`more_stable`=`repl_r`.`stability` AND `repl_rr`.`less_stable`=`req_r`.`stability` WHERE NOT EXISTS (SELECT * FROM `moveable_binary_packages_copy` JOIN `install_target_providers` AS `subst_itp` ON `moveable_binary_packages_copy`.`id`=`subst_itp`.`package` WHERE `subst_itp`.`install_target`=`install_target_providers`.`install_target`) AND NOT EXISTS (SELECT * FROM `binary_packages` AS `subst_bp` JOIN `install_target_providers` AS `subst_itp` ON `subst_bp`.`id`=`subst_itp`.`package` JOIN `repositories` AS `subst_r` ON `subst_bp`.`repository`=`subst_r`.`id` JOIN `repository_stability_relations` AS `subst_rr` ON `subst_rr`.`more_stable`=`subst_r`.`stability` WHERE `subst_rr`.`less_stable`=`repl_r`.`stability` AND NOT EXISTS (SELECT * FROM `replaced_binary_packages_copy2` WHERE `replaced_binary_packages_copy2`.`id`=`subst_bp`.`id`) AND `subst_itp`.`install_target`=`install_target_providers`.`install_target`);
+UNTIL row_count_saved=0 AND ROW_COUNT()=0
+END REPEAT;
+DROP TEMPORARY TABLE `moveable_binary_packages_copy`;
+DROP TEMPORARY TABLE `replaced_binary_packages_copy`;
+DROP TEMPORARY TABLE `replaced_binary_packages_copy2`;
+END utf8mb4 utf8mb4_unicode_ci utf8mb4_unicode_ci
+show_broken_packages_and_dependencies NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION CREATE DEFINER=`root`@`localhost` PROCEDURE `show_broken_packages_and_dependencies`()
+BEGIN
+CREATE TEMPORARY TABLE `broken_packages_and_dependencies` (`id` BIGINT, UNIQUE KEY (`id`));
+CREATE TEMPORARY TABLE `broken_packages_and_dependencies_old` (`id` BIGINT, UNIQUE KEY (`id`));
+INSERT IGNORE INTO `broken_packages_and_dependencies` (`id`) SELECT `build_assignments`.`id` FROM `binary_packages` JOIN `build_assignments` ON `binary_packages`.`build_assignment`=`build_assignments`.`id` AND `build_assignments`.`is_broken` JOIN `repositories` ON `binary_packages`.`repository`=`repositories`.`id` AND `repositories`.`name`="build-list";
+REPEAT
+INSERT IGNORE INTO `broken_packages_and_dependencies_old` (`id`) SELECT `broken_packages_and_dependencies`.`id` FROM `broken_packages_and_dependencies`;
+INSERT IGNORE INTO `broken_packages_and_dependencies` (`id`) SELECT `new_bp`.`build_assignment` FROM `broken_packages_and_dependencies_old` JOIN `binary_packages` AS `old_bp` ON `broken_packages_and_dependencies_old`.`id`=`old_bp`.`build_assignment` JOIN `dependencies` ON `old_bp`.`id`=`dependencies`.`dependent` JOIN `dependency_types` ON `dependencies`.`dependency_type`=`dependency_types`.`id` AND `dependency_types`.`relevant_for_building` JOIN `install_target_providers` ON `dependencies`.`depending_on`=`install_target_providers`.`install_target` JOIN `binary_packages` AS `new_bp` ON `install_target_providers`.`package`=`new_bp`.`id` JOIN `repositories` AS `new_repo` ON `new_bp`.`repository`=`new_repo`.`id` AND `new_repo`.`name` IN ("build-list","deletion-list");
+UNTIL ROW_COUNT()=0
+END REPEAT;
+SELECT `package_sources`.`pkgbase`,`package_sources`.`git_revision`,`package_sources`.`mod_git_revision`,`upstream_repositories`.`name` FROM `build_assignments` JOIN `package_sources` ON `build_assignments`.`package_source`=`package_sources`.`id` JOIN `upstream_repositories` ON `package_sources`.`upstream_package_repository`=`upstream_repositories`.`id` JOIN `broken_packages_and_dependencies` ON `broken_packages_and_dependencies`.`id`=`build_assignments`.`id`;
+END utf8mb4 utf8mb4_unicode_ci utf8mb4_unicode_ci
+allowed_email_actions CREATE TABLE `allowed_email_actions` (
+ `id` bigint(20) NOT NULL AUTO_INCREMENT,
+ `gpg_key` bigint(20) NOT NULL,
+ `action` mediumint(9) NOT NULL,
+ PRIMARY KEY (`id`),
+ UNIQUE KEY `content` (`gpg_key`,`action`),
+ KEY `action` (`action`),
+ CONSTRAINT `allowed_email_actions_ibfk_1` FOREIGN KEY (`action`) REFERENCES `email_actions` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
+ CONSTRAINT `allowed_email_actions_ibfk_2` FOREIGN KEY (`gpg_key`) REFERENCES `gpg_keys` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
+architectures CREATE TABLE `architectures` (
+ `id` smallint(6) NOT NULL AUTO_INCREMENT,
+ `name` varchar(16) COLLATE utf8mb4_unicode_ci NOT NULL,
+ PRIMARY KEY (`id`),
+ UNIQUE KEY `name` (`name`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
+binary_packages CREATE TABLE `binary_packages` (
+ `id` bigint(20) NOT NULL AUTO_INCREMENT,
+ `build_assignment` bigint(20) NOT NULL,
+ `repository` mediumint(9) NOT NULL,
+ `epoch` mediumint(9) NOT NULL,
+ `pkgver` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL,
+ `pkgrel` mediumint(9) NOT NULL,
+ `sub_pkgrel` mediumint(9) NOT NULL,
+ `has_issues` bit(1) NOT NULL,
+ `is_tested` bit(1) NOT NULL,
+ `pkgname` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL,
+ `architecture` smallint(6) NOT NULL,
+ `is_to_be_deleted` bit(1) NOT NULL,
+ `sha512sum` varchar(128) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
+ PRIMARY KEY (`id`),
+ UNIQUE KEY `file_name` (`pkgname`,`epoch`,`pkgver`,`pkgrel`,`sub_pkgrel`,`architecture`,`repository`),
+ UNIQUE KEY `content` (`build_assignment`,`sub_pkgrel`,`pkgname`,`architecture`,`repository`),
+ KEY `repository` (`repository`),
+ KEY `architecture` (`architecture`),
+ CONSTRAINT `binary_packages_ibfk_1` FOREIGN KEY (`repository`) REFERENCES `repositories` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
+ CONSTRAINT `binary_packages_ibfk_2` FOREIGN KEY (`architecture`) REFERENCES `architectures` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
+ CONSTRAINT `binary_packages_ibfk_3` FOREIGN KEY (`build_assignment`) REFERENCES `build_assignments` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
+build_assignments CREATE TABLE `build_assignments` (
+ `id` bigint(20) NOT NULL AUTO_INCREMENT,
+ `package_source` bigint(20) NOT NULL,
+ `architecture` smallint(6) NOT NULL,
+ `is_blocked` varchar(128) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
+ `is_broken` bit(1) NOT NULL,
+ `priority` smallint(6) NOT NULL,
+ `is_black_listed` text COLLATE utf8mb4_unicode_ci,
+ PRIMARY KEY (`id`),
+ UNIQUE KEY `content` (`package_source`,`architecture`),
+ KEY `architecture` (`architecture`),
+ CONSTRAINT `build_assignments_ibfk_1` FOREIGN KEY (`package_source`) REFERENCES `package_sources` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
+ CONSTRAINT `build_assignments_ibfk_2` FOREIGN KEY (`architecture`) REFERENCES `architectures` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
+build_dependency_loops CREATE TABLE `build_dependency_loops` (
+ `id` bigint(20) NOT NULL AUTO_INCREMENT,
+ `loop` mediumint(9) NOT NULL,
+ `build_assignment` bigint(20) NOT NULL,
+ PRIMARY KEY (`id`),
+ UNIQUE KEY `content` (`loop`,`build_assignment`),
+ KEY `build_assignment` (`build_assignment`),
+ CONSTRAINT `build_dependency_loops_ibfk_1` FOREIGN KEY (`build_assignment`) REFERENCES `build_assignments` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
+build_slaves CREATE TABLE `build_slaves` (
+ `id` mediumint(9) NOT NULL AUTO_INCREMENT,
+ `name` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL,
+ `currently_building` bigint(20) DEFAULT NULL,
+ `last_connection` datetime NOT NULL,
+ `logged_lines` bigint(20) DEFAULT NULL,
+ `last_action` varchar(32) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
+ `ssh_key` bigint(20) NOT NULL,
+ PRIMARY KEY (`id`),
+ UNIQUE KEY `name` (`name`),
+ KEY `currently_building` (`currently_building`),
+ KEY `ssh_key` (`ssh_key`),
+ CONSTRAINT `build_slaves_ibfk_1` FOREIGN KEY (`currently_building`) REFERENCES `build_assignments` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
+ CONSTRAINT `build_slaves_ibfk_2` FOREIGN KEY (`ssh_key`) REFERENCES `ssh_keys` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
+dependencies CREATE TABLE `dependencies` (
+ `id` bigint(20) NOT NULL AUTO_INCREMENT,
+ `dependent` bigint(20) NOT NULL,
+ `depending_on` bigint(20) NOT NULL,
+ `dependency_type` smallint(6) NOT NULL,
+ PRIMARY KEY (`id`),
+ UNIQUE KEY `content` (`dependent`,`depending_on`,`dependency_type`),
+ KEY `depending_on` (`depending_on`),
+ KEY `dependency_type` (`dependency_type`),
+ CONSTRAINT `dependencies_ibfk_1` FOREIGN KEY (`dependent`) REFERENCES `binary_packages` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
+ CONSTRAINT `dependencies_ibfk_2` FOREIGN KEY (`depending_on`) REFERENCES `install_targets` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
+ CONSTRAINT `dependencies_ibfk_3` FOREIGN KEY (`dependency_type`) REFERENCES `dependency_types` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
+dependency_types CREATE TABLE `dependency_types` (
+ `id` smallint(6) NOT NULL AUTO_INCREMENT,
+ `name` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL,
+ `relevant_for_building` bit(1) NOT NULL,
+ `relevant_for_binary_packages` bit(1) NOT NULL,
+ PRIMARY KEY (`id`),
+ UNIQUE KEY `name` (`name`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
+email_actions CREATE TABLE `email_actions` (
+ `id` mediumint(9) NOT NULL AUTO_INCREMENT,
+ `name` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL,
+ PRIMARY KEY (`id`),
+ UNIQUE KEY `name` (`name`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
+email_log CREATE TABLE `email_log` (
+ `id` bigint(20) NOT NULL AUTO_INCREMENT,
+ `date` datetime NOT NULL,
+ `success` bit(1) NOT NULL,
+ `action` mediumint(9) DEFAULT NULL,
+ `count` mediumint(9) DEFAULT NULL,
+ `gpg_key` bigint(20) DEFAULT NULL,
+ `comment` text COLLATE utf8mb4_unicode_ci,
+ PRIMARY KEY (`id`),
+ KEY `action` (`action`),
+ KEY `gpg_key` (`gpg_key`),
+ CONSTRAINT `email_log_ibfk_1` FOREIGN KEY (`action`) REFERENCES `email_actions` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
+ CONSTRAINT `email_log_ibfk_2` FOREIGN KEY (`gpg_key`) REFERENCES `gpg_keys` (`id`) ON DELETE SET NULL ON UPDATE CASCADE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
+fail_reasons CREATE TABLE `fail_reasons` (
+ `id` smallint(6) NOT NULL AUTO_INCREMENT,
+ `name` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL,
+ `identifier` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL,
+ `severity` smallint(6) NOT NULL,
+ PRIMARY KEY (`id`),
+ UNIQUE KEY `name` (`name`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
+failed_builds CREATE TABLE `failed_builds` (
+ `id` mediumint(9) NOT NULL AUTO_INCREMENT,
+ `build_slave` mediumint(9) NOT NULL,
+ `build_assignment` bigint(20) NOT NULL,
+ `date` datetime NOT NULL,
+ `reason` smallint(6) NOT NULL,
+ `log_file` varchar(512) COLLATE utf8mb4_unicode_ci NOT NULL,
+ PRIMARY KEY (`id`),
+ KEY `build_slave` (`build_slave`),
+ KEY `build_assignment` (`build_assignment`),
+ KEY `reason` (`reason`),
+ CONSTRAINT `failed_builds_ibfk_1` FOREIGN KEY (`build_slave`) REFERENCES `build_slaves` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
+ CONSTRAINT `failed_builds_ibfk_2` FOREIGN KEY (`build_assignment`) REFERENCES `build_assignments` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
+ CONSTRAINT `failed_builds_ibfk_3` FOREIGN KEY (`reason`) REFERENCES `fail_reasons` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
+git_repositories CREATE TABLE `git_repositories` (
+ `id` smallint(6) NOT NULL AUTO_INCREMENT,
+ `name` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL,
+ `url` varchar(128) COLLATE utf8mb4_unicode_ci NOT NULL,
+ `directory` varchar(128) COLLATE utf8mb4_unicode_ci NOT NULL,
+ `head` varchar(40) COLLATE utf8mb4_unicode_ci NOT NULL,
+ PRIMARY KEY (`id`),
+ UNIQUE KEY `name` (`name`),
+ UNIQUE KEY `url` (`url`),
+ UNIQUE KEY `directory` (`directory`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
+gpg_keys CREATE TABLE `gpg_keys` (
+ `id` bigint(20) NOT NULL AUTO_INCREMENT,
+ `owner` mediumint(9) NOT NULL,
+ `fingerprint` varchar(40) COLLATE utf8mb4_unicode_ci NOT NULL,
+ PRIMARY KEY (`id`),
+ UNIQUE KEY `fingerprint` (`fingerprint`),
+ KEY `owner` (`owner`),
+ CONSTRAINT `gpg_keys_ibfk_1` FOREIGN KEY (`owner`) REFERENCES `persons` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
+install_target_providers CREATE TABLE `install_target_providers` (
+ `id` bigint(20) NOT NULL AUTO_INCREMENT,
+ `package` bigint(20) NOT NULL,
+ `install_target` bigint(20) NOT NULL,
+ PRIMARY KEY (`id`),
+ UNIQUE KEY `content` (`package`,`install_target`),
+ KEY `install_target` (`install_target`),
+ CONSTRAINT `install_target_providers_ibfk_1` FOREIGN KEY (`package`) REFERENCES `binary_packages` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
+ CONSTRAINT `install_target_providers_ibfk_2` FOREIGN KEY (`install_target`) REFERENCES `install_targets` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
+install_targets CREATE TABLE `install_targets` (
+ `id` bigint(20) NOT NULL AUTO_INCREMENT,
+ `name` varchar(128) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
+ PRIMARY KEY (`id`),
+ UNIQUE KEY `name` (`name`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
+package_sources CREATE TABLE `package_sources` (
+ `id` bigint(20) NOT NULL AUTO_INCREMENT,
+ `pkgbase` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL,
+ `git_revision` varchar(40) COLLATE utf8mb4_unicode_ci NOT NULL,
+ `mod_git_revision` varchar(40) COLLATE utf8mb4_unicode_ci NOT NULL,
+ `upstream_package_repository` smallint(6) NOT NULL,
+ `uses_upstream` bit(1) NOT NULL,
+ `uses_modification` bit(1) NOT NULL,
+ `commit_time` datetime NOT NULL,
+ PRIMARY KEY (`id`),
+ UNIQUE KEY `content` (`pkgbase`,`git_revision`,`mod_git_revision`),
+ KEY `upstream_package_repository` (`upstream_package_repository`),
+ CONSTRAINT `package_sources_ibfk_1` FOREIGN KEY (`upstream_package_repository`) REFERENCES `upstream_repositories` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
+persons CREATE TABLE `persons` (
+ `id` mediumint(9) NOT NULL AUTO_INCREMENT,
+ `name` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL,
+ PRIMARY KEY (`id`),
+ UNIQUE KEY `name` (`name`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
+repositories CREATE TABLE `repositories` (
+ `id` mediumint(9) NOT NULL AUTO_INCREMENT,
+ `name` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL,
+ `stability` mediumint(9) NOT NULL,
+ `is_on_master_mirror` bit(1) NOT NULL,
+ PRIMARY KEY (`id`),
+ UNIQUE KEY `name` (`name`),
+ KEY `stability` (`stability`),
+ CONSTRAINT `repositories_ibfk_1` FOREIGN KEY (`stability`) REFERENCES `repository_stabilities` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
+repository_moves CREATE TABLE `repository_moves` (
+ `id` mediumint(9) NOT NULL AUTO_INCREMENT,
+ `from_repository` mediumint(9) NOT NULL,
+ `to_repository` mediumint(9) NOT NULL,
+ `upstream_package_repository` smallint(6) NOT NULL,
+ PRIMARY KEY (`id`),
+ UNIQUE KEY `source` (`from_repository`,`upstream_package_repository`),
+ KEY `to_repository` (`to_repository`),
+ KEY `upstream_package_repository` (`upstream_package_repository`),
+ CONSTRAINT `repository_moves_ibfk_1` FOREIGN KEY (`from_repository`) REFERENCES `repositories` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
+ CONSTRAINT `repository_moves_ibfk_2` FOREIGN KEY (`to_repository`) REFERENCES `repositories` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
+ CONSTRAINT `repository_moves_ibfk_3` FOREIGN KEY (`upstream_package_repository`) REFERENCES `upstream_repositories` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
+repository_stabilities CREATE TABLE `repository_stabilities` (
+ `id` mediumint(9) NOT NULL AUTO_INCREMENT,
+ `name` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL,
+ `bugtracker_category` varchar(64) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
+ PRIMARY KEY (`id`),
+ UNIQUE KEY `name` (`name`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
+repository_stability_relations CREATE TABLE `repository_stability_relations` (
+ `id` mediumint(9) NOT NULL AUTO_INCREMENT,
+ `more_stable` mediumint(9) NOT NULL,
+ `less_stable` mediumint(9) NOT NULL,
+ PRIMARY KEY (`id`),
+ UNIQUE KEY `content` (`more_stable`,`less_stable`),
+ KEY `less_stable` (`less_stable`),
+ CONSTRAINT `repository_stability_relations_ibfk_1` FOREIGN KEY (`more_stable`) REFERENCES `repository_stabilities` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
+ CONSTRAINT `repository_stability_relations_ibfk_2` FOREIGN KEY (`less_stable`) REFERENCES `repository_stabilities` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
+ssh_keys CREATE TABLE `ssh_keys` (
+ `id` bigint(20) NOT NULL AUTO_INCREMENT,
+ `owner` mediumint(9) NOT NULL,
+ `fingerprint` text COLLATE utf8mb4_unicode_ci NOT NULL,
+ PRIMARY KEY (`id`),
+ KEY `owner` (`owner`),
+ CONSTRAINT `ssh_keys_ibfk_1` FOREIGN KEY (`owner`) REFERENCES `persons` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
+ssh_log CREATE TABLE `ssh_log` (
+ `id` bigint(20) NOT NULL AUTO_INCREMENT,
+ `date` datetime NOT NULL,
+ `build_slave` mediumint(9) DEFAULT NULL,
+ `action` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL,
+ `parameters` text COLLATE utf8mb4_unicode_ci NOT NULL,
+ PRIMARY KEY (`id`),
+ KEY `build_slave` (`build_slave`),
+ CONSTRAINT `ssh_log_ibfk_1` FOREIGN KEY (`build_slave`) REFERENCES `build_slaves` (`id`) ON DELETE SET NULL ON UPDATE CASCADE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
+statistics CREATE TABLE `statistics` (
+ `id` bigint(20) NOT NULL AUTO_INCREMENT,
+ `date` datetime NOT NULL,
+ `stable_packages_count` mediumint(9) NOT NULL,
+ `pending_tasks_count` mediumint(9) NOT NULL,
+ `pending_packages_count` mediumint(9) NOT NULL,
+ `staging_packages_count` mediumint(9) NOT NULL,
+ `testing_packages_count` mediumint(9) NOT NULL,
+ `tested_packages_count` mediumint(9) NOT NULL,
+ `broken_tasks_count` mediumint(9) NOT NULL,
+ `dependency_loops_count` mediumint(9) NOT NULL,
+ `dependency_looped_tasks_count` mediumint(9) NOT NULL,
+ `locked_tasks_count` mediumint(9) NOT NULL,
+ `blocked_tasks_count` mediumint(9) NOT NULL,
+ `next_tasks_count` mediumint(9) NOT NULL,
+ PRIMARY KEY (`id`),
+ UNIQUE KEY `date` (`date`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
+todo_links CREATE TABLE `todo_links` (
+ `dependent` bigint(20) NOT NULL,
+ `depending_on` bigint(20) NOT NULL,
+ UNIQUE KEY `content` (`dependent`,`depending_on`),
+ KEY `depending_on` (`depending_on`),
+ CONSTRAINT `todo_links_ibfk_1` FOREIGN KEY (`dependent`) REFERENCES `todos` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
+ CONSTRAINT `todo_links_ibfk_2` FOREIGN KEY (`depending_on`) REFERENCES `todos` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
+todos CREATE TABLE `todos` (
+ `id` bigint(20) NOT NULL AUTO_INCREMENT,
+ `file` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL,
+ `line` mediumint(9) NOT NULL,
+ `description` text COLLATE utf8mb4_unicode_ci NOT NULL,
+ `importance` smallint(6) DEFAULT NULL,
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
+upstream_repositories CREATE TABLE `upstream_repositories` (
+ `id` smallint(6) NOT NULL AUTO_INCREMENT,
+ `name` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL,
+ `git_repository` smallint(6) NOT NULL,
+ PRIMARY KEY (`id`),
+ UNIQUE KEY `content` (`name`,`git_repository`),
+ KEY `git_repository` (`git_repository`),
+ CONSTRAINT `upstream_repositories_ibfk_1` FOREIGN KEY (`git_repository`) REFERENCES `git_repositories` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci