From 08022a07eead928949be5581f1202a197bf68551 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 28 Aug 2013 07:52:50 +0200 Subject: Support for added and deleted data member pragmas --- odb/database.hxx | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'odb/database.hxx') 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 #include +#include #include #include #include @@ -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. -- cgit v1.1