From faaff687c71809101943840bb0115e7000e6f606 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 28 Jun 2019 09:05:03 +0200 Subject: new table `command_log` --- misc/database-layout.dmf | 1984 +++++++++++++++++++++++---------------------- misc/database-layout.dump | 11 + 2 files changed, 1024 insertions(+), 971 deletions(-) (limited to 'misc') diff --git a/misc/database-layout.dmf b/misc/database-layout.dmf index c310699..ddcd1dd 100644 --- a/misc/database-layout.dmf +++ b/misc/database-layout.dmf @@ -2,13 +2,13 @@ Relational - + - 901 - 641 + 977 + 378 - mirror_statuses + command_log#ffffff @@ -18,123 +18,117 @@ True - protocol - VARCHAR(8) + date + TIMESTAMP True False - url - VARCHAR(128) + command + VARCHAR(64) True False - country - VARCHAR(64) + parameters + TEXT True False - country_code - VARCHAR(4) + shell + BIT True False + +
+
+ + + 632 + 498 + + + upstream_packages + #ffffff + - last_sync + id BIGINT True - False + True - start - FLOAT + pkgname + VARCHAR(64) True False - stop - FLOAT + epoch + MEDIUMINT True False - isos - BIT + pkgver + VARCHAR(64) True False - ipv4 - BIT + pkgrel + MEDIUMINT True False - ipv6 - BIT + architecture + VARCHAR(6) True False - active - BIT + repository + SMALLINT True False
- + - 656 - 380 + -23 + 750 - architecture_compatibilities + toolchain_order#ffffff - id - MEDIUMINT - True - True - - - built_for - SMALLINT - True - False - - - runs_on + number SMALLINT True - False - - - fully_compatible - BIT - True - False + True - build_slave_compatible - BIT(n) + pkgbase + VARCHAR(64) True False
- + - 229 - 20 + 483 + 57 - ssh_keys + versions#ffffff @@ -144,37 +138,19 @@ True - owner - MEDIUMINT - True - False - - - fingerprint - TEXT + order + BIGINT True False - -
-
- - - -54 - 70 - - - email_actions - #ffffff - - id + epoch MEDIUMINT True - True + False - name + version VARCHAR(32) True False @@ -182,13 +158,13 @@
- + - 68 - 42 + 345 + -71 - allowed_email_actions + dependencies#ffffff @@ -198,105 +174,87 @@ True - gpg_key + dependent BIGINT True False - action - MEDIUMINT + depending_on + BIGINT True False - -
-
- - - 106 - -51 - - - gpg_keys - #ffffff - - id - BIGINT + dependency_type + SMALLINT True - True + False - fingerprint - VARCHAR(40) + version + BIGINT True False - owner - MEDIUMINT + version_relation + VARCHAR(2) True False
- + - 240 - -66 + 525 + 215 - persons + binary_packages_in_repositories#ffffff id - MEDIUMINT + BIGINT True True - name - VARCHAR(32) + package + BIGINT True False - -
-
- - - 821 - -49 - - - todo_links - #ffffff - - dependent - BIGINT + repository + MEDIUMINT True False - depending_on - BIGINT + is_to_be_deleted + BIT + True + False + + + last_moved + TIMESTAMP True False
- + - 971 - -69 + -52 + 134 - todos + ssh_log#ffffff @@ -306,39 +264,39 @@ True - file - VARCHAR(64) + date + TIMESTAMP True False - line + build_slave MEDIUMINT - True + False False - description - TEXT + action + VARCHAR(32) True False - importance - SMALLINT - False + parameters + TEXT + True False
- + - 357 - 455 + -55 + -72 - statitstics + email_log#ffffff @@ -354,123 +312,141 @@ False - stable_packages_count - MEDIUMINT + success + BIT True False - pending_tasks_count + action MEDIUMINT - True + False False - pending_packages_count + count MEDIUMINT - True + False False - staging_packages_count - MEDIUMINT - True - False - - - testing_packages_count - MEDIUMINT - True + gpg_key + BIGINT + False False - tested_packages_count - MEDIUMINT - True + comment + TEXT + False False + +
+
+ + + 793 + 497 + + + repository_moves + #ffffff + - broken_tasks_count + id MEDIUMINT True - False + True - dependency_loops_count + from_repository MEDIUMINT True False - dependency_looped_tasks_count + to_repository MEDIUMINT True False - locked_tasks_count - MEDIUMINT + upstream_package_repository + SMALLINT True False + +
+
+ + + 829 + 168 + + + repository_stabilities + #ffffff + - blocked_tasks_count - MEDIUMINT + id + SMALLINT True - False + True - next_tasks_count - MEDIUMINT + name + VARCHAR(32) True False - architecture - SMALLINT - True + bugtracker_category + VARCHAR(32) + False False
- + - 816 - 57 + -8 + 572 - 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 - 240 + 580 + -71 - fail_reasons + dependency_types#ffffff @@ -486,81 +462,75 @@ False - identifier - VARCHAR(64) + relevant_for_building + BIT True False - severity - SMALLINT + relevant_for_binary_packages + BIT True False
- + - -19 - 365 + 653 + 21 - failed_builds + install_targets#ffffff id - MEDIUMINT - True - True - - - build_slave - MEDIUMINT - True - False - - - build_assignment BIGINT True - False + True - date - TIMESTAMP + name + VARCHAR(64) True False + +
+
+ + + 382 + 378 + + + architectures + #ffffff + - reason + id SMALLINT True - False - - - log_file - VARCHAR(512) - True - False + True - log_file_exists - BIT + name + VARCHAR(16) True False
- + - 164 - 408 + 173 + 709 - build_assignments + package_sources#ffffff @@ -570,122 +540,200 @@ True - package_source - BIGINT + pkgbase + VARCHAR(64) True False - architecture - SMALLINT + git_revision + VARCHAR(40) True False - is_blocked - VARCHAR(128) - False + mod_git_revision + VARCHAR(40) + True False - is_black_listed - VARCHAR(128) - False + upstream_package_repository + SMALLINT + True False - is_broken + uses_upstream BIT True False - priority - SMALLINT + uses_modification + BIT True False - return_date + commit_time TIMESTAMP - False - False - - - currently_blocking - MEDIUMINT - False + True False
- + - 118 - 148 + 729 + 684 - build_slaves + upstream_repositories#ffffff id - MEDIUMINT + SMALLINT True True name - VARCHAR(32) + VARCHAR(64) True False - ssh_key - BIGINT + git_repository + SMALLINT True False + +
+
+ + + 598 + 736 + + + git_repositories + #ffffff + - currently_building - BIGINT - False - False + id + SMALLINT + True + True - last_connection - TIME + name + VARCHAR(64) True False - logged_lines - BIGINT - False + url + VARCHAR(128) + True False - last_action - VARCHAR(32) - False + directory + VARCHAR(128) + True False - trials - MEDIUMINT - False + head + VARCHAR(40) + True False - - is_sane + +
+
+ + + 803 + 261 + + + repositories + #ffffff + + + id + MEDIUMINT + True + True + + + name + VARCHAR(64) + True + False + + + stability + SMALLINT + True + False + + + is_on_master_mirror BIT True False - access_allowed - BIT(n) + architecture + SMALLINT + True + False + + +
+
+ + + 604 + 88 + + + install_target_providers + #ffffff + + + id + BIGINT + True + True + + + package + BIGINT + True + False + + + install_target + BIGINT + True + False + + + version + BIGINT + True + False + + + install_target_is_group + BIT True False @@ -776,229 +824,205 @@
- + - 604 - 88 + 118 + 148 - install_target_providers + build_slaves#ffffff id - BIGINT + MEDIUMINT True True - package - BIGINT + name + VARCHAR(32) True False - install_target + ssh_key BIGINT True False - version + currently_building BIGINT - True + False False - install_target_is_group - BIT + last_connection + TIME True False - -
-
- - - 803 - 261 - - - repositories - #ffffff - - id - MEDIUMINT - True - True + logged_lines + BIGINT + False + False - name - VARCHAR(64) - True + last_action + VARCHAR(32) + False False - stability - SMALLINT - True + trials + MEDIUMINT + False False - is_on_master_mirror + is_sane BIT True False - architecture - SMALLINT + access_allowed + BIT(n) True False
- + - 598 - 736 + 164 + 408 - git_repositories + build_assignments#ffffff id - SMALLINT + BIGINT True True - name - VARCHAR(64) + package_source + BIGINT True False - url - VARCHAR(128) + architecture + SMALLINT True False - directory + is_blocked VARCHAR(128) - True + False False - head - VARCHAR(40) + is_black_listed + VARCHAR(128) + False + False + + + is_broken + BIT True False - -
-
- - - 729 - 684 - - - upstream_repositories - #ffffff - - id + priority SMALLINT True - True + False - name - VARCHAR(64) - True + return_date + TIMESTAMP + False False - git_repository - SMALLINT - True + currently_blocking + MEDIUMINT + False False
- + - 173 - 709 + -19 + 365 - package_sources + failed_builds#ffffff id - BIGINT + MEDIUMINT True True - pkgbase - VARCHAR(64) + build_slave + MEDIUMINT True False - git_revision - VARCHAR(40) + build_assignment + BIGINT True False - mod_git_revision - VARCHAR(40) + date + TIMESTAMP True False - upstream_package_repository + reason SMALLINT True False - uses_upstream - BIT + log_file + VARCHAR(512) True False - uses_modification + log_file_exists BIT True False - - commit_time - TIMESTAMP - True - False -
- + - 382 - 378 + -53 + 240 - architectures + fail_reasons#ffffff @@ -1009,80 +1033,62 @@ name - VARCHAR(16) + VARCHAR(32) True False - -
-
- - - 653 - 21 - - - install_targets - #ffffff - - id - BIGINT + identifier + VARCHAR(64) True - True + False - name - VARCHAR(64) + severity + SMALLINT True False
- + - 580 - -71 + 816 + 57 - dependency_types + repository_stability_relations#ffffff id - SMALLINT + MEDIUMINT True True - name - VARCHAR(32) - True - False - - - relevant_for_building - BIT + more_stable + MEDIUMINT True False - relevant_for_binary_packages - BIT + less_stable + MEDIUMINT True False
- + - -8 - 572 + 357 + 455 - build_dependency_loops + statitstics#ffffff @@ -1092,79 +1098,85 @@ True - loop + date + TIMESTAMP + True + False + + + stable_packages_count MEDIUMINT True False - build_assignment - BIGINT + pending_tasks_count + MEDIUMINT True False - -
-
- - - 829 - 168 - - - repository_stabilities - #ffffff - - id - SMALLINT + pending_packages_count + MEDIUMINT True - True + False - name - VARCHAR(32) + staging_packages_count + MEDIUMINT True False - bugtracker_category - VARCHAR(32) - False + testing_packages_count + MEDIUMINT + True False - -
-
- - - 793 - 497 - - - repository_moves - #ffffff - - id + tested_packages_count MEDIUMINT True - True + False - from_repository + broken_tasks_count MEDIUMINT True False - to_repository + dependency_loops_count MEDIUMINT True False - upstream_package_repository + dependency_looped_tasks_count + MEDIUMINT + True + False + + + locked_tasks_count + MEDIUMINT + True + False + + + blocked_tasks_count + MEDIUMINT + True + False + + + next_tasks_count + MEDIUMINT + True + False + + + architecture SMALLINT True False @@ -1172,13 +1184,13 @@
- + - -55 - -72 + 971 + -69 - email_log + todos#ffffff @@ -1188,93 +1200,117 @@ True - date - TIMESTAMP + file + VARCHAR(64) True False - success - BIT + line + MEDIUMINT True False - action - MEDIUMINT - False + description + TEXT + True False - count - MEDIUMINT + importance + SMALLINT False False + +
+
+ + + 821 + -49 + + + todo_links + #ffffff + - gpg_key + dependent BIGINT - False + True False - comment - TEXT - False + depending_on + BIGINT + True False
- + - -52 - 134 + 240 + -66 - ssh_log + persons#ffffff id - BIGINT + MEDIUMINT True True - date - TIMESTAMP + name + VARCHAR(32) True False + +
+
+ + + 106 + -51 + + + gpg_keys + #ffffff + - build_slave - MEDIUMINT - False - False + id + BIGINT + True + True - action - VARCHAR(32) + fingerprint + VARCHAR(40) True False - parameters - TEXT + owner + MEDIUMINT True False
- + - 525 - 215 + 68 + 42 - binary_packages_in_repositories + allowed_email_actions#ffffff @@ -1284,39 +1320,51 @@ True - package + gpg_key BIGINT True False - repository + action MEDIUMINT True False + +
+
+ + + -54 + 70 + + + email_actions + #ffffff + - is_to_be_deleted - BIT + id + MEDIUMINT True - False + True - last_moved - TIMESTAMP + name + VARCHAR(32) True False
- + - 345 - -71 + 229 + 20 - dependencies + ssh_keys#ffffff @@ -1326,45 +1374,69 @@ True - dependent - BIGINT + owner + MEDIUMINT True False - depending_on - BIGINT + fingerprint + TEXT True False + +
+
+ + + 656 + 380 + + + architecture_compatibilities + #ffffff + - dependency_type + id + MEDIUMINT + True + True + + + built_for SMALLINT True False - version - BIGINT + runs_on + SMALLINT True False - version_relation - VARCHAR(2) + fully_compatible + BIT + True + False + + + build_slave_compatible + BIT(n) True False
- + - 483 - 57 + 901 + 641 - versions + mirror_statuses#ffffff @@ -1374,125 +1446,128 @@ True - order - BIGINT + protocol + VARCHAR(8) True False - epoch - MEDIUMINT + url + VARCHAR(128) True False - version - VARCHAR(32) + country + VARCHAR(64) True False - -
-
- - - -23 - 750 - - - toolchain_order - #ffffff - - - number - SMALLINT - True - True - - pkgbase - VARCHAR(64) + country_code + VARCHAR(4) True False - -
-
- - - 632 - 498 - - - upstream_packages - #ffffff - - id + last_sync BIGINT True - True + False - pkgname - VARCHAR(64) + start + FLOAT True False - epoch - MEDIUMINT + stop + FLOAT True False - pkgver - VARCHAR(64) + isos + BIT True False - pkgrel - MEDIUMINT + ipv4 + BIT True False - architecture - VARCHAR(6) + ipv6 + BIT True False - repository - SMALLINT + active + BIT True False
- + - 656 - 441.875 + 483.75 + 455 - 180 - + 90 + - 476.547 - 416.109 + 429.273 + 428.813 - 0 + 270 + + OneToMany + + Optional + Optional + + + 14 + 0 + + + + + + + + + 699.898 + 618.813 + + 270 + + + + + 778.818 + 684 + + 90 + + + + OneToOne @@ -1500,62 +1575,62 @@ Mandatory - 1 + 6 0 - + - - 656 - 410.938 + + 85.5469 + 775.406 - 180 - + 0 + - 476.547 - 403.406 + 173 + 776.406 - 0 - + 180 + OneToOne - Mandatory - Mandatory + Optional + Optional - 2 - 0 + 1 + 1 - + - 803 - 322.875 + 446.115 + 35.8125 - 180 - + 270 + - 476.547 - 390.703 + 524.594 + 57 - 0 - + 90 + @@ -1571,24 +1646,24 @@ - + - 282.328 - 20 + 604 + 118.938 - 90 - + 180 + - 275.289 - -15.1875 + 566.188 + 96.4063 - 270 - + 0 + @@ -1599,29 +1674,29 @@ Mandatory - 1 + 3 0 - + - 188.727 - 148 + 496.672 + -35.3958 - 90 - + 0 + - 282.328 - 84.8125 + 580 + -31.5938 - 270 - + 180 + @@ -1632,29 +1707,29 @@ Mandatory - 2 + 3 0 - + - -9.85156 - 48.8125 + 496.672 + 0.208333 - 270 - + 0 + - -5.27344 - 70 + 653 + 46.4063 - 90 - + 180 + @@ -1665,37 +1740,37 @@ Mandatory - 3 + 2 0 - + - 68 - 74.4063 + 734.844 + 261.406 - 180 - + 0 + - 43.4531 - 95.4063 + 803 + 291.938 - 0 - + 180 + - OneToOne + OneToMany - Mandatory - Mandatory + Optional + Optional 2 @@ -1703,24 +1778,24 @@ - + - 142.789 - 42 + 395.557 + 35.8125 - 90 - + 270 + - 159.328 - 13.8125 + 381.93 + 99 - 270 - + 90 + @@ -1736,24 +1811,24 @@ - + - 35.2969 - -11.5938 + 525 + 261.406 - 0 - + 180 + - 106 - -18.5938 + 464.859 + 226.208 - 180 - + 0 + @@ -1764,29 +1839,29 @@ Mandatory - 5 + 1 0 - + - 212.656 - -18.5938 + 59.5313 + 180.406 0 - + - 240 - -40.5938 + 118 + 229.406 180 - + @@ -1802,24 +1877,24 @@ - + - 948.234 - -32.0625 + 911.133 + 575.813 - 0 - + 270 + - 971 - -38.0625 + 828.635 + 684 - 180 - + 90 + @@ -1830,29 +1905,29 @@ Mandatory - 0 + 3 0 - + - 948.234 - -15.125 + 871.755 + 497 - 0 - + 90 + - 971 - -7.125 + 859.469 + 353.813 - 180 - + 270 + @@ -1868,24 +1943,24 @@ - + - 941.313 - 121.813 + 950.51 + 497 - 270 - + 90 + - 934.271 - 168 + 915.938 + 353.813 - 90 - + 270 + @@ -1901,24 +1976,24 @@ - + - 878.656 - 121.813 + 409.573 + 289.813 270 - + - 881.635 - 168 + 429.273 + 378 90 - + @@ -1929,29 +2004,29 @@ Mandatory - 1 + 9 0 - + - 31.5729 - 365 + 887.703 + 261 90 - + - -5.0625 - 318.813 + 907.953 + 232.813 270 - + @@ -1962,29 +2037,29 @@ Mandatory - 4 + 2 0 - + - 132.719 - 425.406 + 697.203 + 88 - 0 - + 90 + - 164 - 457.604 + 703.016 + 71.8125 - 180 - + 270 + @@ -2000,24 +2075,24 @@ - + - 82.1458 - 365 + 604 + 149.875 - 90 - + 180 + - 165.151 - 310.813 + 464.859 + 162.604 - 270 - + 0 + @@ -2033,24 +2108,24 @@ - + - 73.1953 - 572 + 409.266 + 776.406 - 90 - + 0 + - 164 - 507.208 + 729 + 716.406 180 - + @@ -2061,29 +2136,29 @@ Mandatory - 2 + 4 0 - + - 212.302 - 310.813 + 803.727 + 748.813 270 - + - 211.927 - 408 + 705.609 + 782.406 - 90 - + 0 + @@ -2094,29 +2169,29 @@ Mandatory - 3 + 2 0 - + - 354.286 - 289.813 + 235.891 + 556.813 270 - + - 259.854 - 408 + 291.133 + 709 90 - + @@ -2165,24 +2240,24 @@ - + - 235.891 - 556.813 + 354.286 + 289.813 270 - + - 291.133 - 709 + 259.854 + 408 90 - + @@ -2198,24 +2273,24 @@ - + - 803.727 - 748.813 + 212.302 + 310.813 270 - + - 705.609 - 782.406 + 211.927 + 408 - 0 - + 90 + @@ -2226,29 +2301,29 @@ Mandatory - 2 + 3 0 - + - 409.266 - 776.406 + 73.1953 + 572 - 0 - + 90 + - 729 - 716.406 + 164 + 507.208 180 - + @@ -2259,29 +2334,29 @@ Mandatory - 4 + 2 0 - + - 604 - 149.875 + 82.1458 + 365 - 180 - + 90 + - 464.859 - 162.604 + 165.151 + 310.813 - 0 - + 270 + @@ -2297,24 +2372,24 @@ - + - 697.203 - 88 + 132.719 + 425.406 - 90 - + 0 + - 703.016 - 71.8125 + 164 + 457.604 - 270 - + 180 + @@ -2330,24 +2405,24 @@ - + - 887.703 - 261 + 31.5729 + 365 90 - + - 907.953 - 232.813 + -5.0625 + 318.813 270 - + @@ -2358,29 +2433,29 @@ Mandatory - 2 + 4 0 - + - 409.573 - 289.813 + 941.313 + 121.813 270 - + - 429.273 - 378 + 934.271 + 168 90 - + @@ -2391,62 +2466,29 @@ Mandatory - 9 + 1 0 - + - 871.755 - 497 - - 90 - - - - - 859.469 - 353.813 + 878.656 + 121.813 270 - - - - - - OneToOne - - Mandatory - Mandatory - - - 2 - 0 - - - - - - - - - 950.51 - 497 - - 90 - + - 915.938 - 353.813 + 881.635 + 168 - 270 - + 90 + @@ -2457,29 +2499,29 @@ Mandatory - 1 + 2 0 - + - 911.133 - 575.813 + 948.234 + -32.0625 - 270 - + 0 + - 828.635 - 684 + 971 + -38.0625 - 90 - + 180 + @@ -2490,29 +2532,29 @@ Mandatory - 3 + 1 0 - + - 59.5313 - 180.406 + 948.234 + -15.125 0 - + - 118 - 229.406 + 971 + -7.125 180 - + @@ -2523,29 +2565,29 @@ Mandatory - 2 + 0 0 - + - 525 - 261.406 + 212.656 + -18.5938 - 180 - + 0 + - 464.859 - 226.208 + 240 + -40.5938 - 0 - + 180 + @@ -2556,29 +2598,29 @@ Mandatory - 1 + 2 0 - + - 395.557 - 35.8125 + 35.2969 + -11.5938 - 270 - + 0 + - 381.93 - 99 + 106 + -18.5938 - 90 - + 180 + @@ -2589,62 +2631,62 @@ Mandatory - 1 + 5 0 - + - 734.844 - 261.406 + 142.789 + 42 - 0 - + 90 + - 803 - 291.938 + 159.328 + 13.8125 - 180 - + 270 + - OneToMany + OneToOne - Optional - Optional + Mandatory + Mandatory - 2 + 1 0 - + - 496.672 - 0.208333 + 68 + 74.4063 - 0 - + 180 + - 653 - 46.4063 + 43.4531 + 95.4063 - 180 - + 0 + @@ -2660,24 +2702,24 @@ - + - 496.672 - -35.3958 + -9.85156 + 48.8125 - 0 - + 270 + - 580 - -31.5938 + -5.27344 + 70 - 180 - + 90 + @@ -2693,24 +2735,24 @@ - + - 604 - 118.938 + 188.727 + 148 - 180 - + 90 + - 566.188 - 96.4063 + 282.328 + 84.8125 - 0 - + 270 + @@ -2721,29 +2763,29 @@ Mandatory - 3 + 2 0 - + - 446.115 - 35.8125 + 282.328 + 20 - 270 - + 90 + - 524.594 - 57 + 275.289 + -15.1875 - 90 - + 270 + @@ -2754,62 +2796,62 @@ Mandatory - 4 + 1 0 - + - 85.5469 - 775.406 + 803 + 322.875 - 0 - + 180 + - 173 - 776.406 + 476.547 + 390.703 - 180 - + 0 + OneToOne - Optional - Optional + Mandatory + Mandatory - 1 - 1 + 4 + 0 - + - 699.898 - 618.813 + 656 + 441.875 - 270 - + 180 + - 778.818 - 684 + 476.547 + 416.109 - 90 - + 0 + @@ -2820,40 +2862,40 @@ Mandatory - 6 + 2 0 - + - 483.75 - 455 + 656 + 410.938 - 90 - + 180 + - 429.273 - 428.813 + 476.547 + 403.406 - 270 + 0 - OneToMany + OneToOne - Optional - Optional + Mandatory + Mandatory - 14 + 1 0 diff --git a/misc/database-layout.dump b/misc/database-layout.dump index 2ae42c4..b2f1c7f 100644 --- a/misc/database-layout.dump +++ b/misc/database-layout.dump @@ -611,6 +611,17 @@ build_slaves CREATE TABLE `build_slaves` ( 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 +command_log CREATE TABLE `command_log` ( + `id` bigint(20) NOT NULL AUTO_INCREMENT, + `date` timestamp NOT NULL DEFAULT current_timestamp(), + `command` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL, + `parameters` text COLLATE utf8mb4_unicode_ci NOT NULL, + `shell` bit(1) NOT NULL, + PRIMARY KEY (`id`), + KEY `date` (`date`), + KEY `command` (`command`), + KEY `shell` (`shell`) +) 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, -- cgit v1.2.3-70-g09d2