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

92 Commits

Author SHA1 Message Date
beberlei
07e73880f5 [2.0] DDC-92 - Completly removed DoctrineException in DBAL package 2010-02-19 22:33:54 +00:00
beberlei
446a2ea7bb [2.0] DDC-327 - Always Deep Clone all Schema Assets 2010-02-13 22:58:36 +00:00
beberlei
b9daf621cf [2.0] DDC-313 - Removed lots of dead and unnecessary code 2010-02-11 14:29:12 +00:00
beberlei
5b43f72e27 [2.0] DDC-313 - Removed abstracted trigger support, list functions, list users and the platform specific code to generate the queries for this stuff. 2010-02-11 13:06:14 +00:00
beberlei
962ecab75e [2.0] DDC-312 - Prepared View and Trigger support in DBAL\Schema 2010-02-10 23:53:07 +00:00
beberlei
22edbcec33 [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. 2010-02-10 23:41:35 +00:00
beberlei
3de3bbb969 [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(). 2010-02-10 22:45:39 +00:00
beberlei
0b058c0609 [2.0] DDC-302 - Fix failures occuring from Sqlite Tests in this regard - No test coverage for this features now. 2010-02-06 23:31:47 +00:00
beberlei
e500669165 [2.0] DDC-301 - Table Primary Key Columns should explicitly set to notnull => true. 2010-02-04 18:23:38 +00:00
beberlei
2fa58ee7b8 [2.0] DDC-296 - Fix in quoting 2010-02-01 19:20:37 +00:00
beberlei
310d98cffe [2.0] DDC-296 - Implement and document Mysql Session Init 'postConnect' Subscriber 2010-02-01 18:56:06 +00:00
beberlei
cb7fbee1b0 [2.0] DDC-295 - Add OracleSessionInit postConnect Subscriber 2010-01-31 22:01:58 +00:00
beberlei
e7f5089ea4 [2.0] DDC-294 - Added "postConnect" event in Doctrine\DBAL\Connection and refactored TestUtil to allow configuration of DBAL EventManager Subscribers by the use of PHPunit Xml configuration. 2010-01-31 21:51:15 +00:00
beberlei
2036c95834 [2.0] DDC-92 - Refactored Doctrine\DBAL\DriverManager some more in regards to exceptions and added some more test-cases. 2010-01-23 23:12:27 +00:00
beberlei
bbce4a407a [2.0] DDC-92 - Removed DoctrineException from Doctrine\DBAL\DriverManager and replaced with more specific DBALException's 2010-01-23 22:59:48 +00:00
beberlei
9cd0379f53 [2.0] DDC-200 Implemented support for @columnDefinition - even with support to pass the definition to join columns if necessary for relations. 2010-01-20 22:35:18 +00:00
beberlei
8ebd444966 DDC-179 - One more test for possible summer-time crazyness 2010-01-13 18:17:36 +00:00
beberlei
83b247b812 DDC-179 - Use ! modifier in Date Format to reset all non-date parts to zero unix timestamp values, i.e. H:i:s => '00:00:00' always 2010-01-13 18:11:34 +00:00
romanb
30ed439111 [2.0][DDC-144][DDC-113] Fixed. 2009-12-18 12:30:19 +00:00
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
03bc9350dc [2.0] DDC-156 - Allow to pass custom platforms 2009-12-08 19:41:47 +00:00
beberlei
4e50441306 [2.0] DDC-191 - Added Test-Case to verify the problem works. 2009-12-07 19:19:54 +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
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
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
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
4736f5ee50 [2.0] DDC-169 - Refactored Parts of the Platform Tests into an Abstract Test Case 2009-12-05 23:06:29 +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
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
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
94cf75b9ac [2.0] DDC-191 - Added test that verifies mixed case identifier generation is default, when no case mode is set due to previous commit for DDC-169 ticket. 2009-12-03 22:15:07 +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
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
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
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
44cc6465be [2.0] DDC-169 - Savepoint for Refactorings in Schema-Tool - It is now generating DDL according to the old and the new mechanisms in parallel. Equality of generation has been verified on Sqlite, Mysql, Oracle. If Postgres is also verified, the old code will be removed in favour of the new one completly. 2009-11-28 01:22:21 +00:00
beberlei
bdae89cb57 [2.0] - DDC-169 - Added DropSchemaSql Visitor - Refactored Visitor package a bit, however its still not very appealing to have that much use statements cluttered in the code 2009-11-27 22:01:47 +00:00
beberlei
0902527476 [2.0] - DDC-169 - Added DropSchemaSql Visitor - Refactored Visitor package a bit, however its still not very appealing to have that much use statements cluttered in the code 2009-11-27 22:00:43 +00:00