summaryrefslogtreecommitdiff
path: root/odb/relational/model.cxx
AgeCommit message (Collapse)AuthorFilesLines
2015-02-06Update copyrightBoris Kolpackov1-1/+1
2015-01-22Add support for warning about SQL name truncations in OracleBoris Kolpackov1-6/+3
Also detect and issue diagnostics when such truncations lead to name conflicts.
2013-09-12Make sure that soft-add/delete version is current versionBoris Kolpackov1-0/+1
2013-04-10Add model version pragmaBoris Kolpackov1-1/+3
2013-04-10Add initial support for database model serialization to XMLBoris Kolpackov1-1/+1
2013-02-09Update copyright yearBoris Kolpackov1-1/+1
2012-09-17Convert integer and floating default values immediately2.1.0Boris Kolpackov1-62/+10
It appears that GCC 4.8 reuses token tree nodes that are returned during pragma parsing. So saving such nodes for later no longer works.
2012-07-27Add support for defining indexesBoris Kolpackov1-18/+21
New db pragma qualifier: index. New tests: common/index, mysql/index, pgsql/index.
2012-04-23Polymorphic inheritance supportBoris Kolpackov1-1/+1
2012-01-29Update copyright yearBoris Kolpackov1-1/+1
2012-01-29Remove author field from file headerBoris Kolpackov1-1/+0
Too much effort to maintain.
2012-01-26Implement support for database schemaBoris Kolpackov1-7/+7
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-0/+4
2011-10-24Generate database schema from database model instead of C++ modelBoris Kolpackov1-0/+168
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.