diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-03-20 13:09:45 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-04-10 18:46:44 +0200 |
commit | c67c06030fb1ac622c96211bffc054a85efe0aa8 (patch) | |
tree | 07a85e0c3b0f3a22b58405ff5582870f2b09f424 /odb/semantics/relational/model.hxx | |
parent | 3b457daf6b252ef31ec0611e7375aa4badd8e63d (diff) |
Add support for maintaining log of database model changes
Diffstat (limited to 'odb/semantics/relational/model.hxx')
-rw-r--r-- | odb/semantics/relational/model.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/odb/semantics/relational/model.hxx b/odb/semantics/relational/model.hxx index 626befd..575100f 100644 --- a/odb/semantics/relational/model.hxx +++ b/odb/semantics/relational/model.hxx @@ -19,6 +19,9 @@ namespace semantics version_type version () const {return version_;} + void + version (version_type v) {version_ = v;} + public: model (version_type v): version_ (v) {} model (model const&, graph&); |