aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2021-07-23 16:26:20 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2021-08-03 17:18:15 +0300
commit030785a98f0c61ed61f6f9669ba0bf46a3bcb6b9 (patch)
tree697835832c216d651ce65fd142ec602f8bd7d976
parent939adfc8e207395bbea067c50311cb178bed97cc (diff)
Fix database migration to schema version 9
-rw-r--r--bpkg/database.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/bpkg/database.cxx b/bpkg/database.cxx
index 44712d2..fdfee32 100644
--- a/bpkg/database.cxx
+++ b/bpkg/database.cxx
@@ -83,8 +83,8 @@ namespace bpkg
make_shared<configuration> (optional<string> (), "target"));
db.persist (sl);
- db.execute ("UPDATE selected_package_prerequisites SET configuration = '" +
- sl->uuid.string () + "'");
+ db.execute (string ("UPDATE \"main\".selected_package_prerequisites ") +
+ "SET configuration = '" + sl->uuid.string () + "'");
});
static inline path