aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bpkg/database.cxx21
1 files changed, 20 insertions, 1 deletions
diff --git a/bpkg/database.cxx b/bpkg/database.cxx
index 15c79ae..0bbcc59 100644
--- a/bpkg/database.cxx
+++ b/bpkg/database.cxx
@@ -150,7 +150,26 @@ namespace bpkg
" ON DELETE CASCADE)");
db.execute ("INSERT INTO \"main\".\"selected_package_prerequisites\" "
- "SELECT * "
+ "SELECT "
+ "\"package\", "
+ "\"configuration\", "
+ "\"prerequisite\", "
+ "\"min_version_epoch\", "
+ "\"min_version_canonical_upstream\", "
+ "\"min_version_canonical_release\", "
+ "\"min_version_revision\", "
+ "\"min_version_iteration\", "
+ "\"min_version_upstream\", "
+ "\"min_version_release\", "
+ "\"max_version_epoch\", "
+ "\"max_version_canonical_upstream\", "
+ "\"max_version_canonical_release\", "
+ "\"max_version_revision\", "
+ "\"max_version_iteration\", "
+ "\"max_version_upstream\", "
+ "\"max_version_release\", "
+ "\"min_open\", "
+ "\"max_open\" "
"FROM \"main\".\"selected_package_prerequisites_old\"");
db.execute ("DROP TABLE \"main\".\"selected_package_prerequisites_old\"");