From 88da1215cc9c1790f3cd111417dae72910c8f2fc Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Sat, 20 Jul 2019 14:12:26 +0300 Subject: Fix recent database migrations drop regenerating package.xml --- bpkg/database.cxx | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'bpkg/database.cxx') diff --git a/bpkg/database.cxx b/bpkg/database.cxx index 4f82bed..ba4ab10 100644 --- a/bpkg/database.cxx +++ b/bpkg/database.cxx @@ -50,16 +50,8 @@ namespace bpkg template using migration_entry = odb::data_migration_entry; - // Migrate tables that contain package version columns converting the - // default zero version epoch to one, unless the version is a stub. - // - // Note that we can't really distinguish the default zero epoch from an - // explicitly specified one, so will just update all of them, assuming that - // it is currently unlikely that the epoch was specified explicitly for any - // package version. - // static const migration_entry<6> - migrate_epoch_entry ([] (odb::database& db) + migrate_v6 ([] (odb::database& db) { }); #endif -- cgit v1.1