Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-01-26 | Implement support for database schema | Boris Kolpackov | 1 | -2/+2 | |
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 | -126/+31 | |
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/+1 | |
Const data members are automatically treated as readonly. New test: const-member. | |||||
2011-10-21 | Add schema_file implementation to support schema file header and footer hooks | Constantin Michael | 1 | -0/+5 | |
2011-10-21 | Allow per database specialization of schema_emitter | Constantin Michael | 1 | -34/+3 | |
2011-09-11 | Generalize pragma code to support arbitrary types for context values | Boris Kolpackov | 1 | -42/+21 | |
2011-08-21 | Add support for multi-pass database schema drop | Boris Kolpackov | 1 | -2/+9 | |
2011-07-22 | Add pragma for setting type's or member's default value | Boris Kolpackov | 1 | -0/+122 | |
New pragma: default. New test: default. | |||||
2011-07-08 | Have separate table set for each schema generation pass | Boris Kolpackov | 1 | -10/+7 | |
2011-07-05 | Add support for multi-pass database schema generation | Boris Kolpackov | 1 | -2/+12 | |
2011-03-21 | Create indexes in separate SQL statements | Boris Kolpackov | 1 | -2/+3 | |
This is more vendor-neutral. | |||||
2011-03-21 | Split MySQL code generator into common and db-specific parts | Boris Kolpackov | 1 | -0/+101 | |
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. |