aboutsummaryrefslogtreecommitdiff
path: root/odb/relational/source.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/relational/source.hxx')
-rw-r--r--odb/relational/source.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/odb/relational/source.hxx b/odb/relational/source.hxx
index d4bc7a8..ac81bdf 100644
--- a/odb/relational/source.hxx
+++ b/odb/relational/source.hxx
@@ -4820,8 +4820,8 @@ namespace relational
if (s.versioned || s.versioned_containers)
os << "const schema_version_migration& svm (" << endl
- << "esc." << m.name () << ".connection ().database ()." <<
- "schema_version_migration (" << schema_name << "));"
+ << "esc." << m.name () << ".version_migration (" <<
+ schema_name << "));"
<< endl;
// Load values, if any.
@@ -5097,8 +5097,8 @@ namespace relational
if (s.versioned || s.readwrite_versioned_containers)
os << "const schema_version_migration& svm (" << endl
- << "esc." << m.name () << ".connection ().database ()." <<
- "schema_version_migration (" << schema_name << "));"
+ << "esc." << m.name () << ".version_migration (" <<
+ schema_name << "));"
<< endl;
// Update values, if any.