From 4814b1e2732cca03f4b557a9aa7a796c5e690e1f Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 3 May 2018 13:50:11 +0200 Subject: misc/database-layout.dmf: new column `repositories`.`architecture` + links now all 1:1 --- misc/database-layout.dmf | 1541 ++++++++++++++++++++++++---------------------- 1 file changed, 790 insertions(+), 751 deletions(-) (limited to 'misc/database-layout.dmf') diff --git a/misc/database-layout.dmf b/misc/database-layout.dmf index faf2eff..b9d8612 100644 --- a/misc/database-layout.dmf +++ b/misc/database-layout.dmf @@ -2,13 +2,13 @@ Relational - + - 42 - 135 + 237 + 40 - ssh_log + ssh_keys#ffffff @@ -18,25 +18,13 @@ True - date - DATETIME - True - False - - - build_slave + owner MEDIUMINT - False - False - - - action - VARCHAR(32) True False - parameters + fingerprint TEXT True False @@ -44,108 +32,102 @@
- + - -55 - -72 + -68 + 71 - email_log + email_actions#ffffff id - BIGINT + MEDIUMINT True True - date - DATETIME + name + VARCHAR(32) True False + +
+
+ + + 68 + 49 + + + allowed_email_actions + #ffffff + - success - BIT + id + BIGINT True - False - - - action - MEDIUMINT - False - False - - - count - MEDIUMINT - False - False + True gpg_key BIGINT - False + True False - comment - TEXT - False + action + MEDIUMINT + True False
- + - 481 - 395 + 106 + -51 - repository_moves + gpg_keys#ffffff id - MEDIUMINT + BIGINT True True - from_repository - MEDIUMINT + fingerprint + VARCHAR(40) True False - to_repository + owner MEDIUMINT True False - - upstream_package_repository - SMALLINT - True - False -
- + - 763 - 241 + 258 + -44 - repository_stabilities + persons#ffffff id - SMALLINT + MEDIUMINT True True @@ -155,38 +137,26 @@ True False - - bugtracker_category - VARCHAR(32) - False - False -
- + - 53 - 501 + 788 + -60 - build_dependency_loops + todo_links#ffffff - id + dependent BIGINT True - True - - - loop - MEDIUMINT - True False - build_assignment + depending_on BIGINT True False @@ -194,49 +164,55 @@
- + - 540 - -64 + 945 + -70 - dependency_types + todos#ffffff id - SMALLINT + BIGINT True True - name - VARCHAR(32) + file + VARCHAR(64) True False - relevant_for_building - BIT + line + MEDIUMINT True False - relevant_for_binary_packages - BIT + description + TEXT True False + + importance + SMALLINT + False + False +
- + - 348 - -60 + 737 + 38 - dependencies + statitstics#ffffff @@ -246,141 +222,111 @@ True - dependent - BIGINT + date + DATETIME True False - depending_on - BIGINT + stable_packages_count + MEDIUMINT True False - dependency_type - SMALLINT + pending_tasks_count + MEDIUMINT True False - -
-
- - - 563 - 42 - - - install_targets - #ffffff - - - id - BIGINT - True - True - - name - VARCHAR(64) + staging_packages_count + MEDIUMINT True False - -
-
- - - 415 - 321 - - - architectures - #ffffff - - id - SMALLINT + testing_packages_count + MEDIUMINT True - True + False - name - VARCHAR(16) + broken_tasks_count + MEDIUMINT True False - -
-
- - - 226 - 473 - - - package_sources - #ffffff - - id - BIGINT + dependency_loops_count + MEDIUMINT True - True + False - pkgbase - VARCHAR(64) + dependency_looped_tasks_count + MEDIUMINT True False - git_revision - VARCHAR(40) + locked_tasks_count + MEDIUMINT True False - mod_git_revision - VARCHAR(40) + blocked_tasks_count + MEDIUMINT True False - upsream_package_repository - SMALLINT + next_tasks_count + MEDIUMINT 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 + -62 + 370 - upstream_repositories + fail_reasons#ffffff @@ -391,12 +337,18 @@ name + VARCHAR(32) + True + False + + + identifier VARCHAR(64) True False - git_repository + severity SMALLINT True False @@ -404,111 +356,165 @@
- + - 770 - 508 + 53 + 346 - 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
- + - 529 - 273 + 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 + + + return_date + DATETIME + False + False +
- + - 554 - 117 + 186 + 137 - install_target_providers + build_slaves#ffffff id - BIGINT + MEDIUMINT True True - package + name + VARCHAR(32) + True + False + + + ssh_key BIGINT True False - install_target + currently_building BIGINT + False + False + + + last_connection + TIME True False + + logged_lines + BIGINT + False + False + + + last_action + VARCHAR(32) + False + False +
@@ -608,67 +614,13 @@
- - - 186 - 137 - - - build_slaves - #ffffff - - - id - MEDIUMINT - True - True - - - name - VARCHAR(32) - True - False - - - ssh_key - BIGINT - True - False - - - currently_building - BIGINT - False - False - - - last_connection - TIME - True - False - - - logged_lines - BIGINT - False - False - - - last_action - VARCHAR(32) - False - False - - -
-
- + - 247 - 291 + 554 + 117 - build_assignments + install_target_providers#ffffff @@ -678,57 +630,27 @@ True - package_source - BIGINT - True - False - - - architecture - SMALLINT - True - False - - - is_blocked - VARCHAR(128) - False - False - - - is_black_listed - VARCHAR(128) - False - False - - - is_broken - BIT - True - False - - - priority - SMALLINT + package + BIGINT True False - return_date - DATETIME - False + install_target + BIGINT + True False
- + - 53 - 346 + 529 + 273 - failed_builds + repositories#ffffff @@ -738,45 +660,39 @@ True - build_slave - MEDIUMINT + name + VARCHAR(64) True False - build_assignment - BIGINT + stability + SMALLINT True False - date - DATETIME + is_on_master_mirror + BIT True False - reason + architecture SMALLINT True False - - log_file - VARCHAR(512) - True - False -
- + - -62 - 370 + 770 + 508 - fail_reasons + git_repositories#ffffff @@ -787,62 +703,68 @@ name - VARCHAR(32) + VARCHAR(64) True False - identifier - VARCHAR(64) + url + VARCHAR(128) True False - severity - SMALLINT + directory + VARCHAR(128) + True + False + + + head + VARCHAR(40) True False
- + - 754 - 399 + 539 + 533 - repository_stability_relations + upstream_repositories#ffffff id - MEDIUMINT + SMALLINT True True - more_stable - MEDIUMINT + name + VARCHAR(64) True False - less_stable - MEDIUMINT + git_repository + SMALLINT True False
- + - 737 - 38 + 226 + 473 - statitstics + package_sources#ffffff @@ -852,81 +774,105 @@ True - date - DATETIME + pkgbase + VARCHAR(64) True False - stable_packages_count - MEDIUMINT + git_revision + VARCHAR(40) True False - pending_tasks_count - MEDIUMINT + mod_git_revision + VARCHAR(40) True False - staging_packages_count - MEDIUMINT + upsream_package_repository + SMALLINT True False - testing_packages_count - MEDIUMINT + uses_upstream + BIT True False - broken_tasks_count - MEDIUMINT + uses_modification + BIT True False - dependency_loops_count - MEDIUMINT + commit_time + DATETIME True False + +
+
+ + + 415 + 321 + + + architectures + #ffffff + - dependency_looped_tasks_count - MEDIUMINT + id + SMALLINT True - False + True - locked_tasks_count - MEDIUMINT + name + VARCHAR(16) True False + +
+
+ + + 563 + 42 + + + install_targets + #ffffff + - blocked_tasks_count - MEDIUMINT + id + BIGINT True - False + True - next_tasks_count - MEDIUMINT + name + VARCHAR(64) True False
- + - 945 - -70 + 348 + -60 - todos + dependencies#ffffff @@ -936,49 +882,85 @@ True - file - VARCHAR(64) + dependent + BIGINT True False - line - MEDIUMINT + depending_on + BIGINT True False - description - TEXT + dependency_type + SMALLINT True False + +
+
+ + + 540 + -64 + + + dependency_types + #ffffff + - importance + id SMALLINT - False + True + True + + + name + VARCHAR(32) + True + False + + + relevant_for_building + BIT + True + False + + + relevant_for_binary_packages + BIT + True False
- + - 788 - -60 + 53 + 501 - todo_links + build_dependency_loops#ffffff - dependent + id BIGINT True + True + + + loop + MEDIUMINT + True False - depending_on + build_assignment BIGINT True False @@ -986,18 +968,18 @@
- + - 258 - -44 + 763 + 241 - persons + repository_stabilities#ffffff id - MEDIUMINT + SMALLINT True True @@ -1007,46 +989,58 @@ True False + + bugtracker_category + VARCHAR(32) + False + False +
- + - 106 - -51 + 481 + 395 - gpg_keys + repository_moves#ffffff id - BIGINT + MEDIUMINT True True - fingerprint - VARCHAR(40) + from_repository + MEDIUMINT True False - owner + to_repository MEDIUMINT True False + + upstream_package_repository + SMALLINT + True + False +
- + - 68 - 49 + -55 + -72 - allowed_email_actions + email_log#ffffff @@ -1056,51 +1050,51 @@ True - gpg_key - BIGINT + date + DATETIME + True + False + + + success + BIT True False action MEDIUMINT - True + False False - -
-
- - - -68 - 71 - - - email_actions - #ffffff - - id + count MEDIUMINT - True - True + False + False - name - VARCHAR(32) - True + gpg_key + BIGINT + False + False + + + comment + TEXT + False False
- + - 237 - 40 + 42 + 135 - ssh_keys + ssh_log#ffffff @@ -1110,13 +1104,25 @@ True - owner + date + DATETIME + True + False + + + build_slave MEDIUMINT + False + False + + + action + VARCHAR(32) True False - fingerprint + parameters TEXT True False @@ -1124,128 +1130,161 @@
- + - 148.781 - 186.812 + 529 + 318.906 - 0 - + 180 + - 186 - 204.812 + 509.547 + 345.906 - 180 - + 0 + - OneToMany + OneToOne Mandatory Mandatory - 2 + 4 0 - + - 596.758 - 482.625 + 290.109 + 40 - 270 - + 90 + - 600.391 - 533 + 293.289 + 5.8125 - 90 - + 270 + - OneToMany + OneToOne Mandatory Mandatory - 3 + 1 0 - + - 558.172 - 395 + 256.727 + 137 90 - + - 583.885 - 360.625 + 290.109 + 103.812 270 - + - OneToMany + OneToOne Mandatory Mandatory - 1 + 2 0 - + - 635.344 - 395 + -9.85156 + 47.8125 + + 270 + + + + + -19.2734 + 71 90 - + + + + + OneToOne + + Mandatory + Mandatory + + + 3 + 0 + + + + + + - 638.771 - 360.625 + 68 + 80.9062 - 270 - + 180 + + + + + 29.4531 + 95.9062 + + 0 + - OneToMany + OneToOne Mandatory Mandatory @@ -1256,95 +1295,95 @@ - + - 433.484 - 303.625 + 142.789 + 49 - 270 - + 90 + - 447.914 - 321 + 159.109 + 12.8125 - 90 - + 270 + - OneToMany + OneToOne Mandatory Mandatory - 11 + 1 0 - + - 494.922 - -30.7917 + 35.2969 + -12.0938 0 - + - 540 - -20.1875 + 106 + -19.0938 180 - + - OneToMany + OneToOne Mandatory Mandatory - 3 + 5 0 - + - 693.656 - 316.812 + 212.219 + -19.0938 0 - + - 763 - 276.812 + 258 + -19.0938 180 - + - OneToMany + OneToOne Mandatory Mandatory @@ -1355,128 +1394,128 @@ - + - 494.922 - -1.58333 + 915.234 + -43.3958 0 - + - 563 - 69.8125 + 945 + -39.3958 180 - + - OneToMany + OneToOne Mandatory Mandatory - 2 + 0 0 - + - 613.289 - 117 + 915.234 + -26.7917 - 90 - + 0 + - 599.156 - 97.625 + 945 + -8.79167 - 270 - + 180 + - OneToMany + OneToOne Mandatory Mandatory - 2 + 1 0 - + - 421.461 - 27.625 + 816.656 + 399 - 270 - + 90 + - 433.484 - 56 + 815.635 + 304.812 - 90 - + 270 + - OneToMany + OneToOne Mandatory Mandatory - 1 + 2 0 - + - 554 - 152.812 + 879.312 + 399 - 180 - + 90 + - 506.969 - 138.542 + 868.271 + 304.812 - 0 - + 270 + - OneToMany + OneToOne Mandatory Mandatory @@ -1487,29 +1526,29 @@ - + - 451.781 - 548.812 + 53 + 398.906 - 0 - + 180 + - 539 - 568.812 + 33.4375 + 408.906 - 180 - + 0 + - OneToMany + OneToOne Mandatory Mandatory @@ -1520,29 +1559,29 @@ - + - 506.969 - 221.083 + 204.719 + 398.906 0 - + - 611.328 - 273 + 247 + 357.906 - 90 - + 180 + - OneToMany + OneToOne Mandatory Mandatory @@ -1553,101 +1592,101 @@ - + - 661.781 - 568.812 + 128.859 + 346 - 0 - + 90 + - 770 - 559.812 + 233.151 + 256.812 - 180 - + 270 + - OneToMany + OneToOne Mandatory Mandatory - 2 + 1 0 - + - 315.086 - 442.625 + 134.195 + 501 - 270 - + 90 + - 338.891 - 473 + 293.974 + 424.812 - 90 - + 270 + - OneToMany + OneToOne Mandatory Mandatory - 1 + 2 0 - + - 383.172 - 366.812 + 280.302 + 256.812 - 0 - + 270 + - 415 - 348.812 + 293.974 + 291 - 180 - + 90 + - OneToMany + OneToOne Mandatory Mandatory - 2 + 3 0 @@ -1657,15 +1696,15 @@ - 360 - 179.812 + 410.573 + 273.812 - 180 + 270 - 337.781 + 340.948 291 90 @@ -1674,7 +1713,7 @@ - OneToMany + OneToOne Mandatory Mandatory @@ -1685,128 +1724,128 @@ - + - 275.271 - 272.625 + 387.922 + 357.906 - 270 - + 0 + - 292.391 - 291 + 415 + 345.906 - 90 - + 180 + - OneToMany + OneToOne Mandatory Mandatory - 3 + 2 0 - + - 126.484 - 501 + 340.948 + 424.812 - 90 - + 270 + - 247 - 392.083 + 341.266 + 473 - 180 - + 90 + - OneToMany + OneToOne Mandatory Mandatory - 2 + 1 0 - + - 126.484 - 346 + 688.453 + 564.906 - 90 - + 0 + - 230.635 - 272.625 + 770 + 553.906 - 270 - + 180 + - OneToMany + OneToOne Mandatory Mandatory - 1 + 2 0 - + - 199.969 - 405.812 + 511.719 + 201.208 0 - + - 247 - 341.542 + 613.703 + 273 - 180 - + 90 + - OneToMany + OneToOne Mandatory Mandatory @@ -1817,29 +1856,29 @@ - + - 53 - 405.812 + 456.531 + 539.906 - 180 - + 0 + - 28.6875 - 413.812 + 539 + 564.906 - 0 - + 180 + - OneToMany + OneToOne Mandatory Mandatory @@ -1850,29 +1889,29 @@ - + - 799.115 - 399 + 554 + 148.906 - 90 - + 180 + - 801.13 - 312.625 + 511.719 + 128.604 - 270 - + 0 + - OneToMany + OneToOne Mandatory Mandatory @@ -1883,128 +1922,128 @@ - + - 844.229 - 399 + 423.836 + 17.8125 - 90 - + 270 + - 839.26 - 312.625 + 435.859 + 56 - 270 - + 90 + - OneToMany + OneToOne Mandatory Mandatory - 2 + 1 0 - + - 910.484 - -41.4583 + 632.109 + 117 - 0 - + 90 + - 945 - -35.4583 + 613.016 + 91.8125 - 180 - + 270 + - OneToMany + OneToOne Mandatory Mandatory - 1 + 2 0 - + - 910.484 - -22.9167 + 499.672 + -8.125 0 - + - 945 - -0.916667 + 563 + 66.9062 180 - + - OneToMany + OneToOne Mandatory Mandatory - 0 + 2 0 - + - 207.469 - -15.1875 + 698.406 + 318.906 0 - + - 258 - -16.1875 + 763 + 272.906 180 - + - OneToMany + OneToOne Mandatory Mandatory @@ -2015,95 +2054,95 @@ - + - 25.875 - -4.1875 + 499.672 + -34.0625 0 - + - 106 - -15.1875 + 540 + -25.0938 180 - + - OneToMany + OneToOne Mandatory Mandatory - 5 + 3 0 - + - 121.914 - 49 + 461.146 + 273.812 - 90 - + 270 + - 156.734 - 20.625 + 462.273 + 321 - 270 - + 90 + - OneToMany + OneToOne Mandatory Mandatory - 1 + 11 0 - + - 68 - 84.8125 + 559.755 + 395 - 180 - + 90 + - 0.75 - 98.8125 + 585.469 + 364.812 - 0 - + 270 + - OneToMany + OneToOne Mandatory Mandatory @@ -2114,101 +2153,101 @@ - + - -14.5625 - 63.625 + 638.51 + 395 - 270 - + 90 + - -33.625 - 71 + 641.938 + 364.812 - 90 - + 270 + - OneToMany + OneToOne Mandatory Mandatory - 3 + 1 0 - + - 252.953 - 137 + 599.133 + 472.812 - 90 - + 270 + - 287.734 - 111.625 + 613.727 + 533 - 270 - + 90 + - OneToMany + OneToOne Mandatory Mandatory - 2 + 3 0 - + - 287.734 - 40 + 153.531 + 180.906 - 90 - + 0 + - 290.914 - 11.625 + 186 + 196.906 - 270 - + 180 + - OneToMany + OneToOne Mandatory Mandatory - 1 + 2 0 -- cgit v1.2.3-70-g09d2