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/semantics/relational/primary-key.hxx | |
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/semantics/relational/primary-key.hxx')
-rw-r--r-- | odb/semantics/relational/primary-key.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/odb/semantics/relational/primary-key.hxx b/odb/semantics/relational/primary-key.hxx index a35e8f5..7402b8a 100644 --- a/odb/semantics/relational/primary-key.hxx +++ b/odb/semantics/relational/primary-key.hxx @@ -13,7 +13,7 @@ namespace semantics { namespace relational { - class primary_key: public key + class primary_key: public unameable, public key { public: bool @@ -23,10 +23,10 @@ namespace semantics } public: - // Primary key has the implicit empty id. - // primary_key (bool auto_) - : key (""), auto__ (auto_) + // Primary key has the implicit empty id. + // + : unameable (""), auto__ (auto_) { } |