Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/bootstrap-mysql
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-01-22 11:43:08 +0100
committerErich Eckner <git@eckner.net>2018-01-22 11:43:08 +0100
commit2134c5f3aaecc5c64caacf550ee413d5ad96b7cf (patch)
tree48ea1f8bbc63672f4f194bbbc7e7d3498ede6932 /bin/bootstrap-mysql
parent0cc08099ad33ca13cbf4b7cbeb6e98bf89935b79 (diff)
bin/bootstrap-mysql: new tables to track build errors, too
Diffstat (limited to 'bin/bootstrap-mysql')
-rwxr-xr-xbin/bootstrap-mysql12
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)'
)
{