summaryrefslogtreecommitdiff
path: root/odb/semantics/relational/elements.hxx
AgeCommit message (Collapse)AuthorFilesLines
2015-02-06Update copyrightBoris Kolpackov1-1/+1
2013-04-26Add support for extra database info in primary keyBoris Kolpackov1-15/+14
Use that to handle Oracle sequence name and SQLite lax auto ids.
2013-04-10Add changelog support for add/drop index/foreign keyBoris Kolpackov1-6/+89
Also diagnose changes to primary keys and establish the 'alters' association.
2013-04-10Add support for maintaining log of database model changesBoris Kolpackov1-12/+40
2013-04-10Add support for copying database modelsBoris Kolpackov1-2/+15
2013-04-10Add changelog, changeset, and add_table semantics nodesBoris Kolpackov1-1/+1
2013-04-10Add initial support for database model serialization to XMLBoris Kolpackov1-6/+43
2013-02-09Update copyright yearBoris Kolpackov1-1/+1
2012-07-27Move indexes from model scope to table scopeBoris Kolpackov1-4/+4
Conceptually, indexes belong to tables and some databases (MySQL, MSSQL) indeed treat them as such (i.e., you can have indexes with the same name in different tables).
2012-04-23Polymorphic inheritance supportBoris Kolpackov1-2/+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-30/+58
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.
2011-10-24Generate database schema from database model instead of C++ modelBoris Kolpackov1-0/+277
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.