1
0
mirror of synced 2024-12-13 14:56:01 +03:00
Commit Graph

2450 Commits

Author SHA1 Message Date
beberlei
fade63a29c [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. 2009-12-10 23:55:47 +00:00
beberlei
1546663743 [2.0] DDC-169 - Some refactorings 2009-12-10 22:39:28 +00:00
romanb
59a17eb51c [2.0][DDC-171] Fixed (second attempt). Some other cleanups. Performance fix for mock Statement used in hydration performance tests for more accurate and better results. 2009-12-10 21:27:20 +00:00
romanb
3a39bea9f0 [2.0][DDC-171] Fixed. 2009-12-09 16:06:39 +00:00
romanb
909e98c6f2 [2.0][DDC-202][DDC-132][DDC-185] Fixed. 2009-12-09 12:37:57 +00:00
beberlei
a26464da4c [2.0] DDC-169 - Fix Bug in SchemaTool Unique Handling 2009-12-08 21:52:26 +00:00
beberlei
3e823f065a [2.0] DDC-176 - Disallow iterate() over fetch-join collections by the means of an exception on parsing the DQL query. 2009-12-08 20:53:01 +00:00
beberlei
03bc9350dc [2.0] DDC-156 - Allow to pass custom platforms 2009-12-08 19:41:47 +00:00
beberlei
845c85552e [2.0] DDC-194 - Fixed infinite recursion issue with references and @PostLoad annotation by telling proxy to be loaded before calling EntityPersister->load... 2009-12-07 22:10:40 +00:00
romanb
304e2286e2 [2.0][DDC-199] Fixed. 2009-12-07 20:35:44 +00:00
romanb
ddb5a66fd8 [2.0][DDC-191][DDC-192] Attempt to fix both. 2009-12-07 16:21:29 +00:00
romanb
5730a32d91 [2.0] Fixed more STRICT standards notices (only variables should be passed by reference...). @beberlei, error_reporting=E_ALL | E_STRICT 2009-12-07 13:04:54 +00:00
romanb
1013eb66c1 [2.0] Fixed PHP Notice in SchemaTest (only variables should be passed by reference...) and a few other cosmetics in various parts. 2009-12-07 12:47:23 +00:00
beberlei
934feace57 [2.0] DDC-197 - Fix for OCI8 returning CLOBs as OCI-LOB instances, was it that easy? The test suggets that inserting clobs is not even requiring the temporary syntax anymore.. Great! 2009-12-06 23:46:02 +00:00
beberlei
146e2319f1 [2.0] DDC-169 - Some final cleanups for the DBAL refactoring, changed SchemaTool CLI API slightly. 2009-12-06 23:11:35 +00:00
beberlei
ba99f53fd5 [2.0] DDC-169 - Fix implicit/explicit index creation differences between platforms 2009-12-06 18:55:08 +00:00
beberlei
bf0ef0d0a7 [2.0] DDC-169 - Fix several complications in update and drop schema code. 2009-12-06 18:36:46 +00:00
beberlei
9fdce97b97 [2.0] DDC-169 - Fix bug in Comparator 2009-12-06 13:06:09 +00:00
beberlei
34119d3925 [2.0] DDC-169 - Fix order that column and index/fk changes are applied in alter table. 2009-12-06 13:00:49 +00:00
beberlei
58e99d39d2 [2.0] DDC-169 - Replaced SchemaTool::getUpdateSql() with the Schema Comparator Code. 2009-12-06 12:23:13 +00:00
beberlei
8a46eb0439 [2.0] DDC-169 - Finished ALTER Table TableDiff refactoring, adding code to handle index and FK changes. Added a general functional test for alter table against all platforms. 2009-12-06 12:13:15 +00:00
beberlei
dd6abf751f [2.0] DDC-169 - AbstractPlatform::getAlterTableSql() now accepts only a TableDiff instance as argument across all platforms. 2009-12-06 09:47:54 +00:00
beberlei
8bfde41374 [2.0] DDC-169 - Add ColumnDiff and further Comparator column stuff 2009-12-05 15:48:54 +00:00
beberlei
6339372718 [2.0] DDC-169 - Add functionality to detect that an add + drop column diff is actually just a rename column. 2009-12-05 11:01:11 +00:00
beberlei
35e0121b49 [2.0] DDC-169 - Implemented Index and ForeignKey comparison based on properties and not on names. 2009-12-05 10:33:46 +00:00
beberlei
a0d26a8409 [2.0] DDC-169 - Fixed DatabaseDriver 2009-12-05 09:39:11 +00:00
beberlei
ecfa0eee83 [2.0] DDC-169 - Added tests for case-handling which is necessary for Comparator 2009-12-04 23:03:08 +00:00
beberlei
0788cdf15e [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. 2009-12-04 22:41:09 +00:00
beberlei
70075d8f80 [2.0] DDC-169 - Added possibility to control which case mode schema assets are created with in SchemaManager 2009-12-04 21:58:16 +00:00
beberlei
556f8699ee [2.0] DDC-186 - Fixed DatabaseDriver to work with new Schema abstraction, added functional test-cases for database to yaml convertion. 2009-12-04 21:40:03 +00:00
beberlei
466e96b491 [2.0] DDC-186 - Fixed SchemaTool indexes behaviour, changed a functional/integration model to use one index for test-coverage. 2009-12-04 07:19:51 +00:00
beberlei
b0bbe281f3 [2.0] DDC-169 - Introduced handling of schema / database case-sensitivity differences and to allow compability between different platforms. 2009-12-03 22:10:13 +00:00
romanb
15f84f6eb0 [2.0][DDC-187] Fixed. Also fixed some DBAL failures on postgres. 2009-12-03 13:17:56 +00:00
guilhermeblanco
73017b536f [2.0][DDC-180] Fixed SmallInt type which was missing to extends Type 2009-12-03 02:36:59 +00:00
beberlei
745b52b163 [2.0] DDC-169 - Fixed introduced bug in Oracle Platform 2009-12-02 22:33:01 +00:00
beberlei
197224de2e [2.0] DDC-169 - Changed AbstractPlatform and AbstractSchemaManager Constraint API to accept Constraint interface, which is implemented by indexes and foreign keys. 2009-12-02 22:28:38 +00:00
romanb
22375235db [2.0][DDC-162][DDC-94] Fixed. 2009-12-02 20:49:10 +00:00
romanb
69a0b597c8 [2.0][DDC-174] Fixed. 2009-12-02 20:32:41 +00:00
beberlei
25c9588592 [2.0] DDC-169 - Changed AbstractPlatform and AbstractSchemaManager and children to accept Sequences in their create and get sql methods. 2009-12-02 19:07:38 +00:00
beberlei
8562c80890 [2.0] DDC-169 - Changed AbstractPlatform and AbstractSchemaManager and children to accept Table, Index and ForeignKey instances for the respective create*() methods. 2009-12-02 18:52:21 +00:00
beberlei
e3314dae16 [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. 2009-11-30 23:12:26 +00:00
beberlei
b7652f1f4e [2.0] Temporary fix for 186 2009-11-30 22:33:08 +00:00
beberlei
31be2519f6 [2.0] DDC-169 - Fix build, Postgres, Oracle and Sqlite made some minor troubles with regards to sequences. 2009-11-30 21:16:29 +00:00
beberlei
af48974a75 [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. 2009-11-30 19:02:05 +00:00
beberlei
709dfb52c4 [2.0] DDC-169 - Finalized implementation of Schema diff algorithm, added diffs of sequences and foreign keys. Fixed several bugs and changed the API of the Schema objects. 2009-11-29 15:51:14 +00:00
beberlei
f22a56cdd7 [2.0] - DDC-169 - Fixed another regression in refactored SchemaTool, began porting of eZ Components Database Schema Comparator, SchemaDiff and TableDiff. 2009-11-28 14:30:08 +00:00
beberlei
e4a38a74c5 [2.0] - DDC-169 - Extracted Method for the generation of a Schema Instance from Doctrine Metadata. 2009-11-28 11:30:25 +00:00
beberlei
b21553c5a8 [2.0] - DDC-169 - Refactored lots of sections with duplicate code in gather relations part of SchemaTool::getCreateSql() 2009-11-28 11:17:31 +00:00
beberlei
2c27435bb2 [2.0] - DDC-169 - Completed refactoring of SchemaTool::getCreateSql() to use new DBAL Schema API, several internal optimizations in SchemaTool are now possible. Stripped out shared functionality with getUpdateSql() so that this part of SchemaTool is still completly working with the old API. 2009-11-28 10:48:51 +00:00
beberlei
ba01175700 [2.0] - DDC-169 - Fix for breaking the building of Single-Table Inheritence in SchemaTool 2009-11-28 08:59:29 +00:00