aboutsummaryrefslogtreecommitdiff
path: root/libbrep/build-package.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-04-01 21:50:16 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-04-05 12:55:51 +0300
commitd1662abccb91be4844efc1508ff8b0427019a27c (patch)
tree6a0a8e1f86b51f97af67e2b65d20898cc42218b2 /libbrep/build-package.hxx
parentca708a3f172e2f0ffab8638087b3e478de06b996 (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/build-package.hxx')
-rw-r--r--libbrep/build-package.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/libbrep/build-package.hxx b/libbrep/build-package.hxx
index 702f937..ffa9d0b 100644
--- a/libbrep/build-package.hxx
+++ b/libbrep/build-package.hxx
@@ -96,6 +96,8 @@ namespace brep
#pragma db member(builds) id_column("") value_column("")
#pragma db member(constraints) id_column("") value_column("")
+ #pragma db member(buildable) column("buildable_")
+
private:
friend class odb::access;
build_package () = default;