From 5c53cf8fb86a1ced8892a6df07f777c83e4f1ba1 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 16 Apr 2018 09:25:52 +0200 Subject: misc/database-layout.dmf: some new tables in the graph which are in the database for quite a while :-) --- misc/database-layout.dmf | 1146 +++++++++++++++++++++++++++------------------- 1 file changed, 681 insertions(+), 465 deletions(-) (limited to 'misc/database-layout.dmf') diff --git a/misc/database-layout.dmf b/misc/database-layout.dmf index adb7445..ab9178d 100644 --- a/misc/database-layout.dmf +++ b/misc/database-layout.dmf @@ -2,79 +2,79 @@ Relational - + - 481 - 395 + 974 + 255 - repository_moves + todo_links#ffffff - id - MEDIUMINT - True - True - - - from_repository - MEDIUMINT - True - False - - - to_repository - MEDIUMINT + dependent + BIGINT True False - upstream_package_repository - SMALLINT + depending_on + BIGINT True False
- + - 763 - 241 + 1142 + 235 - repository_stabilities + todos#ffffff id - SMALLINT + BIGINT True True - name - VARCHAR(32) - True + file + VARCHAR(64) + False False - bugtracker_category - VARCHAR(32) + line + MEDIUMINT + False + False + + + description + VARCHAR(512) + False + False + + + importance + SMALLINT False False
- + - 52 - 516 + 1002 + 9 - build_dependency_loops + statitstics#ffffff @@ -84,99 +84,81 @@ True - loop + date + DATETIME + True + False + + + stable_packages_count MEDIUMINT True False - build_assignment - BIGINT + pending_tasks_count + MEDIUMINT True False - -
-
- - - 51 - -8 - - - dependency_types - #ffffff - - id - SMALLINT + staging_packages_count + MEDIUMINT True - True + False - name - VARCHAR(32) + testing_packages_count + MEDIUMINT True False - relevant_for_building - BIT + broken_tasks_count + MEDIUMINT True False - relevant_for_binary_packages - BIT + dependency_loops_count + MEDIUMINT True False - -
-
- - - 496 - -6 - - - dependencies - #ffffff - - id - BIGINT + dependency_looped_tasks_count + MEDIUMINT True - True + False - dependent - BIGINT + locked_tasks_count + MEDIUMINT True False - depending_on - BIGINT + blocked_tasks_count + MEDIUMINT True False - dependency_type - SMALLINT + next_tasks_count + MEDIUMINT True False
- + - 680 - 3 + 796 + 131 - install_targets + file_providers#ffffff @@ -186,45 +168,33 @@ True - name - VARCHAR(64) + package + BIGINT True False - -
-
- - - 415 - 321 - - - architectures - #ffffff - - id - SMALLINT + file + BIGINT True - True + False - name - VARCHAR(16) + file_name_hash + MEDIUMINT True False
- + - 229 - 471 + 785 + 6 - package_sources + files#ffffff @@ -234,57 +204,69 @@ True - pkgbase - VARCHAR(64) + path + TEXT True False - git_revision - VARCHAR(40) + name + TEXT True False - mod_git_revision - VARCHAR(40) + name_hash + MEDIUMINT True False - upsream_package_repository - SMALLINT + absolute_name_hash + VARCHAR(54) True False + +
+
+ + + 754 + 399 + + + repository_stability_relations + #ffffff + - uses_upstream - BIT + id + MEDIUMINT True - False + True - uses_modification - BIT + more_stable + MEDIUMINT True False - commit_time - DATETIME + less_stable + MEDIUMINT True False
- + - 539 - 533 + 53 + 103 - upstream_repositories + fail_reasons#ffffff @@ -295,12 +277,18 @@ name + VARCHAR(32) + True + False + + + identifier VARCHAR(64) True False - git_repository + severity SMALLINT True False @@ -308,111 +296,165 @@
- + - 770 - 508 + 45 + 287 - git_repositories + failed_builds#ffffff id - SMALLINT + MEDIUMINT True True - name - VARCHAR(64) + build_slave + MEDIUMINT True False - url - VARCHAR(128) + build_assignment + BIGINT True False - directory - VARCHAR(128) + date + DATETIME True False - head - VARCHAR(40) + reason + SMALLINT + True + False + + + log_file + VARCHAR(512) True False
- + - 516 - 246 + 247 + 291 - repositories + build_assignments#ffffff id - MEDIUMINT + BIGINT True True - name - VARCHAR(64) + package_source + BIGINT True False - stability + architecture SMALLINT True False - is_on_master_mirror + is_blocked + VARCHAR(128) + False + False + + + is_black_listed + VARCHAR(128) + False + False + + + is_broken BIT True False + + priority + SMALLINT + True + False +
- + - 611 - 89 + 163 + 88 - install_target_providers + build_slaves#ffffff id - BIGINT + MEDIUMINT True True - package - BIGINT + name + VARCHAR(32) True False - install_target + ssh_key + VARCHAR(1024) + True + False + + + operator + VARCHAR(32) + True + False + + + currently_building BIGINT + False + False + + + last_connection + TIME True False + + logged_lines + BIGINT + False + False + + + last_action + VARCHAR(32) + False + False +
@@ -506,113 +548,137 @@
- + - 163 - 88 + 611 + 89 - build_slaves + install_target_providers#ffffff id - MEDIUMINT + BIGINT True True - name - VARCHAR(32) + package + BIGINT True False - ssh_key - VARCHAR(1024) + install_target + BIGINT True False + +
+
+ + + 516 + 246 + + + repositories + #ffffff + - operator - VARCHAR(32) + id + MEDIUMINT True - False - - - currently_building - BIGINT - False - False + True - last_connection - TIME + name + VARCHAR(64) True False - logged_lines - BIGINT - False + stability + SMALLINT + True False - last_action - VARCHAR(32) - False + is_on_master_mirror + BIT + True False
- + - 247 - 291 + 770 + 508 - build_assignments + git_repositories#ffffff id - BIGINT + SMALLINT True True - package_source - BIGINT + name + VARCHAR(64) True False - architecture - SMALLINT + url + VARCHAR(128) True False - is_blocked + directory VARCHAR(128) - False + True False - is_black_listed - VARCHAR(128) - False + head + VARCHAR(40) + True False + +
+
+ + + 539 + 533 + + + upstream_repositories + #ffffff + + + id + SMALLINT + True + True + - is_broken - BIT + name + VARCHAR(64) True False - priority + git_repository SMALLINT True False @@ -620,61 +686,73 @@
- + - 45 - 287 + 229 + 471 - failed_builds + package_sources#ffffff id - MEDIUMINT + BIGINT True True - build_slave - MEDIUMINT + pkgbase + VARCHAR(64) True False - build_assignment - BIGINT + git_revision + VARCHAR(40) True False - date - DATETIME + mod_git_revision + VARCHAR(40) True False - reason + upsream_package_repository SMALLINT True False - log_file - VARCHAR(512) + uses_upstream + BIT + True + False + + + uses_modification + BIT + True + False + + + commit_time + DATETIME True False
- + - 53 - 103 + 415 + 321 - fail_reasons + architectures#ffffff @@ -685,18 +763,66 @@ name - VARCHAR(32) + VARCHAR(16) True False + +
+
+ + + 680 + 3 + + + install_targets + #ffffff + - identifier + id + BIGINT + True + True + + + name VARCHAR(64) True False + +
+
+ + + 496 + -6 + + + dependencies + #ffffff + - severity + id + BIGINT + True + True + + + dependent + BIGINT + True + False + + + depending_on + BIGINT + True + False + + + dependency_type SMALLINT True False @@ -704,43 +830,49 @@
- + - 754 - 399 + 51 + -8 - repository_stability_relations + dependency_types#ffffff id - MEDIUMINT + SMALLINT True True - more_stable - MEDIUMINT + name + VARCHAR(32) True False - less_stable - MEDIUMINT + relevant_for_building + BIT + True + False + + + relevant_for_binary_packages + BIT True False
- + - 785 - 6 + 52 + 516 - files + build_dependency_loops#ffffff @@ -750,86 +882,104 @@ True - path - TEXT + loop + MEDIUMINT True False - name - TEXT + build_assignment + BIGINT + True + False + + +
+
+ + + 763 + 241 + + + repository_stabilities + #ffffff + + + id + SMALLINT True - False + True - name_hash - MEDIUMINT + name + VARCHAR(32) True False - absolute_name_hash - VARCHAR(54) - True + bugtracker_category + VARCHAR(32) + False False
- + - 796 - 131 + 481 + 395 - file_providers + repository_moves#ffffff id - BIGINT + MEDIUMINT True True - package - BIGINT + from_repository + MEDIUMINT True False - file - BIGINT + to_repository + MEDIUMINT True False - file_name_hash - MEDIUMINT + upstream_package_repository + SMALLINT True False
- + - 599.133 - 472.812 + 1101.23 + 271.604 - 270 - + 0 + - 613.727 - 533 + 1142 + 265.604 - 90 - + 180 + @@ -840,29 +990,29 @@ Mandatory - 3 + 0 0 - + - 559.755 - 395 + 1101.23 + 288.208 - 90 - + 0 + - 572.469 - 323.812 + 1142 + 296.208 - 270 - + 180 + @@ -878,24 +1028,24 @@ - + - 638.51 - 395 + 796 + 169.906 - 90 - + 180 + - 628.938 - 323.812 + 480.719 + 168.288 - 270 - + 0 + @@ -905,30 +1055,96 @@ Mandatory Mandatory + + 1 + 0 + + + + + + + + + 864 + 131 + + 90 + + + + + 871.711 + 97.8125 + + 270 + + + + + + OneToMany + + Optional + Optional + 2 0 - + - 430.146 - 249.812 + 816.656 + 399 + + 90 + + + + + 815.635 + 304.812 270 - + + + + + OneToMany + + Mandatory + Mandatory + + + 2 + 0 + + + + + + - 462.273 - 321 + 879.312 + 399 90 - + + + + + 868.271 + 304.812 + + 270 + @@ -939,29 +1155,29 @@ Mandatory - 11 + 1 0 - + - 496 - 32.9062 + 95.5729 + 287 - 180 - + 90 + - 284.844 - 30.9062 + 100.719 + 180.812 - 0 - + 270 + @@ -972,29 +1188,29 @@ Mandatory - 3 + 4 0 - + - 685.406 - 284.906 + 196.719 + 339.906 0 - + - 763 - 272.906 + 247 + 350.906 180 - + @@ -1010,24 +1226,24 @@ - + - 647.672 - 32.9062 + 146.146 + 287 - 0 - + 90 + - 680 - 27.9062 + 210.151 + 221.812 - 180 - + 270 + @@ -1038,29 +1254,29 @@ Mandatory - 2 + 1 0 - + - 689.109 - 89 + 133.195 + 516 90 - + - 730.016 - 52.8125 + 293.974 + 410.812 270 - + @@ -1076,24 +1292,24 @@ - + - 571.836 - 71.8125 + 257.302 + 221.812 270 - + - 480.719 - 86.7625 + 293.974 + 291 - 0 - + 90 + @@ -1104,29 +1320,29 @@ Mandatory - 1 + 4 0 - + - 611 - 120.906 + 379.573 + 249.812 - 180 - + 270 + - 480.719 - 127.525 + 340.948 + 291 - 0 - + 90 + @@ -1142,24 +1358,24 @@ - + - 459.531 - 537.906 + 387.922 + 350.906 0 - + - 539 - 564.906 + 415 + 345.906 180 - + @@ -1170,29 +1386,29 @@ Mandatory - 4 + 2 0 - + - 480.719 - 209.05 + 340.948 + 410.812 - 0 - + 270 + - 600.703 - 246 + 344.266 + 471 90 - + @@ -1203,7 +1419,7 @@ Mandatory - 2 + 1 0 @@ -1241,24 +1457,24 @@ - + - 340.948 - 410.812 + 480.719 + 209.05 - 270 - + 0 + - 344.266 - 471 + 600.703 + 246 90 - + @@ -1269,29 +1485,29 @@ Mandatory - 1 + 2 0 - + - 387.922 - 350.906 + 459.531 + 537.906 0 - + - 415 - 345.906 + 539 + 564.906 180 - + @@ -1302,29 +1518,29 @@ Mandatory - 2 + 4 0 - + - 379.573 - 249.812 + 611 + 120.906 - 270 - + 180 + - 340.948 - 291 + 480.719 + 127.525 - 90 - + 0 + @@ -1340,24 +1556,24 @@ - + - 257.302 - 221.812 + 571.836 + 71.8125 270 - + - 293.974 - 291 + 480.719 + 86.7625 - 90 - + 0 + @@ -1368,29 +1584,29 @@ Mandatory - 4 + 1 0 - + - 133.195 - 516 + 689.109 + 89 90 - + - 293.974 - 410.812 + 730.016 + 52.8125 270 - + @@ -1406,24 +1622,24 @@ - + - 146.146 - 287 + 647.672 + 32.9062 - 90 - + 0 + - 210.151 - 221.812 + 680 + 27.9062 - 270 - + 180 + @@ -1434,29 +1650,29 @@ Mandatory - 1 + 2 0 - + - 196.719 - 339.906 + 685.406 + 284.906 0 - + - 247 - 350.906 + 763 + 272.906 180 - + @@ -1472,24 +1688,24 @@ - + - 95.5729 - 287 + 496 + 32.9062 - 90 - + 180 + - 100.719 - 180.812 + 284.844 + 30.9062 - 270 - + 0 + @@ -1500,29 +1716,29 @@ Mandatory - 4 + 3 0 - + - 816.656 - 399 + 430.146 + 249.812 - 90 - + 270 + - 815.635 - 304.812 + 462.273 + 321 - 270 - + 90 + @@ -1533,29 +1749,29 @@ Mandatory - 1 + 11 0 - + - 879.312 - 399 + 638.51 + 395 90 - + - 868.271 - 304.812 + 628.938 + 323.812 270 - + @@ -1571,57 +1787,57 @@ - + - 864 - 131 + 559.755 + 395 90 - + - 871.711 - 97.8125 + 572.469 + 323.812 270 - + OneToMany - Optional - Optional + Mandatory + Mandatory - 2 + 1 0 - + - 796 - 169.906 + 599.133 + 472.812 - 180 - + 270 + - 480.719 - 168.288 + 613.727 + 533 - 0 - + 90 + @@ -1632,7 +1848,7 @@ Mandatory - 1 + 3 0 -- cgit v1.2.3-70-g09d2