diff options
Diffstat (limited to 'odb/pgsql/container-statements.hxx')
-rw-r--r-- | odb/pgsql/container-statements.hxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/odb/pgsql/container-statements.hxx b/odb/pgsql/container-statements.hxx index d77eec9..3dcecf2 100644 --- a/odb/pgsql/container-statements.hxx +++ b/odb/pgsql/container-statements.hxx @@ -10,6 +10,7 @@ #include <cstddef> // std::size_t #include <odb/forward.hxx> +#include <odb/schema-version.hxx> #include <odb/traits.hxx> #include <odb/pgsql/version.hxx> @@ -61,6 +62,14 @@ namespace odb return functions_; } + // + // + const schema_version_migration& + version_migration () const {return *svm_;} + + void + version_migration (const schema_version_migration& svm) {svm_ = &svm;} + // Id image binding (external). // const binding& @@ -205,6 +214,7 @@ namespace odb const char* delete_text_; bool versioned_; + const schema_version_migration* svm_; details::shared_ptr<insert_statement_type> insert_; details::shared_ptr<select_statement_type> select_; |