diff options
author | Erich Eckner <git@eckner.net> | 2018-05-31 13:27:18 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-05-31 13:27:18 +0200 |
commit | 8dde526290718371b6da178c65955d431910fd97 (patch) | |
tree | b758ee02e490fa2c1348ff780699a50330bdae03 /bin/return-assignment | |
parent | 38839007b3cbcdc91bea10c7e1328a2f12a942af (diff) | |
download | builder-8dde526290718371b6da178c65955d431910fd97.tar.xz |
fill new columns in `binary_packages_in_repositories`, too
Diffstat (limited to 'bin/return-assignment')
-rwxr-xr-x | bin/return-assignment | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/return-assignment b/bin/return-assignment index 2df6ad6..0488a7d 100755 --- a/bin/return-assignment +++ b/bin/return-assignment @@ -602,8 +602,8 @@ trigger_mirror_refreshs # insert into appropriate repositories and retrieve ids while read -r package_id _; do - printf 'INSERT INTO `binary_packages_in_repositories` (`package`,`repository`) VALUES ' - printf '(%s,%s);\n' \ + printf 'INSERT INTO `binary_packages_in_repositories` (`package`,`repository`,`is_to_be_deleted`) VALUES ' + printf '(%s,%s,0);\n' \ "${package_id}" "${destination_id}" printf 'SELECT LAST_INSERT_ID();\n' done < \ |