diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2020-07-23 13:01:53 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2020-07-23 13:44:14 +0300 |
commit | 247ebd5e7b987c180fbd896af4b9d29808e3c0d1 (patch) | |
tree | 751d5497d6c60c9e8ee0c400c37a8797e83516ee /libbrep/build.hxx | |
parent | 84b7b5ee05ed865975f769270bd8a56f3a9059d6 (diff) |
Drop all database migrations to be backward compatible with only 0.13.0 (one minor version behind)
Diffstat (limited to 'libbrep/build.hxx')
-rw-r--r-- | libbrep/build.hxx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/libbrep/build.hxx b/libbrep/build.hxx index 1041805..380b17b 100644 --- a/libbrep/build.hxx +++ b/libbrep/build.hxx @@ -23,7 +23,7 @@ // Used by the data migration entries. // -#define LIBBREP_BUILD_SCHEMA_VERSION_BASE 9 +#define LIBBREP_BUILD_SCHEMA_VERSION_BASE 12 #pragma db model version(LIBBREP_BUILD_SCHEMA_VERSION_BASE, 12, closed) @@ -254,7 +254,12 @@ namespace brep // #pragma db member(timestamp) index - // @@ TMP remove when 0.13.0 is released. + // This is not required since 0.14.0. Note however, that just dropping + // this line won't pan out since this would require migration which odb is + // currently unable to handle automatically, advising to re-implement this + // change by adding a new data member with the desired default value, + // migrating the data, and deleting the old data member. This sounds a bit + // hairy, so let's keep it for now. // #pragma db member(completion_timestamp) default(0) |