Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-01-03 | Update copyright year | Boris Kolpackov | 1 | -1/+1 | |
2015-02-06 | Update copyright | Boris Kolpackov | 1 | -1/+1 | |
2013-09-15 | Cleanup polymorphic base tables when dropping derived one | Boris Kolpackov | 1 | -1/+10 | |
2013-04-25 | Add support for schema version table | Boris Kolpackov | 1 | -0/+103 | |
2013-04-10 | Clean up class order in schema generators | Boris Kolpackov | 1 | -0/+4 | |
2013-04-10 | Generate add/drop foreign key migration statements | Boris Kolpackov | 1 | -88/+12 | |
Also add the --fkeys-deferrable-mode option. General schemas generation rework. | |||||
2013-04-10 | Add NOT NULL column without default value initially as NULL | Boris Kolpackov | 1 | -3/+3 | |
2013-04-10 | Generate alter column migration statements | Boris Kolpackov | 1 | -0/+13 | |
2013-04-10 | Generate add/drop table migration statements | Boris Kolpackov | 1 | -4/+7 | |
2013-04-10 | Move type check to model creation instead of schema generation | Boris Kolpackov | 1 | -10/+2 | |
This way we make sure cxx-location is only used during model creation. As a result, we can now generate schema from a model instantiated from XML. | |||||
2013-02-09 | Update copyright year | Boris Kolpackov | 1 | -1/+1 | |
2012-12-12 | Add support for SQL name transformations | Boris Kolpackov | 1 | -12/+0 | |
2012-07-27 | Add support for defining indexes | Boris Kolpackov | 1 | -4/+47 | |
New db pragma qualifier: index. New tests: common/index, mysql/index, pgsql/index. | |||||
2012-07-27 | Move indexes from model scope to table scope | Boris Kolpackov | 1 | -2/+6 | |
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-07-17 | Remove unnecessary instance<> usage | Boris Kolpackov | 1 | -2/+2 | |
2012-01-29 | Update copyright year | Boris Kolpackov | 1 | -1/+1 | |
2012-01-29 | Remove author field from file header | Boris Kolpackov | 1 | -1/+0 | |
Too much effort to maintain. | |||||
2012-01-26 | Implement support for database schema | Boris Kolpackov | 1 | -3/+17 | |
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-24 | Generate database schema from database model instead of C++ model | Boris Kolpackov | 1 | -184/+81 | |
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-10-21 | Add support for const data members | Boris Kolpackov | 1 | -1/+2 | |
Const data members are automatically treated as readonly. New test: const-member. | |||||
2011-09-19 | Rename generation_failed exception to operation_failed | Boris Kolpackov | 1 | -2/+2 | |
A more generic name is required since it is now used in both generator and processor (and in the future may be used validator). | |||||
2011-09-16 | Support for views; integrated part | Boris Kolpackov | 1 | -1/+1 | |
2011-08-31 | Rename comp_value() predicate to composite() | Boris Kolpackov | 1 | -1/+1 | |
2011-08-31 | Cosmetic changes and cleanups | Boris Kolpackov | 1 | -6/+6 | |
Rename some functions to have consistent names. Add object() predicate. | |||||
2011-08-28 | Add wrapper support for containers | Boris Kolpackov | 1 | -2/+1 | |
2011-08-28 | Add wrapper support for composite values | Boris Kolpackov | 1 | -1/+1 | |
NULL semantics for composite values is not yet supported. | |||||
2011-08-19 | Make container object_id reference the object | Boris Kolpackov | 1 | -7/+33 | |
Make it ON DELETE CASCADE. Also in erase(), delete the container rows first. | |||||
2011-07-22 | Add pragma for setting type's or member's default value | Boris Kolpackov | 1 | -0/+37 | |
New pragma: default. New test: default. | |||||
2011-07-22 | Cosmetic change | Boris Kolpackov | 1 | -1/+1 | |
2011-07-19 | Cosmetic change | Boris Kolpackov | 1 | -1/+1 | |
2011-07-08 | Add foreign keys to PostgreSQL schema generation | Constantin Michael | 1 | -0/+129 | |
2011-07-08 | Add CASCADE to PostgreSQL DROP TABLE statements | Constantin Michael | 1 | -0/+26 | |
2011-07-05 | Correct PostgreSQL schema generation implementation | Constantin Michael | 1 | -9/+10 | |
2011-07-05 | Add PostgreSQL schema generation implementation | Constantin Michael | 1 | -0/+55 | |