aboutsummaryrefslogtreecommitdiff
path: root/libbrep/package.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbrep/package.hxx')
-rw-r--r--libbrep/package.hxx17
1 files changed, 15 insertions, 2 deletions
diff --git a/libbrep/package.hxx b/libbrep/package.hxx
index 33444a9..1619185 100644
--- a/libbrep/package.hxx
+++ b/libbrep/package.hxx
@@ -20,7 +20,7 @@
//
#define LIBBREP_PACKAGE_SCHEMA_VERSION_BASE 19
-#pragma db model version(LIBBREP_PACKAGE_SCHEMA_VERSION_BASE, 19, closed)
+#pragma db model version(LIBBREP_PACKAGE_SCHEMA_VERSION_BASE, 20, closed)
namespace brep
{
@@ -226,16 +226,29 @@ namespace brep
// flag set to false.
//
explicit
- tenant (string id);
+ tenant (string id, bool private_, optional<string> interactive);
string id;
+ // If true, display the packages in the web interface only in the tenant
+ // view mode.
+ //
+ bool private_; // Note: foreign-mapped in build.
+
+ // Interactive package build breakpoint.
+ //
+ // If present, then packages from this tenant will only be built
+ // interactively and only non-interactively otherwise.
+ //
+ optional<string> interactive; // Note: foreign-mapped in build.
+
timestamp creation_timestamp;
bool archived = false; // Note: foreign-mapped in build.
// Database mapping.
//
#pragma db member(id) id
+ #pragma db member(private_) default(false) // @@ TMP
private:
friend class odb::access;