aboutsummaryrefslogtreecommitdiff
path: root/brep/package
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-02-09 21:40:34 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-02-10 17:25:59 +0200
commit0242fa276ae889d05f713aec4a6f09372f996a1d (patch)
tree989e29dae1c814c5f98eaa5c89f5080819a13949 /brep/package
parentae301626ddd8288bd58d67dfb7b2a660740001b0 (diff)
Support comment in the repository email manifest value
Diffstat (limited to 'brep/package')
-rw-r--r--brep/package8
1 files changed, 5 insertions, 3 deletions
diff --git a/brep/package b/brep/package
index 5360623..8aa88a1 100644
--- a/brep/package
+++ b/brep/package
@@ -21,9 +21,9 @@
// Used by the data migration entries.
//
-#define LIBBREP_SCHEMA_VERSION_BASE 1
+#define LIBBREP_SCHEMA_VERSION_BASE 2
-#pragma db model version(LIBBREP_SCHEMA_VERSION_BASE, 1, closed)
+#pragma db model version(LIBBREP_SCHEMA_VERSION_BASE, 2, open)
// The uint16_t value range is not fully covered by SMALLINT PostgreSQL type
// to which uint16_t is mapped by default.
@@ -355,6 +355,8 @@ namespace brep
class repository
{
public:
+ using email_type = brep::email;
+
// Create internal repository.
//
repository (repository_location,
@@ -380,7 +382,7 @@ namespace brep
// Present only for internal repositories.
//
- optional<string> email;
+ optional<email_type> email;
optional<string> summary;
optional<string> description;