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 +--------- bpkg/package.xml | 4 +--- 2 files changed, 2 insertions(+), 12 deletions(-) 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 diff --git a/bpkg/package.xml b/bpkg/package.xml index 0cb00c1..6c17f11 100644 --- a/bpkg/package.xml +++ b/bpkg/package.xml @@ -1,7 +1,5 @@ - - - + -- cgit v1.1