From 632513b74765481788ac7405bf28da24b8ae9ed5 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 4 Apr 2018 13:58:58 +0200 Subject: new column in `package_sources`: `commit_time` --- misc/database-layout.dmf | 1012 +++++++++++++++++++++++----------------------- 1 file changed, 509 insertions(+), 503 deletions(-) (limited to 'misc') diff --git a/misc/database-layout.dmf b/misc/database-layout.dmf index 0a596d2..adb7445 100644 --- a/misc/database-layout.dmf +++ b/misc/database-layout.dmf @@ -2,121 +2,109 @@ Relational - + - 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
- + - 785 - 6 + 763 + 241 - files + repository_stabilities#ffffff id - BIGINT + SMALLINT True True - - path - TEXT - True - False - name - TEXT - True - False - - - name_hash - MEDIUMINT + VARCHAR(32) True False - absolute_name_hash - VARCHAR(54) - True + bugtracker_category + VARCHAR(32) + False False
- + - 754 - 399 + 52 + 516 - repository_stability_relations + build_dependency_loops#ffffff id - MEDIUMINT + BIGINT True True - more_stable + loop MEDIUMINT True False - less_stable - MEDIUMINT + build_assignment + BIGINT True False
- + - 53 - 103 + 51 + -8 - fail_reasons + dependency_types#ffffff @@ -132,75 +120,63 @@ False - identifier - VARCHAR(64) + relevant_for_building + BIT True False - severity - SMALLINT + relevant_for_binary_packages + BIT True False
- + - 45 - 287 + 496 + -6 - failed_builds + dependencies#ffffff id - MEDIUMINT + BIGINT True True - build_slave - MEDIUMINT - True - False - - - build_assignment + dependent BIGINT True False - date - TIME + depending_on + BIGINT True False - reason + dependency_type SMALLINT True False - - log_file - VARCHAR(512) - True - False -
- + - 245 - 331 + 680 + 3 - build_assignments + install_targets#ffffff @@ -210,189 +186,201 @@ True - package_source - BIGINT + name + VARCHAR(64) True False + +
+
+ + + 415 + 321 + + + architectures + #ffffff + - architecture + id SMALLINT True - False - - - is_blocked - VARCHAR(128) - False - False - - - is_black_listed - VARCHAR(128) - False - False - - - is_broken - BIT - True - False + True - priority - SMALLINT + name + VARCHAR(16) True False
- + - 163 - 88 + 229 + 471 - build_slaves + package_sources#ffffff id - MEDIUMINT + BIGINT True True - name - VARCHAR(32) + pkgbase + VARCHAR(64) True False - ssh_key - VARCHAR(1024) + git_revision + VARCHAR(40) True False - operator - VARCHAR(32) + mod_git_revision + VARCHAR(40) True False - currently_building - BIGINT - False + upsream_package_repository + SMALLINT + True False - last_connection - TIME + uses_upstream + BIT True False - logged_lines - BIGINT - False + uses_modification + BIT + True False - last_action - VARCHAR(32) - False + commit_time + DATETIME + True False
- + - 329 - 46 + 539 + 533 - binary_packages + upstream_repositories#ffffff id - BIGINT + SMALLINT True True - build_assignment - BIGINT + name + VARCHAR(64) True False - repository - MEDIUMINT + git_repository + SMALLINT True False + +
+
+ + + 770 + 508 + + + git_repositories + #ffffff + - epoch - MEDIUMINT + id + SMALLINT True - False + True - pkgver + name VARCHAR(64) True False - pkgrel - MEDIUMINT - True - False - - - sub_pkgrel - MEDIUMINT + url + VARCHAR(128) True False - has_issues - BIT + directory + VARCHAR(128) True False - is_tested - BIT + head + VARCHAR(40) True False + +
+
+ + + 516 + 246 + + + repositories + #ffffff + - is_to_be_deleted - BIT + id + MEDIUMINT True - False + True - pkgname + name VARCHAR(64) True False - architecture + stability SMALLINT True False - sha512sum - VARCHAR(128) - False + is_on_master_mirror + BIT + True False @@ -428,259 +416,265 @@
- + - 516 - 246 + 329 + 46 - repositories + binary_packages#ffffff id - MEDIUMINT + BIGINT True True - name - VARCHAR(64) + build_assignment + BIGINT True False - stability - SMALLINT + repository + MEDIUMINT True False - is_on_master_mirror - BIT + epoch + MEDIUMINT True False - -
-
- - - 770 - 508 - - - git_repositories - #ffffff - - id - SMALLINT + pkgver + VARCHAR(64) True - True + False - name - VARCHAR(64) + pkgrel + MEDIUMINT True False - url - VARCHAR(128) + sub_pkgrel + MEDIUMINT True False - directory - VARCHAR(128) + has_issues + BIT True False - head - VARCHAR(40) + is_tested + BIT True False - -
-
- - - 539 - 533 - - - upstream_repositories - #ffffff - - id - SMALLINT + is_to_be_deleted + BIT True - True + False - name + pkgname VARCHAR(64) True False - git_repository + architecture SMALLINT True False + + sha512sum + VARCHAR(128) + False + False +
- + - 229 - 487 + 163 + 88 - package_sources + build_slaves#ffffff id - BIGINT + MEDIUMINT True True - pkgbase - VARCHAR(64) + name + VARCHAR(32) True False - git_revision - VARCHAR(40) + ssh_key + VARCHAR(1024) True False - mod_git_revision - VARCHAR(40) + operator + VARCHAR(32) True False - upsream_package_repository - SMALLINT - True + currently_building + BIGINT + False False - uses_upstream - BIT + last_connection + TIME True False - uses_modification - BIT - True + logged_lines + BIGINT + False + False + + + last_action + VARCHAR(32) + False False
- + - 421 - 321 + 247 + 291 - architectures + build_assignments#ffffff id - SMALLINT + BIGINT True True - name - VARCHAR(16) + package_source + BIGINT True False - -
-
- - - 680 - 3 - - - install_targets - #ffffff - - id - BIGINT + architecture + SMALLINT + True + False + + + is_blocked + VARCHAR(128) + False + False + + + is_black_listed + VARCHAR(128) + False + False + + + is_broken + BIT True - True + False - name - VARCHAR(64) + priority + SMALLINT True False
- + - 496 - -6 + 45 + 287 - dependencies + failed_builds#ffffff id - BIGINT + MEDIUMINT True True - dependent - BIGINT + build_slave + MEDIUMINT True False - depending_on + build_assignment BIGINT True False - dependency_type + date + DATETIME + True + False + + + reason SMALLINT True False + + log_file + VARCHAR(512) + True + False +
- + - 51 - -8 + 53 + 103 - dependency_types + fail_reasons#ffffff @@ -696,134 +690,146 @@ False - relevant_for_building - BIT + identifier + VARCHAR(64) True False - relevant_for_binary_packages - BIT + severity + SMALLINT True False
- + - 52 - 516 + 754 + 399 - build_dependency_loops + repository_stability_relations#ffffff id - BIGINT + MEDIUMINT True True - loop + more_stable MEDIUMINT True False - build_assignment - BIGINT + less_stable + MEDIUMINT True False
- + - 763 - 241 + 785 + 6 - repository_stabilities + files#ffffff id - SMALLINT + BIGINT True True + + path + TEXT + True + False + name - VARCHAR(32) + TEXT True False - bugtracker_category - VARCHAR(32) - False + name_hash + MEDIUMINT + True + False + + + absolute_name_hash + VARCHAR(54) + True False
- + - 481 - 395 + 796 + 131 - repository_moves + file_providers#ffffff id - MEDIUMINT + BIGINT True True - from_repository - MEDIUMINT + package + BIGINT True False - to_repository - MEDIUMINT + file + BIGINT True False - upstream_package_repository - SMALLINT + file_name_hash + MEDIUMINT True False
- + - 796 - 169.906 + 599.133 + 472.812 - 180 - + 270 + - 480.719 - 168.288 + 613.727 + 533 - 0 - + 90 + @@ -834,62 +840,62 @@ Mandatory - 1 + 3 0 - + - 864 - 131 + 559.755 + 395 90 - + - 871.711 - 97.8125 + 572.469 + 323.812 270 - + OneToMany - Optional - Optional + Mandatory + Mandatory - 2 + 1 0 - + - 816.656 - 399 + 638.51 + 395 90 - + - 815.635 - 304.812 + 628.938 + 323.812 270 - + @@ -905,24 +911,24 @@ - + - 879.312 - 399 + 430.146 + 249.812 - 90 - + 270 + - 868.271 - 304.812 + 462.273 + 321 - 270 - + 90 + @@ -933,29 +939,29 @@ Mandatory - 1 + 11 0 - + - 95.5729 - 287 + 496 + 32.9062 - 90 - + 180 + - 100.719 - 180.812 + 284.844 + 30.9062 - 270 - + 0 + @@ -966,29 +972,29 @@ Mandatory - 4 + 3 0 - + - 196.719 - 339.906 + 685.406 + 284.906 0 - + - 245 - 390.906 + 763 + 272.906 180 - + @@ -1004,24 +1010,24 @@ - + - 146.146 - 287 + 647.672 + 32.9062 - 90 - + 0 + - 210.151 - 221.812 + 680 + 27.9062 - 270 - + 180 + @@ -1032,29 +1038,29 @@ Mandatory - 1 + 2 0 - + - 133.195 - 516 + 689.109 + 89 90 - + - 291.974 - 450.812 + 730.016 + 52.8125 270 - + @@ -1070,24 +1076,24 @@ - + - 257.302 - 221.812 + 571.836 + 71.8125 270 - + - 291.974 - 331 + 480.719 + 86.7625 - 90 - + 0 + @@ -1098,29 +1104,29 @@ Mandatory - 4 + 1 0 - + - 379.573 - 249.812 + 611 + 120.906 - 270 - + 180 + - 338.948 - 331 + 480.719 + 127.525 - 90 - + 0 + @@ -1136,24 +1142,24 @@ - + - 385.922 - 390.906 + 459.531 + 537.906 0 - + - 421 - 345.906 + 539 + 564.906 180 - + @@ -1164,29 +1170,29 @@ Mandatory - 2 + 4 0 - + - 338.948 - 450.812 + 480.719 + 209.05 - 270 - + 0 + - 344.266 - 487 + 600.703 + 246 90 - + @@ -1197,7 +1203,7 @@ Mandatory - 1 + 2 0 @@ -1235,24 +1241,24 @@ - + - 480.719 - 209.05 + 340.948 + 410.812 - 0 - + 270 + - 600.703 - 246 + 344.266 + 471 90 - + @@ -1263,29 +1269,29 @@ Mandatory - 2 + 1 0 - + - 459.531 - 546.906 + 387.922 + 350.906 0 - + - 539 - 564.906 + 415 + 345.906 180 - + @@ -1296,29 +1302,29 @@ Mandatory - 4 + 2 0 - + - 611 - 120.906 + 379.573 + 249.812 - 180 - + 270 + - 480.719 - 127.525 + 340.948 + 291 - 0 - + 90 + @@ -1334,24 +1340,24 @@ - + - 571.836 - 71.8125 + 257.302 + 221.812 270 - + - 480.719 - 86.7625 + 293.974 + 291 - 0 - + 90 + @@ -1362,29 +1368,29 @@ Mandatory - 1 + 4 0 - + - 689.109 - 89 + 133.195 + 516 90 - + - 730.016 - 52.8125 + 293.974 + 410.812 270 - + @@ -1400,24 +1406,24 @@ - + - 647.672 - 32.9062 + 146.146 + 287 - 0 - + 90 + - 680 - 27.9062 + 210.151 + 221.812 - 180 - + 270 + @@ -1428,29 +1434,29 @@ Mandatory - 2 + 1 0 - + - 685.406 - 284.906 + 196.719 + 339.906 0 - + - 763 - 272.906 + 247 + 350.906 180 - + @@ -1466,24 +1472,24 @@ - + - 496 - 32.9062 + 95.5729 + 287 - 180 - + 90 + - 284.844 - 30.9062 + 100.719 + 180.812 - 0 - + 270 + @@ -1494,29 +1500,29 @@ Mandatory - 3 + 4 0 - + - 430.146 - 249.812 + 816.656 + 399 - 270 - + 90 + - 468.273 - 321 + 815.635 + 304.812 - 90 - + 270 + @@ -1527,29 +1533,29 @@ Mandatory - 11 + 1 0 - + - 638.51 - 395 + 879.312 + 399 90 - + - 628.938 - 323.812 + 868.271 + 304.812 270 - + @@ -1565,57 +1571,57 @@ - + - 559.755 - 395 + 864 + 131 90 - + - 572.469 - 323.812 + 871.711 + 97.8125 270 - + OneToMany - Mandatory - Mandatory + Optional + Optional - 1 + 2 0 - + - 599.133 - 472.812 + 796 + 169.906 - 270 - + 180 + - 613.727 - 533 + 480.719 + 168.288 - 90 - + 0 + @@ -1626,7 +1632,7 @@ Mandatory - 3 + 1 0 -- cgit v1.2.3-70-g09d2