aboutsummaryrefslogtreecommitdiff
path: root/libbrep
diff options
context:
space:
mode:
Diffstat (limited to 'libbrep')
-rw-r--r--libbrep/package.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbrep/package.hxx b/libbrep/package.hxx
index 8164639..c716436 100644
--- a/libbrep/package.hxx
+++ b/libbrep/package.hxx
@@ -484,7 +484,8 @@ namespace brep
package_id id;
};
- #pragma db view object(package)
+ #pragma db view object(package) \
+ object(repository: package::internal_repository)
struct package_version
{
package_id id;
@@ -492,7 +493,6 @@ namespace brep
// Database mapping.
//
- #pragma db member(id) column("")
#pragma db member(version) set(this.version.init (this.id.version, (?)))
};
}