From 2bbdac8e051f2e55d664623e6a67361bc39aeb65 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 15 Jul 2019 13:24:43 +0200 Subject: misc/database-layout: new columns "public_key" in "gpg_keys" --- misc/database-layout.dmf | 1980 +++++++++++++++++++++++---------------------- misc/database-layout.dump | 1 + 2 files changed, 994 insertions(+), 987 deletions(-) (limited to 'misc') diff --git a/misc/database-layout.dmf b/misc/database-layout.dmf index e0d70e4..a81a109 100644 --- a/misc/database-layout.dmf +++ b/misc/database-layout.dmf @@ -2,13 +2,13 @@ Relational - + - 977 - 378 + 901 + 641 - command_log + mirror_statuses#ffffff @@ -18,117 +18,123 @@ True - date - TIMESTAMP + protocol + VARCHAR(8) True False - command - VARCHAR(64) + url + VARCHAR(128) True False - parameters - TEXT + country + VARCHAR(64) True False - shell - BIT + 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
- + - -23 - 750 + 656 + 380 - toolchain_order + architecture_compatibilities#ffffff - number - SMALLINT + id + MEDIUMINT True True - pkgbase - VARCHAR(64) + built_for + SMALLINT + True + False + + + runs_on + SMALLINT + True + False + + + fully_compatible + BIT + True + False + + + build_slave_compatible + BIT(n) True False
- + - 483 - 57 + 229 + 20 - versions + ssh_keys#ffffff @@ -138,19 +144,37 @@ True - order - BIGINT + owner + MEDIUMINT True False - epoch - MEDIUMINT + fingerprint + TEXT True False + +
+
+ + + -54 + 70 + + + email_actions + #ffffff + + + id + MEDIUMINT + True + True + - version + name VARCHAR(32) True False @@ -158,13 +182,13 @@
- + - 345 - -71 + 68 + 42 - dependencies + allowed_email_actions#ffffff @@ -174,87 +198,111 @@ True - dependent + gpg_key BIGINT True False - depending_on - BIGINT + action + MEDIUMINT True False + +
+
+ + + 92 + -69 + + + gpg_keys + #ffffff + + + id + BIGINT + True + True + - dependency_type - SMALLINT + fingerprint + VARCHAR(40) True False - version - BIGINT + owner + MEDIUMINT True False - version_relation - VARCHAR(2) + public_key + TEXT True False
- + - 525 - 215 + 240 + -66 - binary_packages_in_repositories + persons#ffffff id - BIGINT + MEDIUMINT True True - package - BIGINT - True - False - - - repository - MEDIUMINT + name + VARCHAR(32) True False + +
+
+ + + 821 + -49 + + + todo_links + #ffffff + - is_to_be_deleted - BIT + dependent + BIGINT True False - last_moved - TIMESTAMP + depending_on + BIGINT True False
- + - -52 - 134 + 971 + -69 - ssh_log + todos#ffffff @@ -264,51 +312,39 @@ True - date - TIMESTAMP + file + VARCHAR(64) True False - build_slave + line MEDIUMINT - False - False - - - action - VARCHAR(32) True False - parameters + description TEXT True False - duration - MEDIUMINT - False - False - - - exit_code - MEDIUMINT + importance + SMALLINT False False
- + - -55 - -72 + 357 + 455 - email_log + statitstics#ffffff @@ -324,357 +360,279 @@ False - success - BIT + stable_packages_count + MEDIUMINT True False - action + pending_tasks_count MEDIUMINT - False + True False - count + pending_packages_count MEDIUMINT - False + True False - gpg_key - BIGINT - False + staging_packages_count + MEDIUMINT + True False - comment - TEXT - False - False - - -
-
- - - 793 - 497 - - - repository_moves - #ffffff - - - id + testing_packages_count MEDIUMINT True - True + False - from_repository + tested_packages_count MEDIUMINT True False - to_repository + broken_tasks_count MEDIUMINT True False - upstream_package_repository - SMALLINT + dependency_loops_count + MEDIUMINT True False - -
-
- - - 829 - 168 - - - repository_stabilities - #ffffff - - id - SMALLINT - True - True - - - name - VARCHAR(32) + dependency_looped_tasks_count + MEDIUMINT True False - bugtracker_category - VARCHAR(32) - False + locked_tasks_count + MEDIUMINT + True False - -
-
- - - -8 - 572 - - - build_dependency_loops - #ffffff - - id - BIGINT + blocked_tasks_count + MEDIUMINT True - True + False - loop + next_tasks_count MEDIUMINT True False - build_assignment - BIGINT + architecture + 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
- + - 653 - 21 + -43 + 267 - install_targets + fail_reasons#ffffff id - BIGINT + SMALLINT True True name - VARCHAR(64) + VARCHAR(32) True False - -
-
- - - 382 - 378 - - - architectures - #ffffff - - id - SMALLINT + identifier + VARCHAR(64) True - True + False - name - VARCHAR(16) + severity + SMALLINT True False
- + - 173 - 709 + -22 + 374 - 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 -
- + - 729 - 684 + 164 + 408 - upstream_repositories + build_assignments#ffffff id - SMALLINT + BIGINT True True - name - VARCHAR(64) + package_source + BIGINT True False - git_repository + architecture SMALLINT True False - -
-
- - - 598 - 736 - - - git_repositories - #ffffff - - id - SMALLINT - True - True + is_blocked + VARCHAR(128) + False + False - name - VARCHAR(64) - True + is_black_listed + VARCHAR(128) + False False - url - VARCHAR(128) + is_broken + BIT True False - directory - VARCHAR(128) + priority + SMALLINT True False - head - VARCHAR(40) - True + return_date + TIMESTAMP + False + False + + + currently_blocking + MEDIUMINT + False False
- + - 803 - 261 + 118 + 148 - repositories + build_slaves#ffffff @@ -685,74 +643,62 @@ name - VARCHAR(64) + VARCHAR(32) True False - stability - SMALLINT + ssh_key + BIGINT True False - is_on_master_mirror - BIT - True + currently_building + BIGINT + False False - architecture - SMALLINT + last_connection + TIME True False - -
-
- - - 604 - 88 - - - install_target_providers - #ffffff - - id + logged_lines BIGINT - True - True + False + False - package - BIGINT - True + last_action + VARCHAR(32) + False False - install_target - BIGINT - True + trials + MEDIUMINT + False False - version - BIGINT + is_sane + BIT True False - install_target_is_group - BIT + access_allowed + BIT(n) True False
- + 299 99 @@ -836,205 +782,229 @@ - + - 118 - 148 + 604 + 88 - build_slaves + install_target_providers#ffffff id - MEDIUMINT + BIGINT True True - name - VARCHAR(32) + package + BIGINT True False - ssh_key + install_target BIGINT True False - currently_building + version BIGINT - False + True False - last_connection - TIME + install_target_is_group + BIT True False + +
+
+ + + 803 + 261 + + + repositories + #ffffff + - logged_lines - BIGINT - False - False + id + MEDIUMINT + True + True - last_action - VARCHAR(32) - False + name + VARCHAR(64) + True False - trials - MEDIUMINT - False + stability + SMALLINT + True False - is_sane + is_on_master_mirror BIT True False - access_allowed - BIT(n) + architecture + SMALLINT True False
- + - 164 - 408 + 598 + 736 - 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 + True False - is_broken - BIT + head + VARCHAR(40) True False + +
+
+ + + 729 + 684 + + + upstream_repositories + #ffffff + - priority + id SMALLINT True - False + True - return_date - TIMESTAMP - False + name + VARCHAR(64) + True False - currently_blocking - MEDIUMINT - False + git_repository + SMALLINT + True False
- + - -22 - 374 + 173 + 709 - 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 - TIMESTAMP + mod_git_revision + VARCHAR(40) True False - reason + upstream_package_repository SMALLINT True False - log_file - VARCHAR(512) + uses_upstream + BIT True False - log_file_exists + uses_modification BIT True False + + commit_time + TIMESTAMP + True + False +
- + - -43 - 267 + 382 + 378 - fail_reasons + architectures#ffffff @@ -1045,62 +1015,80 @@ name - VARCHAR(32) + VARCHAR(16) True False + +
+
+ + + 653 + 21 + + + install_targets + #ffffff + - identifier - VARCHAR(64) + id + BIGINT True - False + True - severity - SMALLINT + name + VARCHAR(64) True False
- + - 816 - 57 + 580 + -71 - 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
- + - 357 - 455 + -8 + 572 - statitstics + build_dependency_loops#ffffff @@ -1110,99 +1098,147 @@ True - date - TIMESTAMP + loop + MEDIUMINT True False - stable_packages_count - MEDIUMINT + build_assignment + BIGINT True False + +
+
+ + + 829 + 168 + + + repository_stabilities + #ffffff + - pending_tasks_count - MEDIUMINT + id + SMALLINT True + True + + + name + VARCHAR(32) + True + False + + + bugtracker_category + VARCHAR(32) + False False + +
+
+ + + 793 + 497 + + + repository_moves + #ffffff + - pending_packages_count + id MEDIUMINT True - False + True - staging_packages_count + from_repository MEDIUMINT True False - testing_packages_count + to_repository MEDIUMINT True False - tested_packages_count - MEDIUMINT + upstream_package_repository + SMALLINT True False + +
+
+ + + -55 + -72 + + + email_log + #ffffff + - broken_tasks_count - MEDIUMINT + id + BIGINT True - False + True - dependency_loops_count - MEDIUMINT + date + TIMESTAMP True False - dependency_looped_tasks_count - MEDIUMINT + success + BIT True False - locked_tasks_count + action MEDIUMINT - True + False False - blocked_tasks_count + count MEDIUMINT - True + False False - next_tasks_count - MEDIUMINT - True + gpg_key + BIGINT + False False - architecture - SMALLINT - True + comment + TEXT + False False
- + - 971 - -69 + -52 + 134 - todos + ssh_log#ffffff @@ -1212,87 +1248,93 @@ True - file - VARCHAR(64) + date + TIMESTAMP True False - line + build_slave MEDIUMINT + False + False + + + action + VARCHAR(32) True False - description + parameters TEXT True False - importance - SMALLINT + duration + MEDIUMINT + False + False + + + exit_code + MEDIUMINT False False
- + - 821 - -49 + 525 + 215 - todo_links + binary_packages_in_repositories#ffffff - dependent + id BIGINT True - False + True - depending_on + package BIGINT True False - -
-
- - - 240 - -66 - - - persons - #ffffff - - id + repository MEDIUMINT True - True + False - name - VARCHAR(32) + is_to_be_deleted + BIT + True + False + + + last_moved + TIMESTAMP True False
- + - 106 - -51 + 345 + -71 - gpg_keys + dependencies#ffffff @@ -1302,153 +1344,105 @@ True - fingerprint - VARCHAR(40) + dependent + BIGINT True False - owner - MEDIUMINT + depending_on + BIGINT True False - -
-
- - - 68 - 42 - - - allowed_email_actions - #ffffff - - id - BIGINT + dependency_type + SMALLINT True - True + False - gpg_key + version BIGINT True False - action - MEDIUMINT + version_relation + VARCHAR(2) True False
- + - -54 - 70 + 483 + 57 - email_actions + versions#ffffff id - MEDIUMINT + BIGINT True True - name - VARCHAR(32) - True - False - - -
-
- - - 229 - 20 - - - ssh_keys - #ffffff - - - id + order BIGINT True - True + False - owner + epoch MEDIUMINT True False - fingerprint - TEXT + version + VARCHAR(32) 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
- + - 901 - 641 + 632 + 498 - mirror_statuses + upstream_packages#ffffff @@ -1458,67 +1452,79 @@ True - protocol - VARCHAR(8) + pkgname + VARCHAR(64) True False - url - VARCHAR(128) + epoch + MEDIUMINT True False - country + pkgver VARCHAR(64) True False - country_code - VARCHAR(4) + pkgrel + MEDIUMINT True False - last_sync - BIGINT + architecture + VARCHAR(6) True False - start - FLOAT + repository + SMALLINT True False + +
+
+ + + 977 + 378 + + + command_log + #ffffff + - stop - FLOAT + id + BIGINT True - False + True - isos - BIT + date + TIMESTAMP True False - ipv4 - BIT + command + VARCHAR(64) True False - ipv6 - BIT + parameters + TEXT True False - active + shell BIT True False @@ -1526,57 +1532,57 @@
- + - 483.75 - 455 + 656 + 441.875 - 90 - + 180 + - 429.273 - 428.813 + 476.547 + 416.109 - 270 + 0 - OneToMany + OneToOne - Optional - Optional + Mandatory + Mandatory - 14 + 1 0 - + - 699.898 - 618.813 + 656 + 410.938 - 270 - + 180 + - 778.818 - 684 + 476.547 + 403.406 - 90 - + 0 + @@ -1587,62 +1593,29 @@ Mandatory - 6 + 2 0 - + - 85.5469 - 775.406 - - 0 - - - - - 173 - 776.406 + 803 + 322.875 180 - - - - - - OneToOne - - Optional - Optional - - - 1 - 1 - - - - - - - - - 446.115 - 35.8125 - - 270 - + - 524.594 - 57 + 476.547 + 390.703 - 90 - + 0 + @@ -1658,24 +1631,24 @@ - + - 604 - 118.938 + 282.328 + 20 - 180 - + 90 + - 566.188 - 96.4063 + 275.289 + -15.1875 - 0 - + 270 + @@ -1686,29 +1659,29 @@ Mandatory - 3 + 1 0 - + - 496.672 - -35.3958 + 188.727 + 148 - 0 - + 90 + - 580 - -31.5938 + 282.328 + 84.8125 - 180 - + 270 + @@ -1719,29 +1692,29 @@ Mandatory - 3 + 2 0 - + - 496.672 - 0.208333 + -9.85156 + 48.8125 - 0 - + 270 + - 653 - 46.4063 + -5.27344 + 70 - 180 - + 90 + @@ -1752,37 +1725,37 @@ Mandatory - 2 + 3 0 - + - 734.844 - 261.406 + 68 + 74.4063 - 0 - + 180 + - 803 - 291.938 + 43.4531 + 95.4063 - 180 - + 0 + - OneToMany + OneToOne - Optional - Optional + Mandatory + Mandatory 2 @@ -1790,24 +1763,24 @@ - + - 395.557 - 35.8125 + 142.789 + 42 - 270 - + 90 + - 381.93 - 99 + 145.328 + 9.8125 - 90 - + 270 + @@ -1823,24 +1796,24 @@ - + - 525 - 261.406 + 35.2969 + -11.5938 - 180 - + 0 + - 464.859 - 226.208 + 92 + -29.5938 - 0 - + 180 + @@ -1851,29 +1824,29 @@ Mandatory - 1 + 5 0 - + - 59.5313 - 194.406 + 198.656 + -29.5938 0 - + - 118 - 229.406 + 240 + -40.5938 180 - + @@ -1889,24 +1862,24 @@ - + - 911.133 - 575.813 + 948.234 + -32.0625 - 270 - + 0 + - 828.635 - 684 + 971 + -38.0625 - 90 - + 180 + @@ -1917,29 +1890,29 @@ Mandatory - 3 + 0 0 - + - 871.755 - 497 + 948.234 + -15.125 - 90 - + 0 + - 859.469 - 353.813 + 971 + -7.125 - 270 - + 180 + @@ -1955,24 +1928,24 @@ - + - 950.51 - 497 + 941.313 + 121.813 - 90 - + 270 + - 915.938 - 353.813 + 934.271 + 168 - 270 - + 90 + @@ -1988,24 +1961,24 @@ - + - 409.573 - 289.813 + 878.656 + 121.813 270 - + - 429.273 - 378 + 881.635 + 168 90 - + @@ -2016,29 +1989,29 @@ Mandatory - 9 + 1 0 - + - 887.703 - 261 + 28.5729 + 374 90 - + - 907.953 - 232.813 + 4.9375 + 345.813 270 - + @@ -2049,29 +2022,29 @@ Mandatory - 2 + 4 0 - + - 697.203 - 88 + 129.719 + 434.406 - 90 - + 0 + - 703.016 - 71.8125 + 164 + 457.604 - 270 - + 180 + @@ -2087,24 +2060,24 @@ - + - 604 - 149.875 + 79.1458 + 374 - 180 - + 90 + - 464.859 - 162.604 + 165.151 + 310.813 - 0 - + 270 + @@ -2120,24 +2093,24 @@ - + - 409.266 - 776.406 + 73.1953 + 572 - 0 - + 90 + - 729 - 716.406 + 164 + 507.208 180 - + @@ -2148,29 +2121,29 @@ Mandatory - 4 + 2 0 - + - 803.727 - 748.813 + 212.302 + 310.813 270 - + - 705.609 - 782.406 + 211.927 + 408 - 0 - + 90 + @@ -2181,29 +2154,29 @@ Mandatory - 2 + 3 0 - + - 235.891 - 556.813 + 354.286 + 289.813 270 - + - 291.133 - 709 + 259.854 + 408 90 - + @@ -2219,7 +2192,7 @@ - + @@ -2252,24 +2225,24 @@ - + - 354.286 - 289.813 + 235.891 + 556.813 270 - + - 259.854 - 408 + 291.133 + 709 90 - + @@ -2285,24 +2258,24 @@ - + - 212.302 - 310.813 + 803.727 + 748.813 270 - + - 211.927 - 408 + 705.609 + 782.406 - 90 - + 0 + @@ -2313,29 +2286,29 @@ Mandatory - 3 + 2 0 - + - 73.1953 - 572 + 409.266 + 776.406 - 90 - + 0 + - 164 - 507.208 + 729 + 716.406 180 - + @@ -2346,29 +2319,29 @@ Mandatory - 2 + 4 0 - + - 79.1458 - 374 + 604 + 149.875 - 90 - + 180 + - 165.151 - 310.813 + 464.859 + 162.604 - 270 - + 0 + @@ -2384,24 +2357,24 @@ - + - 129.719 - 434.406 + 697.203 + 88 - 0 - + 90 + - 164 - 457.604 + 703.016 + 71.8125 - 180 - + 270 + @@ -2417,24 +2390,57 @@ - + - 28.5729 - 374 + 887.703 + 261 90 - + - 4.9375 - 345.813 + 907.953 + 232.813 270 - + + + + + + OneToOne + + Mandatory + Mandatory + + + 2 + 0 + + + + + + + + + 409.573 + 289.813 + + 270 + + + + + 429.273 + 378 + + 90 + @@ -2445,29 +2451,29 @@ Mandatory - 4 + 9 0 - + - 941.313 - 121.813 + 871.755 + 497 - 270 - + 90 + - 934.271 - 168 + 859.469 + 353.813 - 90 - + 270 + @@ -2478,29 +2484,29 @@ Mandatory - 1 + 2 0 - + - 878.656 - 121.813 + 950.51 + 497 - 270 - + 90 + - 881.635 - 168 + 915.938 + 353.813 - 90 - + 270 + @@ -2511,29 +2517,29 @@ Mandatory - 2 + 1 0 - + - 948.234 - -32.0625 + 911.133 + 575.813 - 0 - + 270 + - 971 - -38.0625 + 828.635 + 684 - 180 - + 90 + @@ -2544,29 +2550,29 @@ Mandatory - 1 + 3 0 - + - 948.234 - -15.125 + 59.5313 + 194.406 0 - + - 971 - -7.125 + 118 + 229.406 180 - + @@ -2577,29 +2583,29 @@ Mandatory - 0 + 2 0 - + - 212.656 - -18.5938 + 525 + 261.406 - 0 - + 180 + - 240 - -40.5938 + 464.859 + 226.208 - 180 - + 0 + @@ -2610,29 +2616,29 @@ Mandatory - 2 + 1 0 - + - 35.2969 - -11.5938 + 395.557 + 35.8125 - 0 - + 270 + - 106 - -18.5938 + 381.93 + 99 - 180 - + 90 + @@ -2643,62 +2649,62 @@ Mandatory - 5 + 1 0 - + - 142.789 - 42 + 734.844 + 261.406 - 90 - + 0 + - 159.328 - 13.8125 + 803 + 291.938 - 270 - + 180 + - OneToOne + OneToMany - Mandatory - Mandatory + Optional + Optional - 1 + 2 0 - + - 68 - 74.4063 + 496.672 + 0.208333 - 180 - + 0 + - 43.4531 - 95.4063 + 653 + 46.4063 - 0 - + 180 + @@ -2714,24 +2720,24 @@ - + - -9.85156 - 48.8125 + 496.672 + -35.3958 - 270 - + 0 + - -5.27344 - 70 + 580 + -31.5938 - 90 - + 180 + @@ -2747,24 +2753,24 @@ - + - 188.727 - 148 + 604 + 118.938 - 90 - + 180 + - 282.328 - 84.8125 + 566.188 + 96.4063 - 270 - + 0 + @@ -2775,29 +2781,29 @@ Mandatory - 2 + 3 0 - + - 282.328 - 20 + 446.115 + 35.8125 - 90 - + 270 + - 275.289 - -15.1875 + 524.594 + 57 - 270 - + 90 + @@ -2808,62 +2814,62 @@ Mandatory - 1 + 4 0 - + - 803 - 322.875 + 85.5469 + 775.406 - 180 - + 0 + - 476.547 - 390.703 + 173 + 776.406 - 0 - + 180 + OneToOne - Mandatory - Mandatory + Optional + Optional - 4 - 0 + 1 + 1 - + - 656 - 441.875 + 699.898 + 618.813 - 180 - + 270 + - 476.547 - 416.109 + 778.818 + 684 - 0 - + 90 + @@ -2874,40 +2880,40 @@ Mandatory - 2 + 6 0 - + - 656 - 410.938 + 483.75 + 455 - 180 - + 90 + - 476.547 - 403.406 + 429.273 + 428.813 - 0 + 270 - OneToOne + OneToMany - Mandatory - Mandatory + Optional + Optional - 1 + 14 0 diff --git a/misc/database-layout.dump b/misc/database-layout.dump index f952681..709404f 100644 --- a/misc/database-layout.dump +++ b/misc/database-layout.dump @@ -714,6 +714,7 @@ gpg_keys CREATE TABLE `gpg_keys` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `owner` mediumint(9) NOT NULL, `fingerprint` varchar(40) COLLATE utf8mb4_unicode_ci NOT NULL, + `public_key` text COLLATE utf8mb4_unicode_ci NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `fingerprint` (`fingerprint`), KEY `owner` (`owner`), -- cgit v1.2.3-70-g09d2