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-03-25 14:46:55 +0200
committerErich Eckner <git@eckner.net>2018-03-25 14:46:55 +0200
commit82246d368ae584eb0426e1cc69b721fa5c08e58c (patch)
treec355bfeb2bc8397f0eaddfc91fa12d31b3d81c13 /bin/bootstrap-mysql
parent7136d2556ab76c735a308fc3b07bafb907c6ccad (diff)
bin/bootstrap-mysql: create `files` and `file_providers`, too
Diffstat (limited to 'bin/bootstrap-mysql')
-rwxr-xr-xbin/bootstrap-mysql11
1 files changed, 10 insertions, 1 deletions
diff --git a/bin/bootstrap-mysql b/bin/bootstrap-mysql
index 8806fe2..80727c8 100755
--- a/bin/bootstrap-mysql
+++ b/bin/bootstrap-mysql
@@ -70,6 +70,7 @@ if [ ! "$1" = 'slim' ]; then
' is_to_be_deleted BIT' \
' pkgname VARCHAR(64)' \
' architecture SMALLINT :architectures' \
+ ' sha512sum NULL' \
' UNIQUE content build_assignment sub_pkgrel pkgname architecture repository' \
' UNIQUE file_name pkgname epoch pkgver pkgrel sub_pkgrel architecture repository' \
'repositories MEDIUMINT' \
@@ -163,7 +164,15 @@ if [ ! "$1" = 'slim' ]; then
' locked_tasks_count MEDIUMINT' \
' blocked_tasks_count MEDIUMINT' \
' next_tasks_count MEDIUMINT' \
- ' UNIQUE date'
+ ' UNIQUE date' \
+ 'files BIGINT' \
+ ' path TEXT' \
+ ' name TEXT' \
+ ' name_hash VARCHAR(128)' \
+ ' absolute_name_hash VARCHAR(128)' \
+ 'file_providers BIGINT' \
+ ' package BIGINT :binary_packages' \
+ ' file BIGINT :files'
)
# shellcheck disable=SC2016