summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc/database-layout.dump2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/database-layout.dump b/misc/database-layout.dump
index 0d05765..7bffc5f 100644
--- a/misc/database-layout.dump
+++ b/misc/database-layout.dump
@@ -368,7 +368,7 @@ DELETE `replaced_bpir`,`moveable_bpir`
JOIN `package_blobs`
ON `build_assignments`.`package_source`=`package_blobs`.`ps_a`
JOIN `build_assignments` AS `bl_ba`
- ON `bl_ba`.`package_source`=`package_blobs`.`ps_b`
+ ON `bl_ba`.`package_source`=`package_blobs`.`ps_b` AND `bl_ba`.`architecture`=`build_assignments`.`architecture`
JOIN `binary_packages` AS `bl_bp`
ON `bl_ba`.`id`=`bl_bp`.`build_assignment`
JOIN `binary_packages_in_repositories` AS `bl_bpir`