diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-08-28 07:52:50 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-08-28 07:52:50 +0200 |
commit | 08022a07eead928949be5581f1202a197bf68551 (patch) | |
tree | 657fb45ee2b1510d157b8146a0bd02684a12e3c2 /odb/database.hxx | |
parent | 74f50a3bc6890c96532fe9e76e387171aec3a8c3 (diff) |
Support for added and deleted data member pragmas
Diffstat (limited to 'odb/database.hxx')
-rw-r--r-- | odb/database.hxx | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/odb/database.hxx b/odb/database.hxx index a4ef058..ea5a37a 100644 --- a/odb/database.hxx +++ b/odb/database.hxx @@ -20,6 +20,7 @@ #include <odb/traits.hxx> #include <odb/forward.hxx> +#include <odb/schema-version.hxx> #include <odb/query.hxx> #include <odb/prepared-query.hxx> #include <odb/result.hxx> @@ -349,9 +350,13 @@ namespace odb // Set schema version and migration state manually. // void - schema_version (schema_version_type, - bool migration, - const std::string& schema_name = ""); + schema_version_migration (schema_version_type, + bool migration, + const std::string& schema_name = ""); + + void + schema_version_migration (const schema_version_migration_type&, + const std::string& schema_name = ""); // Set default schema version table for all schema names. The table // name should already be quoted if necessary. |