Luís Cobucci
0be52b0087
Isolate entities used by the new test
...
To ensure we don't have any unintended side-effect.
2018-11-21 00:20:20 +01:00
Tobias Schultze
ee8dc496d9
Fix applying collation on foreign key columns
2018-11-21 00:20:15 +01:00
Tyler Romeo
bb8970286d
Allow association mappings as IDs for joined-table inherited entity
...
SchemaTool has custom logic for creating the primary key of a
joined-table inherited entity. This logic overlooked association maps
as a possible source for identity columns, resulting in a fatal error
when fetching the primary key list for child entities.
Removed any custom logic for generating primary keys for root entities
in joined-table inheritance, deferring to the common logic used for
other entities.
Also adjusted the child entity logic, scanning association maps for
identity columns, and including the column as appropriate. It also
ensures that the primary key columns are in the correct order.
2017-12-19 17:58:31 +01:00
Marco Pivetta
6e9c1d8a4b
#5798 adding void
test method return declaration, using ::class
reference over string reference
2017-06-21 06:34:45 +02:00
Sergey Fedotov
d13327eca2
Fix undefined index for discriminator column in SchemaTool
2017-06-21 06:27:15 +02:00
Luís Cobucci
fda6fdd9fb
Use "::class" syntax on "tests" directory
2016-12-08 18:13:39 +01:00
Luís Cobucci
74c8a08828
Use short-array syntax on "tests" directory
2016-12-07 23:33:41 +01:00
Mikhail Shamin
bf322b903d
Optimize imports. Remove full qualified class names
2016-05-11 01:55:12 +07:00
vershnik
96398ba30f
remove indexes overruled by primary key
...
There can be unique indexes automatically created for join column.
If join column is also primary key we should keep only primary key on this column.
Oracle does not allow having both unique index and primary key on the same column, it is useless for mysql too.
(Previously it was done by DBAL, but now it allows duplicate indexes)
2015-11-16 02:49:41 +00:00
Michał Bundyra
699a6e1783
prevent duplicate unique index
2015-04-08 10:49:21 +01:00
Marco Pivetta
78ba7f1073
#1202 - simplified test and test asset
2014-12-08 01:34:30 +01:00
Gareth Evans
c1000d23db
Added test that passes following previous commit
2014-12-08 01:31:14 +01:00
Giorgio Premi
6cb3fa8fb7
Removed all useless occurrence of require_once TestInit.php
2014-04-07 14:43:25 +02:00
Pascal Borreli
a2cd0f5804
Fixed typos
2013-03-11 00:08:58 +00:00
Francis Besset
56b230a1f0
Fixed typo
2012-12-01 19:41:51 +01:00
Benjamin Eberlei
624ef309f0
Remove unnecssary code
2012-11-12 15:01:20 +01:00
Benjamin Eberlei
5e2a433828
Inlined Test and Entities into DDC2138Test
2012-11-12 14:59:48 +01:00
Stefano Rodriguez
b1c69ebab9
adedd failing test for PR #440
2012-11-12 14:19:31 +01:00
Jan Sorgalla
d68fcd8bd2
Implement custom options on table level
2012-01-26 15:05:26 +01:00
jsor
615e22073f
Pass options attribute in @Column annotation to Schema\Column's customSchemaOptions
2012-01-11 15:58:57 +01:00
Benjamin Eberlei
78aa893efd
Adjust tests to changes in DBAL dependency with regard to automatic foreign key and index naming.
2011-03-05 10:08:30 +01:00
beberlei
b25d5d277d
[2.0] DDC-283 - Add two events in SchemaTool that allow to hook into the generated Schema representation, possibly modifying or reacting to it in userland or extensions code.
2010-03-18 22:36:27 +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
a26464da4c
[2.0] DDC-169 - Fix Bug in SchemaTool Unique Handling
2009-12-08 21:52:26 +00:00
romanb
b1d34fca1c
[2.0] Work on SchemaTool and DBAL.
2009-08-21 18:13:22 +00:00
romanb
62204af804
[2.0] Ongoing work on Query/DQL implementation and tests.
2009-04-03 11:06:58 +00:00