summaryrefslogtreecommitdiff
path: root/odb/relational/schema.hxx
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-10-21 11:22:40 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-10-21 11:47:15 +0200
commit2043035eee4f8c0f3f896082651d3a5799e90ab8 (patch)
tree35a409efec4131b1d96abdf7be6a5328e989d54c /odb/relational/schema.hxx
parent050822b74f51a339501970f21f00916f4deb8836 (diff)
Add schema_file implementation to support schema file header and footer hooks
Diffstat (limited to 'odb/relational/schema.hxx')
-rw-r--r--odb/relational/schema.hxx19
1 files changed, 19 insertions, 0 deletions
diff --git a/odb/relational/schema.hxx b/odb/relational/schema.hxx
index 6c4cdee..29d4ff9 100644
--- a/odb/relational/schema.hxx
+++ b/odb/relational/schema.hxx
@@ -78,6 +78,25 @@ namespace relational
};
//
+ // File.
+ //
+
+ struct schema_file: virtual context
+ {
+ typedef schema_file base;
+
+ virtual void
+ pre ()
+ {
+ }
+
+ virtual void
+ post ()
+ {
+ }
+ };
+
+ //
// Drop.
//