From 030785a98f0c61ed61f6f9669ba0bf46a3bcb6b9 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 23 Jul 2021 16:26:20 +0300 Subject: Fix database migration to schema version 9 --- bpkg/database.cxx | 4 ++-- 1 file 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 (optional (), "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 -- cgit v1.1