summaryrefslogtreecommitdiff
path: root/odb/semantics/relational/foreign-key.hxx
AgeCommit message (Collapse)AuthorFilesLines
2017-01-03Update copyright yearBoris Kolpackov1-1/+1
2015-02-06Update copyrightBoris Kolpackov1-1/+1
2013-12-04Implement on_delete pragma for object pointersBoris Kolpackov1-1/+2
Translates to the ON DELETE SQL clause.
2013-04-10Generate add/drop foreign key migration statementsBoris Kolpackov1-10/+13
Also add the --fkeys-deferrable-mode option. General schemas generation rework.
2013-04-10Add changelog support for add/drop index/foreign keyBoris Kolpackov1-0/+48
Also diagnose changes to primary keys and establish the 'alters' association.
2013-04-10Add support for copying database modelsBoris Kolpackov1-0/+4
2013-04-10Add initial support for database model serialization to XMLBoris Kolpackov1-21/+32
2013-02-09Update copyright yearBoris Kolpackov1-1/+1
2012-07-27Move indexes from model scope to table scopeBoris Kolpackov1-2/+2
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-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-5/+5
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/+87
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.