aboutsummaryrefslogtreecommitdiff
path: root/libbrep/package.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-06-12 13:57:31 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-06-12 14:00:28 +0300
commit20a456e33222ed31008db3c328f1e10c212acf00 (patch)
tree49656edebb9e6ad6bb139d46d52a8c45c6e2af65 /libbrep/package.hxx
parenta259cbd13dcf9a25fdd758fc18f7611e1ac404f6 (diff)
Make project url and email optional in package manifest
Diffstat (limited to 'libbrep/package.hxx')
-rw-r--r--libbrep/package.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/libbrep/package.hxx b/libbrep/package.hxx
index b86350e..d403784 100644
--- a/libbrep/package.hxx
+++ b/libbrep/package.hxx
@@ -19,9 +19,9 @@
// Used by the data migration entries.
//
-#define LIBBREP_PACKAGE_SCHEMA_VERSION_BASE 6
+#define LIBBREP_PACKAGE_SCHEMA_VERSION_BASE 7
-#pragma db model version(LIBBREP_PACKAGE_SCHEMA_VERSION_BASE, 6, closed)
+#pragma db model version(LIBBREP_PACKAGE_SCHEMA_VERSION_BASE, 7, open)
namespace brep
{
@@ -306,11 +306,11 @@ namespace brep
strings tags,
optional<string> description,
string changes,
- url_type,
+ optional<url_type>,
optional<url_type> doc_url,
optional<url_type> src_url,
optional<url_type> package_url,
- email_type,
+ optional<email_type>,
optional<email_type> package_email,
optional<email_type> build_email,
dependencies_type,
@@ -342,11 +342,11 @@ namespace brep
strings tags;
optional<string> description;
string changes;
- url_type url;
+ optional<url_type> url;
optional<url_type> doc_url;
optional<url_type> src_url;
optional<url_type> package_url;
- email_type email;
+ optional<email_type> email;
optional<email_type> package_email;
optional<email_type> build_email;
dependencies_type dependencies;