diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-07-20 14:12:26 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-07-20 14:12:26 +0300 |
commit | 88da1215cc9c1790f3cd111417dae72910c8f2fc (patch) | |
tree | 67ad7ebfb2d3c18bf92436fe1933f1ea3893bacb /bpkg/database.cxx | |
parent | a3bf80032f639fe079ce37514e84dc1a1d85c3ed (diff) |
Fix recent database migrations drop regenerating package.xml
Diffstat (limited to 'bpkg/database.cxx')
-rw-r--r-- | bpkg/database.cxx | 10 |
1 files changed, 1 insertions, 9 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 <odb::schema_version v> using migration_entry = odb::data_migration_entry<v, DB_SCHEMA_VERSION_BASE>; - // 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 |