Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-10-29 | Add support for database prefixes in command line interface | Boris Kolpackov | 1 | -1/+1 | |
2012-10-08 | Ground work for multi-database support | Boris Kolpackov | 1 | -1/+3 | |
All generated code now includes database id. The database-specific database class interface has been updated to include all the database operations. The database-specific tests now use this interface. | |||||
2012-09-13 | Add --omit-drop and --omit-create options | Boris Kolpackov | 1 | -3/+10 | |
2012-07-27 | Add support for defining indexes | Boris Kolpackov | 1 | -4/+23 | |
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 | -106/+99 | |
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 | Implement multi-pass table dropping for SQL Server | Boris Kolpackov | 1 | -11/+35 | |
We have to first drop constraints before dropping tables in case the tables are dropped in a wrong order or there are circular dependencies. | |||||
2012-03-05 | Add support for generating schema creation code into separate C++ file | Boris Kolpackov | 1 | -52/+292 | |
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 | -9/+27 | |
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-26 | Output DEFAULT clause before NULL specification when generating schema | Constantin Michael | 1 | -3/+4 | |
Oracle requires that the DEFAULT clause appear before any column contraints are specified when creating a table. | |||||
2011-10-24 | Generate database schema from database model instead of C++ model | Boris Kolpackov | 1 | -332/+376 | |
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/+19 | |
2011-10-21 | Minimize Oracle schema_emitter implementation | Constantin Michael | 1 | -1/+1 | |
2011-10-21 | Allow per database specialization of schema_emitter | Constantin Michael | 1 | -0/+33 | |
2011-09-16 | Support for views; integrated part | Boris Kolpackov | 1 | -2/+6 | |
2011-08-31 | Rename comp_value() predicate to composite() | Boris Kolpackov | 1 | -2/+2 | |
2011-08-31 | Cosmetic changes and cleanups | Boris Kolpackov | 1 | -11/+13 | |
Rename some functions to have consistent names. Add object() predicate. | |||||
2011-08-28 | Add wrapper support for containers | Boris Kolpackov | 1 | -4/+3 | |
2011-08-28 | Add wrapper support for composite values | Boris Kolpackov | 1 | -2/+2 | |
NULL semantics for composite values is not yet supported. | |||||
2011-08-21 | Add support for multi-pass database schema drop | Boris Kolpackov | 1 | -11/+43 | |
2011-08-19 | Cosmetic change | Boris Kolpackov | 1 | -1/+1 | |
2011-08-19 | Make container object_id reference the object | Boris Kolpackov | 1 | -2/+13 | |
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 | -2/+55 | |
New pragma: default. New test: default. | |||||
2011-07-22 | Add support for specifying extra column options | Boris Kolpackov | 1 | -0/+7 | |
New pragmas: options, id_options, index_options, key_options, and value_options. | |||||
2011-07-19 | New design for NULL semantics | Boris Kolpackov | 1 | -0/+8 | |
Now, instead of being specified as part of the SQL type with the type pragma, there are separate null and not_null pragmas. The not_null pragma was used to control NULL-ness of object pointers. Now the two pragmas are used consistently for object pointers and simple values (and in the future will work for composite values and containers). | |||||
2011-07-08 | Have separate table set for each schema generation pass | Boris Kolpackov | 1 | -23/+33 | |
2011-07-05 | Add hook for schema column reference generation | Boris Kolpackov | 1 | -6/+11 | |
2011-07-05 | Add support for multi-pass database schema generation | Boris Kolpackov | 1 | -5/+25 | |
2011-07-05 | Move leading space in object_columns::type hook to object_columns::column | Constantin Michael | 1 | -2/+2 | |
2011-07-05 | Add type hook point to relational schema generation | Constantin Michael | 1 | -1/+8 | |
2011-04-25 | Add support for abstract object types | Boris Kolpackov | 1 | -3/+3 | |
2011-03-21 | Create indexes in separate SQL statements | Boris Kolpackov | 1 | -26/+50 | |
This is more vendor-neutral. | |||||
2011-03-21 | Separate auto increment from database type | Boris Kolpackov | 1 | -2/+8 | |
2011-03-21 | Split MySQL code generator into common and db-specific parts | Boris Kolpackov | 1 | -0/+379 | |
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. |