diff options
author | Erich Eckner <git@eckner.net> | 2018-01-22 11:43:08 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-01-22 11:43:08 +0100 |
commit | 2134c5f3aaecc5c64caacf550ee413d5ad96b7cf (patch) | |
tree | 48ea1f8bbc63672f4f194bbbc7e7d3498ede6932 /bin | |
parent | 0cc08099ad33ca13cbf4b7cbeb6e98bf89935b79 (diff) | |
download | builder-2134c5f3aaecc5c64caacf550ee413d5ad96b7cf.tar.xz |
bin/bootstrap-mysql: new tables to track build errors, too
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/bootstrap-mysql | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/bin/bootstrap-mysql b/bin/bootstrap-mysql index b67be6f..69bc015 100755 --- a/bin/bootstrap-mysql +++ b/bin/bootstrap-mysql @@ -111,7 +111,17 @@ if [ ! "$1" = 'slim' ]; then ' head VARCHAR(40)' \ ' UNIQUE name' \ ' UNIQUE url' \ - ' UNIQUE directory' + ' UNIQUE directory' \ + 'fail_reasons SMALLINT' \ + ' name VARCHAR(32)' \ + ' severity SMALLINT' \ + ' UNIQUE name' \ + 'failed_builds MEDIUMINT' \ + ' build_slave MEDIUMINT :build_slaves' \ + ' build_assignment BIGINT :build_assignments' \ + ' date DATETIME' \ + ' reason SMALLINT :fail_reasons' \ + ' log_file VARCHAR(128)' ) { |