1
0
Fork 0
mirror of synced 2025-04-01 20:36:14 +03:00
doctrine2/tests/Doctrine/Tests/ORM/Tools
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
..
Console Use SymfonyStyle for command output 2017-11-24 01:25:17 +01:00
doctrine1schema Removed onUpdate property on join columns 2011-06-28 15:50:14 -04:00
Export Entity listeners are now processed by exporters 2017-08-15 10:08:50 +02:00
Pagination Reduce complexity of LimitSubqueryWalker#walkSelectStatement() 2017-12-16 23:31:50 +01:00
AttachEntityListenersListenerTest.php Remove old "CLASSNAME" constants from test models 2016-12-08 18:15:48 +01:00
ConvertDoctrine1SchemaTest.php Use short-array syntax on "tests" directory 2016-12-07 23:33:41 +01:00
EntityGeneratorTest.php Add Type::GUID to $typeAlias list in EntityGenerator 2017-11-28 00:11:32 +01:00
EntityRepositoryGeneratorTest.php Use "::class" syntax on "tests" directory 2016-12-08 18:13:39 +01:00
ResolveTargetEntityListenerTest.php Use "::class" syntax on "tests" directory 2016-12-08 18:13:39 +01:00
SchemaToolTest.php Allow association mappings as IDs for joined-table inherited entity 2017-12-19 17:58:31 +01:00
SchemaValidatorTest.php Add the correct assertions for tests that don't have any 2017-06-12 23:05:55 +02:00
SetupTest.php Fix overwriting explicit cache namespace 2017-11-26 12:48:12 +01:00