- 26 Feb, 2011 1 commit
-
-
Benjamin Eberlei authored
DBAL-88 - Change index retrieval of MySQL to use information_schema.statistics which avoids errors when using reserved words for table names (for example in database driver).
-
- 20 Feb, 2011 1 commit
-
-
Benjamin Eberlei authored
-
- 19 Feb, 2011 1 commit
-
-
Benjamin Eberlei authored
[DBAL-42] Add support to reverse engineer Comments from MySQL, PostgreSQL and ORacle into Doctrine\DBAL\Schema\Column instances and added comment comparison into Comparator.
-
- 17 Nov, 2010 1 commit
-
-
Benjamin Eberlei authored
-
- 11 Sep, 2010 1 commit
-
-
Benjamin Eberlei authored
DBAL-50 - Explicitly add an index for each foreign key added to a Schema\Table instance. Removed code to FixSchema based on foreign keys, since assumptions now dont apply anymore. Refactored algorithms to check for duplicate or potential overrule indexes into Schema\Index classes, added tests and unified Table API handling these conflicts
-
- 20 Jun, 2010 1 commit
-
-
Benjamin Eberlei authored
DBAL-22 - Fix DateTime with Timezone handling in Postgres and Oracle by introducing new type DateTimeTz and have SchemaManagers of both platforms detect this type. Added general conversion testcase which made some bugs in Oracle Date Handling and $stmt->fetchColumn() appear
-
- 12 Jun, 2010 2 commits
- 15 Mar, 2010 1 commit
-
-
romanb authored
[2.0] Code cleanups. Preparations for DDC-193. Fixed DDC-399, type configuration remains global for now but the irritating instance methods on the Configuration have been removed. Use Type::addType et al. Added TODOs for naming standards.
-
- 05 Mar, 2010 1 commit
-
-
romanb authored
[2.0][DDC-92] Fixed. Patch provided by Christian Heinrich. [DDC-274] Started some method renaming. [DDC-142] Fixed (join column names and discriminator column names dont support quoting) [DDC-258] Fixed.
-
- 25 Feb, 2010 1 commit
-
-
beberlei authored
[2.0] DDC-312 - Revert annoying View and Trigger variables in Schema instance, complete "View" support by just returning a View instance
-
- 19 Feb, 2010 1 commit
-
-
beberlei authored
-
- 11 Feb, 2010 1 commit
-
-
beberlei authored
[2.0] DDC-313 - Removed abstracted trigger support, list functions, list users and the platform specific code to generate the queries for this stuff.
-
- 10 Feb, 2010 3 commits
-
-
beberlei authored
-
beberlei authored
[2.0] DDC-312 - Refactored View support of all platforms a little - Oracle now also supports the retrieval of the sql used to generate a view so that a common datastructure View is a viable option.
-
beberlei authored
[2.0] DDC-302 - Drop convenience methods since their API is somewhat strange, have to think about something else. Dropped AbstractSchemaManager::listTableConstraints() support - since it only returns the names of all constraints, which are already returned much more nicely with listTableIndexes().
-
- 07 Feb, 2010 1 commit
-
-
beberlei authored
[2.0] DDC-214, DDC-303, DDC-304 - Fix several errors with Schema Inference from Database and Metadata and Comparisons, aswell as related bugs in DatabaseDriver. DDC-305 - Abstracted TRUNCATE command for all platforms.
-
- 10 Dec, 2009 1 commit
-
-
beberlei authored
[2.0] DDC-169 - Further refactorings, schema max identifier length is now used for asset generation. Added platform-wide test for unique index generation with create table.
-
- 06 Dec, 2009 2 commits
- 04 Dec, 2009 3 commits
-
-
beberlei authored
[2.0] DDC-169 - Stripped case handling since its just a load of complex crap and doesn't solve any problem! Idea: just implement case-insensitivity in the comparator.
-
beberlei authored
[2.0] DDC-169 - Added possibility to control which case mode schema assets are created with in SchemaManager
-
beberlei authored
[2.0] DDC-186 - Fixed DatabaseDriver to work with new Schema abstraction, added functional test-cases for database to yaml convertion.
-
- 03 Dec, 2009 1 commit
-
-
beberlei authored
[2.0] DDC-169 - Introduced handling of schema / database case-sensitivity differences and to allow compability between different platforms.
-
- 02 Dec, 2009 3 commits
-
-
beberlei authored
[2.0] DDC-169 - Changed AbstractPlatform and AbstractSchemaManager Constraint API to accept Constraint interface, which is implemented by indexes and foreign keys.
-
beberlei authored
[2.0] DDC-169 - Changed AbstractPlatform and AbstractSchemaManager and children to accept Sequences in their create and get sql methods.
-
beberlei authored
[2.0] DDC-169 - Changed AbstractPlatform and AbstractSchemaManager and children to accept Table, Index and ForeignKey instances for the respective create*() methods.
-
- 30 Nov, 2009 2 commits
-
-
beberlei authored
[2.0] DC-169 - New method AbstractSchemaManager::createSchema() which creates a schema instance with full tables and sequences, additionally listTables() was rewritten to return a full Table instance instead of just the table names.
-
beberlei authored
[2.0] DDC-169 - Converted introspection queries of all platforms to return Column, Sequence, Index, ForeignKey Schema Instances instead of arrays, heavily pimped Oracle support thereby.
-
- 26 Nov, 2009 1 commit
-
-
beberlei authored
[2.0] - DDC-169 - Began refactoring of DBAL code, introduced object notation for a database schema, including Tables, Indexes, Constraints, Sequences and Columns. Added a CreateSql Visitor which transforms a schema object graph into the required SQL statements to create it. Next: Replacing SchemaTool::getCreateSql() with new syntax...
-
- 03 Nov, 2009 2 commits
-
-
beberlei authored
[2.0] Fixed DDC-63 and DDC-106. Oracle tests for SchemaManager need further tweeking, marked as skipped for now.
-
beberlei authored
[2.0] DDC-91 - Enhanced SchemaManager::listTableIndexes() considerably. Add primary keys to the index list, add a bool flag primary to each index, add an array of columns to each index. Moved a test to SchemaFunctionalTestCase to check that every database (Mysql, Pgsql, Sqlite, Oracle) returns exactly the same data from this function.
-
- 02 Nov, 2009 1 commit
-
-
beberlei authored
-
- 06 Oct, 2009 1 commit
-
-
jwage authored
[2.0] Added functionality to convert a Doctrine 1 schema to Doctrine 2 to help users with upgrading. Lots of other small bug fixes and changes.
-
- 21 Aug, 2009 1 commit
-
-
romanb authored
-
- 10 Aug, 2009 1 commit
-
-
guilhermeblanco authored
[2.0] More docblocks. Renamed methods Type::addCustomType to Type::addType and Connection::exec to Connection::executeUpdate. Added Type::hasType.
-
- 30 May, 2009 4 commits