summaryrefslogtreecommitdiff
path: root/odb/relational/schema.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/relational/schema.hxx')
-rw-r--r--odb/relational/schema.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/odb/relational/schema.hxx b/odb/relational/schema.hxx
index 56857f3..a236fd5 100644
--- a/odb/relational/schema.hxx
+++ b/odb/relational/schema.hxx
@@ -864,7 +864,8 @@ namespace relational
++end; // Transform the range from [begin, end] to [begin, end).
string const& type (class_fq_name (c));
- string traits ("access::object_traits< " + type + " >");
+ string traits ("access::object_traits_impl< " + type + ", id_" +
+ db.string () + " >");
// create_schema ()
//
@@ -941,6 +942,7 @@ namespace relational
os << "static const schema_catalog_entry" << endl
<< "schema_catalog_entry_" << flat_name (type) << "_ (" << endl
+ << "id_" << db << "," << endl
<< strlit (options.schema_name ()) << "," << endl
<< "&" << traits << "::create_schema);"
<< endl;