From 09e4e9d45db1f445d916f17c6296eabf65485ed9 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 17 Apr 2018 14:31:10 +0200 Subject: new tables in database and dump --- misc/database-layout.dmf | 1420 +++++++++++++++++++++++----------------------- 1 file changed, 710 insertions(+), 710 deletions(-) (limited to 'misc/database-layout.dmf') 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 @@ Relational - + - 237 - 40 + 42 + 135 - ssh_keys + ssh_log#ffffff @@ -18,13 +18,25 @@ True - owner + date + DATETIME + True + False + + + build_slave MEDIUMINT + False + False + + + action + VARCHAR(32) True False - fingerprint + parameters TEXT True False @@ -32,102 +44,108 @@
- + - -69 - 71 + -55 + -72 - email_actions + email_log#ffffff id - MEDIUMINT + BIGINT True True - name - VARCHAR(32) + date + DATETIME True False - -
-
- - - 68 - 49 - - - allowed_email_actions - #ffffff - - id - BIGINT + success + BIT True - True + False + + + action + MEDIUMINT + False + False + + + count + MEDIUMINT + False + False gpg_key BIGINT - True + False False - action - MEDIUMINT - True + comment + TEXT + 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 +
- + - 257 - -44 + 763 + 241 - persons + repository_stabilities#ffffff id - MEDIUMINT + SMALLINT True True @@ -137,26 +155,38 @@ True False + + bugtracker_category + VARCHAR(32) + False + False +
- + - 974 - 255 + 52 + 516 - todo_links + build_dependency_loops#ffffff - dependent + id BIGINT True + True + + + loop + MEDIUMINT + True False - depending_on + build_assignment BIGINT True False @@ -164,55 +194,49 @@
- + - 1142 - 235 + 540 + -64 - todos + dependency_types#ffffff id - BIGINT + SMALLINT True True - file - VARCHAR(64) + name + VARCHAR(32) True False - line - MEDIUMINT + relevant_for_building + BIT True False - description - TEXT + relevant_for_binary_packages + BIT True False - - importance - SMALLINT - False - False -
- + - 1002 - 9 + 348 + -60 - statitstics + dependencies#ffffff @@ -222,249 +246,213 @@ True - date - DATETIME - True - False - - - stable_packages_count - MEDIUMINT - True - False - - - pending_tasks_count - MEDIUMINT - True - False - - - staging_packages_count - MEDIUMINT - True - False - - - testing_packages_count - MEDIUMINT - True - False - - - broken_tasks_count - MEDIUMINT - True - False - - - dependency_loops_count - MEDIUMINT + dependent + BIGINT True False - dependency_looped_tasks_count - MEDIUMINT + depending_on + BIGINT True False - locked_tasks_count - MEDIUMINT + dependency_type + SMALLINT 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
- + - 754 - 399 + 415 + 321 - repository_stability_relations + architectures#ffffff id - MEDIUMINT + SMALLINT True True - more_stable - MEDIUMINT - True - False - - - less_stable - MEDIUMINT + name + VARCHAR(16) True False
- + - 51 - 244 + 229 + 471 - fail_reasons + package_sources#ffffff id - SMALLINT + BIGINT True True - name - VARCHAR(32) + pkgbase + VARCHAR(64) True False - identifier - VARCHAR(64) + git_revision + VARCHAR(40) True False - severity - SMALLINT + mod_git_revision + VARCHAR(40) True False - -
-
- - - 53 - 346 - - - failed_builds - #ffffff - - id - MEDIUMINT + upsream_package_repository + SMALLINT True - True + False - build_slave - MEDIUMINT + uses_upstream + BIT True False - build_assignment - BIGINT + uses_modification + BIT True False - date + commit_time DATETIME True False + +
+
+ + + 539 + 533 + + + upstream_repositories + #ffffff + - reason + id SMALLINT True + True + + + name + VARCHAR(64) + True False - log_file - VARCHAR(512) + git_repository + SMALLINT True False
- + - 247 - 291 + 770 + 508 - build_assignments + git_repositories#ffffff id - BIGINT + SMALLINT True True - package_source - BIGINT - True - False - - - architecture - SMALLINT + name + VARCHAR(64) True False - is_blocked + url VARCHAR(128) - False + True False - is_black_listed + directory VARCHAR(128) - False - False - - - is_broken - BIT True False - priority - SMALLINT + head + VARCHAR(40) True False
- + - 186 - 137 + 529 + 273 - build_slaves + repositories#ffffff @@ -475,38 +463,50 @@ name - VARCHAR(32) + VARCHAR(64) True False - ssh_key - BIGINT + stability + SMALLINT True False - currently_building - BIGINT - False + is_on_master_mirror + BIT + True False + +
+
+ + + 553 + 131 + + + install_target_providers + #ffffff + - last_connection - TIME + id + BIGINT True - False + True - logged_lines + package BIGINT - False + True False - last_action - VARCHAR(32) - False + install_target + BIGINT + True False @@ -602,121 +602,169 @@
- + - 553 - 131 + 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 +
- + - 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 +
- + - 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
- + - 539 - 533 + -62 + 370 - upstream_repositories + fail_reasons#ffffff @@ -727,12 +775,18 @@ name - VARCHAR(64) + VARCHAR(32) True False - git_repository + identifier + VARCHAR(64) + True + False + + + severity SMALLINT True False @@ -740,209 +794,179 @@
- + - 229 - 471 + 754 + 399 - package_sources + repository_stability_relations#ffffff id - BIGINT + MEDIUMINT True True - pkgbase - VARCHAR(64) + more_stable + MEDIUMINT True False - git_revision - VARCHAR(40) + less_stable + MEDIUMINT True False + +
+
+ + + 737 + 38 + + + statitstics + #ffffff + - mod_git_revision - VARCHAR(40) + id + BIGINT True - False + True - upsream_package_repository - SMALLINT + date + DATETIME True False - uses_upstream - BIT + stable_packages_count + MEDIUMINT True False - uses_modification - BIT + pending_tasks_count + MEDIUMINT True False - commit_time - DATETIME + staging_packages_count + MEDIUMINT True False - -
-
- - - 415 - 321 - - - architectures - #ffffff - - id - SMALLINT - True - True - - - name - VARCHAR(16) + testing_packages_count + MEDIUMINT True False - -
-
- - - 795 - 148 - - - install_targets - #ffffff - - id - BIGINT + broken_tasks_count + MEDIUMINT True - True + False - name - VARCHAR(64) + dependency_loops_count + MEDIUMINT True False - -
-
- - - 564 - 22 - - - 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
- + - 744 - 17 + 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 +
- + - 52 - 516 + 788 + -60 - build_dependency_loops + todo_links#ffffff - id + dependent BIGINT True - True - - - loop - MEDIUMINT - True False - build_assignment + depending_on BIGINT True False @@ -950,18 +974,18 @@
- + - 763 - 241 + 258 + -44 - repository_stabilities + persons#ffffff id - SMALLINT + MEDIUMINT True True @@ -971,58 +995,46 @@ True False - - bugtracker_category - VARCHAR(32) - False - 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 -
- + - -55 - -72 + 68 + 49 - mail_log + allowed_email_actions#ffffff @@ -1032,79 +1044,67 @@ True - date - DATETIME - True - False - - - success - BIT + gpg_key + BIGINT True False action - ENUM - False - False - - - count MEDIUMINT - False - False - - - gpg_key - BIGINT - False - False - - - comment - TEXT - False + True False
- + - 42 - 135 + -68 + 71 - ssh_log + email_actions#ffffff id - BIGINT + MEDIUMINT True True - date - DATETIME + name + VARCHAR(32) True False + +
+
+ + + 237 + 40 + + + ssh_keys + #ffffff + - build_slave - MEDIUMINT + id + BIGINT True - False + True - action - ENUM + owner + MEDIUMINT True False - parameters + fingerprint TEXT True False @@ -1112,24 +1112,24 @@
- + - 290.109 - 40 + 153.531 + 180.906 - 90 - + 0 + - 292.289 - 5.8125 - - 270 - + 186 + 196.906 + + 180 + @@ -1140,29 +1140,29 @@ Mandatory - 1 + 2 0 - + - 256.727 - 137 + 599.133 + 472.812 - 90 - + 270 + - 290.109 - 103.812 + 613.727 + 533 - 270 - + 90 + @@ -1173,29 +1173,29 @@ Mandatory - 2 + 3 0 - + - -9.85156 - 47.8125 + 559.755 + 395 - 270 - + 90 + - -20.2734 - 71 + 585.469 + 350.812 - 90 - + 270 + @@ -1206,29 +1206,29 @@ Mandatory - 3 + 1 0 - + - 68 - 80.9062 + 638.51 + 395 - 180 - + 90 + - 28.4531 - 95.9062 + 641.938 + 350.812 - 0 - + 270 + @@ -1244,24 +1244,24 @@ - + - 142.789 - 49 + 476.146 + 257.812 - 90 - + 270 + - 159.109 - 12.8125 + 462.273 + 321 - 270 - + 90 + @@ -1272,29 +1272,29 @@ Mandatory - 1 + 11 0 - + - 35.2969 - -12.0938 + 499.672 + -34.0625 0 - + - 106 - -19.0938 + 540 + -25.0938 180 - + @@ -1305,29 +1305,29 @@ Mandatory - 5 + 3 0 - + - 212.219 - -19.0938 + 698.406 + 311.906 0 - + - 257 - -19.0938 + 763 + 272.906 180 - + @@ -1343,24 +1343,24 @@ - + - 1101.23 - 271.604 + 499.672 + -8.125 0 - + - 1142 - 265.604 + 563 + 66.9062 180 - + @@ -1371,29 +1371,29 @@ Mandatory - 0 + 2 0 - + - 1101.23 - 288.208 + 631.109 + 131 - 0 - + 90 + - 1142 - 296.208 + 613.016 + 91.8125 - 180 - + 270 + @@ -1404,29 +1404,29 @@ Mandatory - 1 + 2 0 - + - 816.656 - 399 + 423.836 + 17.8125 - 90 - + 270 + - 815.635 - 304.812 + 450.859 + 54 - 270 - + 90 + @@ -1437,29 +1437,29 @@ Mandatory - 2 + 1 0 - + - 879.312 - 399 + 553 + 162.906 - 90 - + 180 + - 868.271 - 304.812 + 526.719 + 121.938 - 270 - + 0 + @@ -1475,24 +1475,24 @@ - + - 103.573 - 346 + 459.531 + 537.906 - 90 - + 0 + - 98.7188 - 321.812 + 539 + 564.906 - 270 - + 180 + @@ -1508,24 +1508,24 @@ - + - 204.719 - 398.906 + 526.719 + 189.875 0 - + - 247 - 350.906 + 613.703 + 273 - 180 - + 90 + @@ -1541,24 +1541,24 @@ - + - 154.146 - 346 + 688.453 + 564.906 - 90 - + 0 + - 233.151 - 256.812 + 770 + 553.906 - 270 - + 180 + @@ -1569,29 +1569,29 @@ Mandatory - 1 + 2 0 - + - 133.195 - 516 + 340.948 + 410.812 - 90 - + 270 + - 293.974 - 410.812 + 344.266 + 471 - 270 - + 90 + @@ -1602,29 +1602,29 @@ Mandatory - 2 + 1 0 - + - 280.302 - 256.812 + 387.922 + 350.906 - 270 - + 0 + - 293.974 - 291 + 415 + 345.906 - 90 - + 180 + @@ -1635,7 +1635,7 @@ Mandatory - 3 + 2 0 @@ -1673,24 +1673,24 @@ - + - 387.922 - 350.906 + 280.302 + 256.812 - 0 - + 270 + - 415 - 345.906 + 293.974 + 291 - 180 - + 90 + @@ -1701,29 +1701,29 @@ Mandatory - 2 + 3 0 - + - 340.948 - 410.812 + 133.195 + 516 - 270 - + 90 + - 344.266 - 471 + 293.974 + 410.812 - 90 - + 270 + @@ -1734,29 +1734,29 @@ Mandatory - 1 + 2 0 - + - 688.453 - 564.906 + 128.859 + 346 - 0 - + 90 + - 770 - 553.906 + 233.151 + 256.812 - 180 - + 270 + @@ -1767,29 +1767,29 @@ Mandatory - 2 + 1 0 - + - 526.719 - 206.859 + 204.719 + 398.906 0 - + - 613.703 - 273 + 247 + 350.906 - 90 - + 180 + @@ -1805,24 +1805,24 @@ - + - 459.531 - 537.906 + 53 + 398.906 - 0 - + 180 + - 539 - 564.906 + 33.4375 + 408.906 - 180 - + 0 + @@ -1838,24 +1838,24 @@ - + - 553 - 162.906 + 816.656 + 399 - 180 - + 90 + - 526.719 - 155.906 + 815.635 + 304.812 - 0 - + 270 + @@ -1871,24 +1871,24 @@ - + - 564 - 60.9062 + 879.312 + 399 - 180 - + 90 + - 526.719 - 104.953 + 868.271 + 304.812 - 0 - + 270 + @@ -1899,29 +1899,29 @@ Mandatory - 1 + 2 0 - + - 709.219 - 162.906 + 915.234 + -43.3958 0 - + - 795 - 172.906 + 945 + -39.3958 180 - + @@ -1932,29 +1932,29 @@ Mandatory - 2 + 1 0 - + - 639.836 - 99.8125 + 915.234 + -26.7917 - 270 - + 0 + - 845.016 - 148 + 945 + -8.79167 - 90 - + 180 + @@ -1965,29 +1965,29 @@ Mandatory - 2 + 0 0 - + - 698.406 - 311.906 + 212.219 + -19.0938 0 - + - 763 - 272.906 + 258 + -19.0938 180 - + @@ -2003,24 +2003,24 @@ - + - 715.672 - 60.9062 + 35.2969 + -12.0938 0 - + - 744 - 55.9062 + 106 + -19.0938 180 - + @@ -2031,29 +2031,29 @@ Mandatory - 3 + 5 0 - + - 476.146 - 257.812 + 142.789 + 49 - 270 - + 90 + - 462.273 - 321 + 159.109 + 12.8125 - 90 - + 270 + @@ -2064,29 +2064,29 @@ Mandatory - 11 + 1 0 - + - 559.755 - 395 + 68 + 80.9062 - 90 - + 180 + - 585.469 - 350.812 + 29.4531 + 95.9062 - 270 - + 0 + @@ -2102,24 +2102,24 @@ - + - 638.51 - 395 + -9.85156 + 47.8125 - 90 - + 270 + - 641.938 - 350.812 + -19.2734 + 71 - 270 - + 90 + @@ -2130,29 +2130,29 @@ Mandatory - 1 + 3 0 - + - 599.133 - 472.812 + 256.727 + 137 - 270 - + 90 + - 613.727 - 533 + 290.109 + 103.812 - 90 - + 270 + @@ -2163,29 +2163,29 @@ Mandatory - 3 + 2 0 - + - 153.531 - 180.906 + 290.109 + 40 - 0 - + 90 + - 186 - 196.906 + 293.289 + 5.8125 - 180 - + 270 + @@ -2196,7 +2196,7 @@ Mandatory - 2 + 1 0 -- cgit v1.2.3-70-g09d2