diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2020-04-01 21:50:16 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2020-04-05 12:55:51 +0300 |
commit | d1662abccb91be4844efc1508ff8b0427019a27c (patch) | |
tree | 6a0a8e1f86b51f97af67e2b65d20898cc42218b2 /libbrep/package.hxx | |
parent | ca708a3f172e2f0ffab8638087b3e478de06b996 (diff) |
Prepare to replacing package buildable flag with enumeration
Note that changing the data member type is not automatically handled by the
ODB migration machinery. Thus, we split the schema change into two steps, with
this commit implementing the first step (see migrate/migrate.cxx for details).
Diffstat (limited to 'libbrep/package.hxx')
-rw-r--r-- | libbrep/package.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libbrep/package.hxx b/libbrep/package.hxx index 07bd2a0..f679c62 100644 --- a/libbrep/package.hxx +++ b/libbrep/package.hxx @@ -20,7 +20,7 @@ // #define LIBBREP_PACKAGE_SCHEMA_VERSION_BASE 17 -#pragma db model version(LIBBREP_PACKAGE_SCHEMA_VERSION_BASE, 17, closed) +#pragma db model version(LIBBREP_PACKAGE_SCHEMA_VERSION_BASE, 18, closed) namespace brep { @@ -583,6 +583,8 @@ namespace brep #pragma db member(other_repositories) \ id_column("") value_column("repository_") value_not_null + #pragma db member(buildable) column("buildable_") + // search_index // #pragma db member(search_index) virtual(weighted_text) null \ |