summaryrefslogtreecommitdiff
path: root/odb/relational/model.hxx
AgeCommit message (Collapse)AuthorFilesLines
2012-01-26Implement support for database schemaBoris Kolpackov1-13/+13
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.
2012-01-08Add support for defining composite value type as class template instantiationsBoris Kolpackov1-7/+7
2011-10-24Generate database schema from database model instead of C++ modelBoris Kolpackov1-0/+528
We now first create the so-called database model from C++ model and then use that to generate the database schema. The new approach also adds more general support for primary/foreign keys, including multi- column keys. Finally, for MySQL we now generate out-of-line foreign key definitions. Because MySQL does not support deferred constraints checking, deferred foreign keys are written commented out, for documentation.