Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-06-08 | Propagate custom column name to polymorphic id refs | Boris Kolpackov | 1 | -0/+10 | |
2013-04-26 | Add support for extra database info in primary key | Boris Kolpackov | 9 | -13/+51 | |
Use that to handle Oracle sequence name and SQLite lax auto ids. | |||||
2013-04-26 | Add support for table options in changelog, use to handle MySQL engine | Boris Kolpackov | 5 | -15/+75 | |
2013-04-26 | Fix bug in diff'ing models of same version | Boris Kolpackov | 1 | -5/+20 | |
2013-04-26 | Issue warning if base and current versions differ during changelog ↵ | Boris Kolpackov | 1 | -1/+6 | |
initialization | |||||
2013-04-26 | Fix changelog generation corner case bug | Boris Kolpackov | 1 | -1/+3 | |
2013-04-26 | Add --sqlite-override-null option | Boris Kolpackov | 2 | -5/+15 | |
2013-04-26 | Add database name to changelog | Boris Kolpackov | 2 | -4/+5 | |
2013-04-25 | Add support for schema version table | Boris Kolpackov | 8 | -10/+440 | |
2013-04-10 | Add support for embedded schema migration | Boris Kolpackov | 2 | -7/+119 | |
2013-04-10 | Generate embedded schema in single function instead of one per object | Boris Kolpackov | 9 | -350/+190 | |
2013-04-10 | Clean up class order in schema generators | Boris Kolpackov | 6 | -135/+160 | |
2013-04-10 | Get rid of ALTER TABLE callback since it is the same for all databases | Boris Kolpackov | 4 | -28/+24 | |
2013-04-10 | Use single ALTER TABLE to add foreign keys on pass 2 | Boris Kolpackov | 4 | -132/+200 | |
2013-04-10 | Improve output of columns in PRIMARY KEY, FOREIGN KEY, and REFERENCES | Boris Kolpackov | 1 | -26/+13 | |
2013-04-10 | Write NULL/NOT NULL before DEFAULT in generated schemas | Boris Kolpackov | 2 | -5/+30 | |
This way we avoid DEFAULT NULL NULL, except for Oracle which insists on a specific order. | |||||
2013-04-10 | Generate add/drop foreign key migration statements | Boris Kolpackov | 11 | -747/+1155 | |
Also add the --fkeys-deferrable-mode option. General schemas generation rework. | |||||
2013-04-10 | Don't throw null_pointer on load operations | Boris Kolpackov | 1 | -4/+5 | |
This can be useful during migration. Plus this should be enforced by the database. | |||||
2013-04-10 | Add NOT NULL column without default value initially as NULL | Boris Kolpackov | 5 | -37/+82 | |
2013-04-10 | Explicitly specify NULL for nullable columns in generated schema | Boris Kolpackov | 2 | -25/+4 | |
2013-04-10 | Generate alter column migration statements | Boris Kolpackov | 6 | -22/+292 | |
2013-04-10 | Generate add/drop column migration statements | Boris Kolpackov | 4 | -30/+402 | |
2013-04-10 | Generate add/drop index migration statements | Boris Kolpackov | 6 | -26/+275 | |
2013-04-10 | Generate add/drop table migration statements | Boris Kolpackov | 8 | -146/+356 | |
2013-04-10 | Make changelog base version always correspond to model version | Boris Kolpackov | 1 | -63/+103 | |
2013-04-10 | Add changelog support for add/drop index/foreign key | Boris Kolpackov | 1 | -17/+340 | |
Also diagnose changes to primary keys and establish the 'alters' association. | |||||
2013-04-10 | Add changelog support for add, drop, and later column | Boris Kolpackov | 1 | -3/+198 | |
2013-04-10 | Add --changelog{,-in,-out,-dir} options | Boris Kolpackov | 2 | -11/+13 | |
2013-04-10 | Add support for maintaining log of database model changes | Boris Kolpackov | 2 | -0/+302 | |
2013-04-10 | Add model version pragma | Boris Kolpackov | 1 | -1/+3 | |
2013-04-10 | Remove unnecessary include | Boris Kolpackov | 1 | -2/+0 | |
2013-04-10 | Add initial support for database model serialization to XML | Boris Kolpackov | 3 | -27/+36 | |
2013-04-10 | Add comment | Boris Kolpackov | 1 | -1/+4 | |
2013-04-10 | Move type check to model creation instead of schema generation | Boris Kolpackov | 2 | -10/+34 | |
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-04-01 | Handle inverse member in base class of polymorphic hierarchy | Boris Kolpackov | 2 | -49/+97 | |
2013-02-11 | Provide default mapping for wchar_t and wchar_t[N] for SQLite | Boris Kolpackov | 1 | -1/+3 | |
2013-02-10 | Suppress some warnings | Boris Kolpackov | 2 | -0/+2 | |
2013-02-09 | Update copyright year | Boris Kolpackov | 70 | -70/+70 | |
2013-02-07 | Use multi-pass table creation in MySQL | Boris Kolpackov | 1 | -25/+204 | |
This deals with table creation order and circular dependencies. Unfortunately, there doesn't seem to be a way in MySQL to drop a foreign key only if it exists without resorting to stored procedures. | |||||
2013-02-07 | Rename boolean to boolean_ (macro clash) | Boris Kolpackov | 1 | -1/+1 | |
2013-02-05 | Add support for change-tracking containers | Boris Kolpackov | 8 | -401/+976 | |
ODB now supports "smart" ordered containers. Such containers get extra functions for updating and deleting individual elements. Based on this functionality implement two change-tracking containers: odb::vector (equivalent to std::vector) and QOdbList (equivalent to QList). New tests: common/container/change-tracking and qt/common/container/change- tracking. | |||||
2013-01-24 | Add support for mapping char[N] to CHAR/VARCHAR database types | Boris Kolpackov | 11 | -26/+206 | |
Also improve query support for arrays (decaying). | |||||
2013-01-16 | Make session cache management functions static, add notifications | Boris Kolpackov | 1 | -4/+9 | |
2013-01-16 | Implement two-phase session insertion | Boris Kolpackov | 1 | -2/+5 | |
On the first step an uninitialized object is inserted into the cache as before (this is necessary to handle recursive loading). The second step is to notify the session that the object has been initialized. On this second step the session can perform change tracking preparations, such as make a copy of the object or reset the modification flag. New test: common/session/custom (implements a custom session that uses copies to track changes). | |||||
2013-01-14 | Fix bug in handling polymorphic derived classes without any value members | Boris Kolpackov | 1 | -27/+51 | |
2013-01-14 | Add support for MSSQL ROWVERSION | Boris Kolpackov | 5 | -39/+214 | |
ODB can now use ROWVERSION column as an optimistic concurrency version. | |||||
2012-12-12 | Get rid of warning | Boris Kolpackov | 1 | -1/+1 | |
2012-12-12 | Add support for SQL name transformations | Boris Kolpackov | 21 | -152/+208 | |
2012-11-28 | Add support for DLL exporting of generated code | Boris Kolpackov | 3 | -20/+29 | |
New options: --export-symbol, --extern-symbol. | |||||
2012-11-21 | Add dynamic multi-database query support | Boris Kolpackov | 13 | -1342/+478 | |