diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-01-26 12:43:16 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-01-26 12:43:16 +0200 |
commit | af12ffe836de09ec84f666effa4df347eeb07a43 (patch) | |
tree | dc0aec9f8fee545c84be098414772cf2b277c30d /odb/relational/schema.cxx | |
parent | c1d2ec5bbd5969332f3278f39d2a7a8f0abc0493 (diff) |
Implement support for database schema
New pragma qualifier: namespace. New pragma specifier: schema. The table
specifier was extended to accept a schema prefix. New option: --default-
schema. The common/schema test was extended to cover the new functionality.
Diffstat (limited to 'odb/relational/schema.cxx')
-rw-r--r-- | odb/relational/schema.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/odb/relational/schema.cxx b/odb/relational/schema.cxx index 8a06427..a8dc70c 100644 --- a/odb/relational/schema.cxx +++ b/odb/relational/schema.cxx @@ -44,7 +44,7 @@ namespace relational { instance<drop_model> model (*em, emos, f); - trav_rel::names names; + trav_rel::qnames names; instance<drop_table> table (*em, emos, f); instance<drop_index> index (*em, emos, f); @@ -70,7 +70,7 @@ namespace relational // { instance<create_model> model (*em, emos, f); - trav_rel::names names; + trav_rel::qnames names; instance<create_table> table (*em, emos, f); instance<create_index> index (*em, emos, f); |