summaryrefslogtreecommitdiff
path: root/odb/relational/generate.hxx
AgeCommit message (Collapse)AuthorFilesLines
2013-02-09Update copyright yearBoris Kolpackov1-1/+1
2012-09-13Add --sql-interlude and --sql-interlude-file optionsBoris Kolpackov1-1/+10
2012-03-05Add support for generating schema creation code into separate C++ fileBoris Kolpackov1-0/+6
2012-01-29Update copyright yearBoris Kolpackov1-1/+1
2012-01-29Remove author field from file headerBoris Kolpackov1-1/+0
Too much effort to maintain.
2011-10-24Generate database schema from database model instead of C++ modelBoris Kolpackov1-0/+10
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.
2011-03-21Split MySQL code generator into common and db-specific partsBoris Kolpackov1-0/+36
The common part (in relational/) still has some MySQL-specific parts. Also, add the notion of the current context which is used to avoid explicitly passing the context object to every generator's c-tor.